]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Stop using encoder->type in intel_ddi_enable_transcoder_func()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Oct 2017 13:37:15 +0000 (16:37 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 27 Oct 2017 15:46:09 +0000 (18:46 +0300)
commite53c862bd0c4286d34b6c7ff4d0ab5f80e4fd1f9
treef10bc62a8d39b7e9656ca863b02ccd97e556a3e4
parentc8050693d6c5d17461809cace85e487c0c4bdc52
drm/i915: Stop using encoder->type in intel_ddi_enable_transcoder_func()

intel_ddi_enable_transcoder_func() already has the crtc state so we can
use that instead of the untrustworthy encoder->type.

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