drm: Add drm_connector_has_possible_encoder()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 28 Jun 2018 13:13:13 +0000 (16:13 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 5 Jul 2018 13:52:08 +0000 (16:52 +0300)
commit38cb8d96933eb07231073efdcd24a6ffa43b23e6
tree218c5e1755d7b4ddf054a2a419cccb4567266371
parent7b71ca249b265fe69ab3152a15bc6c305554a7da
drm: Add drm_connector_has_possible_encoder()

Add a small helper for checking whether a connector and
encoder are associated with each other.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180628131315.14156-8-ville.syrjala@linux.intel.com
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/drm_connector.c
include/drm/drm_connector.h