]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: vlv: clear master interrupt flag when disabling interrupts
authorImre Deak <imre.deak@intel.com>
Mon, 14 Apr 2014 17:24:23 +0000 (20:24 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 25 Apr 2014 07:50:05 +0000 (09:50 +0200)
commitdc1f3226796af5eee7264fe12ce7060b2fbdd34b
treee35ae1541bf038b67a62724ddf3341141edfb4a3
parent9e901ecc648f16a8de52bca93b40c26ed991c610
drm/i915: vlv: clear master interrupt flag when disabling interrupts

Not clearing this flag causes spurious interrupts at least in D3 state,
so before enabling RPM we need to fix this. We were already setting this
flag when enabling interrupts, only clearing it was missing.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_irq.c