]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: Check fence status on every pin.
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 11 Feb 2009 14:26:45 +0000 (14:26 +0000)
committerEric Anholt <eric@anholt.net>
Wed, 11 Mar 2009 03:25:32 +0000 (20:25 -0700)
commit22c344e9a03beeb7071a588a973012749f84a830
treed9ed9c8cfe3061b65fd12e8115654d43c5f814db
parent9b2412f9ad0a3913baa40c270d6e1fa3c6d50067
drm/i915: Check fence status on every pin.

As we may steal the fence register of an unpinned buffer for another,
every time we repin the buffer we need to recheck whether it needs to be
allocated a fence.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/i915_gem.c