drm/i915: fix locking around punit access in cur_delayinfo for VLV
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 22 Apr 2013 22:59:30 +0000 (15:59 -0700)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 23 Apr 2013 09:13:27 +0000 (11:13 +0200)
commit259bd5d4e909a6c07e0da8d6f623d2ab89b7a042
tree8c6a5c1f7ea1de0ad54309637de24a5b7cb434b2
parent9119708cd484923bbc45fa60740bff58b358b848
drm/i915: fix locking around punit access in cur_delayinfo for VLV

We need to hold the rps lock around punit access.

Reported-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_debugfs.c