diff options
author | Rob Clark <robclark@freedesktop.org> | 2016-01-18 15:22:27 -0500 |
---|---|---|
committer | Rob Clark <robclark@freedesktop.org> | 2016-01-18 16:58:25 -0500 |
commit | 6062941e4dd441bb67d5db760b87ffc0509befb7 (patch) | |
tree | 6c65747d9bc0b21724d17e64f3ad7529b88adf3b /src/gallium/drivers/freedreno/a2xx/fd2_emit.h | |
parent | c03f3dd0a518a53598dcfd1ac19a453bfebcb71a (diff) |
freedreno: per-generation OUT_IB packet
Some a4xx firmware doesn't implement the "PFD" (prefetch-disabled)
version of the CP_INDIRECT_BUFFER packet. So allow for PFD vs PFE per
generation. Switch a3xx and a4xx over to using prefetch-enabled version
(which is also what blob does.. it seems only on a2xx we cannot use
PFE).
Signed-off-by: Rob Clark <robclark@freedesktop.org>
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx/fd2_emit.h')
-rw-r--r-- | src/gallium/drivers/freedreno/a2xx/fd2_emit.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_emit.h b/src/gallium/drivers/freedreno/a2xx/fd2_emit.h index 8ee04632091..3c146c17151 100644 --- a/src/gallium/drivers/freedreno/a2xx/fd2_emit.h +++ b/src/gallium/drivers/freedreno/a2xx/fd2_emit.h @@ -45,4 +45,6 @@ void fd2_emit_vertex_bufs(struct fd_ringbuffer *ring, uint32_t val, void fd2_emit_state(struct fd_context *ctx, uint32_t dirty); void fd2_emit_setup(struct fd_context *ctx); +void fd2_emit_init(struct pipe_context *pctx); + #endif /* FD2_EMIT_H */ |