summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorChris Wilson2010-09-20 12:40:50 +0200
committerChris Wilson2010-09-21 12:20:54 +0200
commit53640e1d07fb7dd5d14300dd94f4718eca33348e (patch)
tree1456d21919ada2f82ab0aa6dea9b72d86e9df100 /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915/ringbuffer: whitespace cleanup (diff)
downloadkernel-qcow2-linux-53640e1d07fb7dd5d14300dd94f4718eca33348e.tar.gz
kernel-qcow2-linux-53640e1d07fb7dd5d14300dd94f4718eca33348e.tar.xz
kernel-qcow2-linux-53640e1d07fb7dd5d14300dd94f4718eca33348e.zip
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index 790ffec135df..6e22be4f3585 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -128,6 +128,7 @@ struct drm_i915_master_private {
struct drm_i915_fence_reg {
struct drm_gem_object *obj;
struct list_head lru_list;
+ bool gpu;
};
struct sdvo_device_mapping {