]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/gpu/drm/i915/i915_gem.c
drm/i915: Track gpu fence usage
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Sep 2010 10:40:50 +0000 (11:40 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 21 Sep 2010 10:20:54 +0000 (11:20 +0100)
commit53640e1d07fb7dd5d14300dd94f4718eca33348e
tree1456d21919ada2f82ab0aa6dea9b72d86e9df100
parentab6f8e325083f138ce5da8417baf48887d62da3c
drm/i915: Track gpu fence usage

Track if the gpu requires the fence for the execution of a batch buffer
and so only wait upon the retirement of the object's last rendering
seqno if the fence is in use by the GPU.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c