diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-21 19:00:02 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2010-10-21 19:00:02 +0100 |
commit | e36c1cd7292efcb8daca26cd6331481736544742 (patch) | |
tree | d952a08fc4540175842c3dd94e8409355ff491c1 /drivers/gpu/drm/i915/intel_ringbuffer.h | |
parent | c717966744e618af76aa5d7fe6cc44dba487bdc6 (diff) | |
download | blackbird-op-linux-e36c1cd7292efcb8daca26cd6331481736544742.tar.gz blackbird-op-linux-e36c1cd7292efcb8daca26cd6331481736544742.zip |
drm/i915/ringbuffer: Remove broken intel_fill_struct()
... before someone tries to use it. The code both calls
intel_ring_begin/advance() and open-codes the bookkeeping performed by
those two functions.
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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/i915/intel_ringbuffer.h b/drivers/gpu/drm/i915/intel_ringbuffer.h index 9725f783db20..5b37ff3a6949 100644 --- a/drivers/gpu/drm/i915/intel_ringbuffer.h +++ b/drivers/gpu/drm/i915/intel_ringbuffer.h @@ -116,10 +116,6 @@ static inline void intel_ring_emit(struct drm_device *dev, ring->tail += 4; } -void intel_fill_struct(struct drm_device *dev, - struct intel_ring_buffer *ring, - void *data, - unsigned int len); void intel_ring_advance(struct drm_device *dev, struct intel_ring_buffer *ring); |