]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/skl: Update watermarks before the crtc is disabled.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 19 Nov 2015 15:07:16 +0000 (16:07 +0100)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Mon, 7 Dec 2015 09:58:33 +0000 (10:58 +0100)
commit63c9ec3f13a4782a3fe0d14fc2bea66123b53b4f
tree16a3854a5810cb9b5c378cedbf776f809969d92a
parent2e4aaafbc3041a6076e62867fe96abd5f94fe09e
drm/i915/skl: Update watermarks before the crtc is disabled.

On skylake some of the registers are only writable when the correct
power wells are enabled. Because of this watermarks have to be updated
before the crtc turns off, or you get unclaimed register read and write
warnings.

This patch needs to be modified slightly to apply to -fixes.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92181
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: stable@vger.kernel.org
Cc: Matt Roper <matthew.d.roper@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1447945645-32005-4-git-send-email-maarten.lankhorst@linux.intel.com
Reviewed-by: Ander Conselvan de Oliveira <conselvan2@gmail.com>
drivers/gpu/drm/i915/intel_display.c