]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 18 Jan 2010 18:19:23 +0000 (10:19 -0800)
commitc6939598243bc2dbaece589a8dadb547d9083098
treeaf962ec113d267ed6876abdb07257a98d01d367d
parentd241962850065fe0aabfbe947028a5e5f14ffb45
drm/i915: Permit pinning whilst the device is 'suspended'

commit e3d8affb0d2d95f2da61e30ce86b33177feb91e8 upstream.

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>
Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/gpu/drm/i915/i915_gem.c