drm/i915: Keep track of the cdclk as if all crtc's were active.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 3 Dec 2015 13:31:06 +0000 (14:31 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 22 Dec 2015 12:44:44 +0000 (13:44 +0100)
commit1a617b77658e0ab1cb58a9412c5a02f862bd4fcd
treeb53883f2cfd47faa07d30d812edaf16625316ca1
parent565602d7501a3e83580289d7d6da9b15838cfbe3
drm/i915: Keep track of the cdclk as if all crtc's were active.

On skylake when calculating plane visibility with the crtc in
dpms off mode the real cdclk may be different from what it would be
if the crtc was active. This may result in a WARN_ON(cdclk < crtc_clock)
from skl_max_scale. The fix is to keep a atomic_cdclk that would be true
if all crtc's were active.

This is required to get the same calculations done correctly regardless
of dpms mode.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1447945645-32005-12-git-send-email-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
This page took 0.025601 seconds and 5 git commands to generate.