diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-22 17:02:41 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-22 17:57:43 +0100 |
commit | 297b0c5be3b6e08890cbd7149313408847e81715 (patch) | |
tree | 0a7dd5febbe0904eed9424bc861c807dba76be95 /drivers/gpu/drm/i915/intel_ringbuffer.h | |
parent | 85ccc35b7e4a5e7894570fe9b4e4b56d82fc3181 (diff) | |
download | lwn-297b0c5be3b6e08890cbd7149313408847e81715.tar.gz lwn-297b0c5be3b6e08890cbd7149313408847e81715.zip |
drm/i915/ringbuffer: Write the value passed in to the tail register
This should fix the error along the reset path were we tried to clear the
tail register by setting it to 0, but were in fact setting it to the
current value and complaining when it did not reset to 0.
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 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h index 9e81ff3b39cd..6ab40c6058f7 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.h +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h @@ -46,9 +46,9 @@ struct intel_ring_buffer { int (*init)(struct drm_device *dev, struct intel_ring_buffer *ring); - void (*set_tail)(struct drm_device *dev, - struct intel_ring_buffer *ring, - u32 value); + void (*write_tail)(struct drm_device *dev, + struct intel_ring_buffer *ring, + u32 value); void (*flush)(struct drm_device *dev, struct intel_ring_buffer *ring, u32 invalidate_domains, |