Skip to content

Commit

Permalink
drm/i915: Call gen5_gt_irq_reset() from valleyview_irq_uninstall()
Browse files Browse the repository at this point in the history
Looks like we forgot to call gen5_gt_irq_reset() for vlv in the
uninstall phase. Do so.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Ville Syrjälä authored and Daniel Vetter committed Nov 7, 2014
1 parent 23a09c7 commit 893fce8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/gpu/drm/i915/i915_irq.c
Original file line number Diff line number Diff line change
@@ -3588,6 +3588,8 @@ static void valleyview_irq_uninstall(struct drm_device *dev)

I915_WRITE(VLV_MASTER_IER, 0);

gen5_gt_irq_reset(dev);

for_each_pipe(dev_priv, pipe)
I915_WRITE(PIPESTAT(pipe), 0xffff);

0 comments on commit 893fce8

Please sign in to comment.