drm/i915: Move intel_ddi_get_crtc_new_encoder() out from ddi code
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 18 May 2018 15:29:25 +0000 (18:29 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 23 May 2018 14:23:07 +0000 (17:23 +0300)
commitf606bc6d9d416504596844d513474791cdbb3993
tree3fd5d32a4f15068c1b9d6a3e6f047933108338f9
parenta33b1dc8a732144e11cb4bf067d24ba51e6b8ab0
drm/i915: Move intel_ddi_get_crtc_new_encoder() out from ddi code

The ddi code no longer uses intel_ddi_get_crtc_new_encoder(). Move it
elsewhere where we have some users left.

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180518152931.13104-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h