drm/i915: vlv: sanitize RPS interrupt mask during GPU idling
authorImre Deak <imre.deak@intel.com>
Fri, 19 Dec 2014 17:33:27 +0000 (19:33 +0200)
committerJani Nikula <jani.nikula@intel.com>
Mon, 12 Jan 2015 08:52:41 +0000 (10:52 +0200)
commitf24eeb191229b040deb3e813913e06a4316c6d3f
treec7cc537fec0b8eb1f9bec3a33d3998021b4af86e
parent59d02a1f45beb1b6f4ef83a47feb264cb3577725
drm/i915: vlv: sanitize RPS interrupt mask during GPU idling

We apply the RPS interrupt workaround on VLV everywhere except when
writing the mask directly during idling the GPU. For consistency do this
also there.

While at it also extend the code comment about affected platforms.
I couldn't reproduce the issue on VLV fixed by this workaround, by
removing the workaround from everywhere, while it's 100% reproducible on
SNB using igt/gem_reset_stats/ban-ctx-render. So also add a note that
it hasn't been verified if the workaround really applies to VLV/CHV.

Suggested-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/intel_pm.c