X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=freedreno%2Ffreedreno_ringbuffer.h;h=c501fbadb46b97d84fe6c7fed2afc56ec890f2bd;hb=23d10b82440f59f2a685db34d3662d75f4a3784b;hp=108d5a6debf819822876a9bac7f8d9cb672a19bf;hpb=d15515aea3c3e51336f9ab29691162c69acc9807;p=android-x86%2Fexternal-libdrm.git diff --git a/freedreno/freedreno_ringbuffer.h b/freedreno/freedreno_ringbuffer.h index 108d5a6d..c501fbad 100644 --- a/freedreno/freedreno_ringbuffer.h +++ b/freedreno/freedreno_ringbuffer.h @@ -78,9 +78,13 @@ struct fd_reloc { uint32_t offset; uint32_t or; int32_t shift; + uint32_t orhi; /* used for a5xx+ */ }; -void fd_ringbuffer_reloc(struct fd_ringbuffer *ring, const struct fd_reloc *reloc); +/* NOTE: relocs are 2 dwords on a5xx+ */ + +void fd_ringbuffer_reloc2(struct fd_ringbuffer *ring, const struct fd_reloc *reloc); +will_be_deprecated void fd_ringbuffer_reloc(struct fd_ringbuffer *ring, const struct fd_reloc *reloc); will_be_deprecated void fd_ringbuffer_emit_reloc_ring(struct fd_ringbuffer *ring, struct fd_ringmarker *target, struct fd_ringmarker *end); uint32_t fd_ringbuffer_cmd_count(struct fd_ringbuffer *ring);