drm/i915: Hold pc8 lock around toggling pc8.gpu_idle
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Nov 2013 02:32:36 +0000 (18:32 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 19 Nov 2013 12:03:38 +0000 (13:03 +0100)
commitbe1c1fe21b3a9d48580bdf976c8dac844f456290
tree6d6a6e125795ca13168e710aef63dabc26a8fffd
parent1d37b689b1c07c01101534e55ffcd43f69069355
drm/i915: Hold pc8 lock around toggling pc8.gpu_idle

We need to hold the pc8 lock around toggling the value of gpu_idle.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@gmail.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c