diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-20 06:40:50 -0400 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-21 06:20:54 -0400 |
commit | 53640e1d07fb7dd5d14300dd94f4718eca33348e (patch) | |
tree | 1456d21919ada2f82ab0aa6dea9b72d86e9df100 /drivers/gpu/drm/i915/i915_drv.h | |
parent | ab6f8e325083f138ce5da8417baf48887d62da3c (diff) |
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.h | 1 |
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 { | |||
128 | struct drm_i915_fence_reg { | 128 | struct drm_i915_fence_reg { |
129 | struct drm_gem_object *obj; | 129 | struct drm_gem_object *obj; |
130 | struct list_head lru_list; | 130 | struct list_head lru_list; |
131 | bool gpu; | ||
131 | }; | 132 | }; |
132 | 133 | ||
133 | struct sdvo_device_mapping { | 134 | struct sdvo_device_mapping { |