OSDN Git Service

drm/i915: Pass crtc state to intel_prepare_dp_ddi_buffers()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Oct 2017 13:37:13 +0000 (16:37 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Oct 2017 15:44:29 +0000 (18:44 +0300)
commit3a6d84e677d4e5a6366437b7007e6a2f97aba9d1
treec235a4676533a594045cbba6ce5a7fe588facdcc
parent5448f53ffe62c75e2cf84d407510efadaa1aff8e
drm/i915: Pass crtc state to intel_prepare_dp_ddi_buffers()

Eliminate intel_prepare_dp_ddi_buffers()'s reliance on the encoder->type
by passing in the crtc state.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171019133721.11794-3-ville.syrjala@linux.intel.com
Reviewed-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_ddi.c