]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Permit pinning whilst the device is 'suspended'
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 Jan 2010 18:57:57 +0000 (18:57 +0000)
committerEric Anholt <eric@anholt.net>
Wed, 6 Jan 2010 17:40:11 +0000 (09:40 -0800)
commitae3cc9a65184aeefe3ecb4543537e6e506e7c467
treead420c55427985894e5d86cd90c3c25ae287626b
parent611919ebcffb9bc3dfcf2d9630b766de9fcec05a
drm/i915: Permit pinning whilst the device is 'suspended'

As pinning (allocating and binding GTT memory) does not actually invoke
GPU commands, it is safe, and indeed is attempted, during resumption
from suspension:

  [drm:intel_init_clock_gating] *ERROR* failed to pin power context: -16

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reported-by: Hugh Dickins <hugh.dickins@tiscali.co.uk>
Cc: stable@kernel.org
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c