diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-20 11:40:50 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-21 11:20:54 +0100 |
commit | 53640e1d07fb7dd5d14300dd94f4718eca33348e (patch) | |
tree | 1456d21919ada2f82ab0aa6dea9b72d86e9df100 /drivers/gpu/drm/i915/i915_drv.h | |
parent | ab6f8e325083f138ce5da8417baf48887d62da3c (diff) | |
download | lwn-53640e1d07fb7dd5d14300dd94f4718eca33348e.tar.gz lwn-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.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 { struct drm_i915_fence_reg { struct drm_gem_object *obj; struct list_head lru_list; + bool gpu; }; struct sdvo_device_mapping { |