diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-19 14:36:46 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-09-21 11:19:57 +0100 |
commit | a3f07cd53e31c1c27364e56266a541b9467c1895 (patch) | |
tree | 447c82eabd985fbb694ce2eac3cdd0129399d588 /drivers/gpu/drm/i915/intel_ringbuffer.h | |
parent | d46eefa29724b1be0e8e90a3a51a190b912ebfab (diff) | |
download | lwn-a3f07cd53e31c1c27364e56266a541b9467c1895.tar.gz lwn-a3f07cd53e31c1c27364e56266a541b9467c1895.zip |
drm/i915/ringbuffer: Implement advance using set_tail
As noted by Zhenyu, we can now simply replace the existing advance hook
by calling the new set_tail function pointer directly.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_ringbuffer.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ringbuffer.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h index 7bd571c796ae..be1fd9b37088 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.h +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h @@ -52,8 +52,6 @@ struct intel_ring_buffer { u32 value); unsigned int (*get_active_head)(struct drm_device *dev, struct intel_ring_buffer *ring); - void (*advance_ring)(struct drm_device *dev, - struct intel_ring_buffer *ring); void (*flush)(struct drm_device *dev, struct intel_ring_buffer *ring, u32 invalidate_domains, |