summaryrefslogtreecommitdiff
path: root/freedreno/freedreno_ringbuffer.h
diff options
context:
space:
mode:
authorRob Clark <robdclark@gmail.com>2013-04-12 11:28:13 -0400
committerRob Clark <robdclark@gmail.com>2013-04-13 08:13:57 -0400
commite5d8a9c1d6375feb74feb52f419a025f1abf94d1 (patch)
tree107498d4f647af14482813d190f10add44c75d51 /freedreno/freedreno_ringbuffer.h
parenta36cdb858e21f287d7b51ded2f211f1c84bda90b (diff)
downloaddrm-e5d8a9c1d6375feb74feb52f419a025f1abf94d1.tar.gz
freedreno: add shifted reloc
Needed for RB_COPY_DEST_BASE register on a3xx. Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'freedreno/freedreno_ringbuffer.h')
-rw-r--r--freedreno/freedreno_ringbuffer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/freedreno/freedreno_ringbuffer.h b/freedreno/freedreno_ringbuffer.h
index 4fb668f7..051bbca9 100644
--- a/freedreno/freedreno_ringbuffer.h
+++ b/freedreno/freedreno_ringbuffer.h
@@ -74,6 +74,8 @@ static inline void fd_ringbuffer_emit(struct fd_ringbuffer *ring,
void fd_ringbuffer_emit_reloc(struct fd_ringbuffer *ring,
struct fd_bo *bo, uint32_t offset, uint32_t or);
+void fd_ringbuffer_emit_reloc_shift(struct fd_ringbuffer *ring,
+ struct fd_bo *bo, uint32_t offset, uint32_t or, int32_t shift);
void fd_ringbuffer_emit_reloc_ring(struct fd_ringbuffer *ring,
struct fd_ringmarker *target);