]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Cleanup crt disable sequence on hsw+
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 23 Aug 2016 14:18:08 +0000 (16:18 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 24 Aug 2016 07:49:10 +0000 (09:49 +0200)
commitb70765463665e26cfc44359547923fdfd1d75b62
tree3c7805ec9f4ed16969160635d36e4e54ffd5c216
parent496b0fc370caaf4072c19ac9120bf5c58f057d59
drm/i915: Cleanup crt disable sequence on hsw+

Instead of iterating overthe connectors manually, run the last part of
DDI disabling inside the crt post disable function.

This was meant to be addressed before submitting the other commit,
but I missed the review comments.

Fixes: fd6bbda9c7a4 ("drm/i915: Pass crtc_state and connector_state to encoder functions")
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1471961888-10771-2-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
[mlankhorst: Fix extra whitespace between functions.]
drivers/gpu/drm/i915/intel_crt.c
drivers/gpu/drm/i915/intel_ddi.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h