[PATCH v14 04/28] drm/connector: Let connectors have a say in their color format
Dmitry Baryshkov
dmitry.baryshkov at oss.qualcomm.com
Sat Apr 25 04:09:27 PDT 2026
On Thu, Apr 23, 2026 at 09:03:27PM +0200, Nicolas Frattaroli wrote:
> Add a function to get the connector color format from a connector state,
> and a new function pointer in drm_connector_funcs to allow connectors to
> override what connector color format it returns.
>
> This is useful for the bridge chain recursive bus format selection code,
> which does not wish to implement connector implementation specific
> checks like whether it involves HDMI.
>
> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli at collabora.com>
> ---
> drivers/gpu/drm/drm_connector.c | 16 ++++++++++++++++
> include/drm/drm_connector.h | 12 ++++++++++++
> 2 files changed, 28 insertions(+)
>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov at oss.qualcomm.com>
--
With best wishes
Dmitry
More information about the Linux-rockchip
mailing list