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>
Mon, 5 May 2014 07:08:51 +0000 (09:08 +0200)
commit843d0e7d3262ac8f68c3ee22ec41535ab1de833a
treec6241cb880d6f05ee613bdfc0cade19242865e3f
parent981a5aead1fcfe3ef4de3ae86b1469b99032b287
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