drm/i915/skl: Prevent unclaimed register writes on skylake.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 22 Oct 2015 11:56:34 +0000 (13:56 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 2 Nov 2015 07:55:34 +0000 (09:55 +0200)
commitb10f1b20171945b49988b2b1fe68cb312cc36d32
tree298ae1d2405b76fb3bb01227102d9ede109d620a
parent6675bce251b6ec20ec09c07e941d9f664be4ae58
drm/i915/skl: Prevent unclaimed register writes on skylake.

I'm getting unclaimed register writes when checking the WM registers
after the crtc is disabled. So I would imagine those are guarded by
the crtc power well. Fix this by not reading out wm state when the
power well is off.

Cc: stable@vger.kernel.org # v4.3
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92181
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/intel_pm.c