[PATCH] drm: Make the connector .detect() callback optional
Jyri Sarha
jsarha at ti.com
Tue Nov 29 21:24:48 UTC 2016
On 11/29/16 22:56, Laurent Pinchart wrote:
> Many drivers (21 to be exact) create connectors that are always
> connected (for instance to an LVDS or DSI panel). Instead of forcing
> them to implement a dummy .detect() handler, make the callback optional
> and consider the connector as always connected in that case.
>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
> ---
> drivers/gpu/drm/amd/amdgpu/dce_virtual.c | 7 -------
> drivers/gpu/drm/arc/arcpgu_sim.c | 7 -------
> drivers/gpu/drm/ast/ast_mode.c | 7 -------
> drivers/gpu/drm/bochs/bochs_kms.c | 7 -------
> drivers/gpu/drm/bridge/nxp-ptn3460.c | 7 -------
> drivers/gpu/drm/bridge/parade-ps8622.c | 7 -------
> drivers/gpu/drm/bridge/tc358767.c | 7 -------
> drivers/gpu/drm/cirrus/cirrus_mode.c | 7 -------
> drivers/gpu/drm/drm_probe_helper.c | 14 +++++++++++---
> drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_rgb.c | 7 -------
> drivers/gpu/drm/gma500/cdv_intel_lvds.c | 14 --------------
> drivers/gpu/drm/gma500/psb_intel_lvds.c | 14 --------------
> drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 7 -------
> drivers/gpu/drm/i915/intel_dsi.c | 7 -------
> drivers/gpu/drm/imx/imx-ldb.c | 7 -------
> drivers/gpu/drm/imx/imx-tve.c | 7 -------
> drivers/gpu/drm/imx/parallel-display.c | 7 -------
> drivers/gpu/drm/mediatek/mtk_dsi.c | 7 -------
> drivers/gpu/drm/mgag200/mgag200_mode.c | 7 -------
> drivers/gpu/drm/rcar-du/rcar_du_lvdscon.c | 7 -------
> drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 7 -------
> drivers/gpu/drm/shmobile/shmob_drm_crtc.c | 7 -------
> drivers/gpu/drm/sti/sti_hda.c | 7 -------
> drivers/gpu/drm/sun4i/sun4i_rgb.c | 7 -------
> drivers/gpu/drm/sun4i/sun4i_tv.c | 7 -------
> drivers/gpu/drm/tilcdc/tilcdc_panel.c | 8 --------
> include/drm/drm_connector.h | 3 +++
> 27 files changed, 14 insertions(+), 193 deletions(-)
Acked-by: Jyri Sarha <jsarha at ti.com>
... for tilcdc part.
More information about the dri-devel
mailing list