linux/drivers/gpu/drm/udl
José Roberto de Souza a92462d6bf drm/connector: Share with non-atomic drivers the function to get the single encoder
This 3 non-atomic drivers all have the same function getting the
only encoder available in the connector, also atomic drivers have
this fallback. So moving it a common place and sharing between atomic
and non-atomic drivers.

While at it I also removed the mention of
drm_atomic_helper_best_encoder() that was renamed in
commit 297e30b5d9 ("drm/atomic-helper: Unexport
drm_atomic_helper_best_encoder").

v3: moving drm_connector_get_single_encoder to drm_kms_helper module

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: dri-devel@lists.freedesktop.org
Cc: intel-gfx@lists.freedesktop.org
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Signed-off-by: Manasi Navare <manasi.d.navare@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190913232857.389834-1-jose.souza@intel.com
2019-09-16 15:13:02 -07:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
udl_connector.c drm/connector: Share with non-atomic drivers the function to get the single encoder 2019-09-16 15:13:02 -07:00
udl_connector.h drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_dmabuf.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_drv.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_drv.h drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_encoder.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_fb.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_gem.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_main.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_modeset.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00
udl_transfer.c drm/udl: drop use of drmP.h 2019-07-17 12:52:55 +02:00