freedreno: per-generation OUT_IB packet
authorRob Clark <robclark@freedesktop.org>
Mon, 18 Jan 2016 20:22:27 +0000 (15:22 -0500)
committerRob Clark <robclark@freedesktop.org>
Mon, 18 Jan 2016 21:58:25 +0000 (16:58 -0500)
commit6062941e4dd441bb67d5db760b87ffc0509befb7
tree6c65747d9bc0b21724d17e64f3ad7529b88adf3b
parentc03f3dd0a518a53598dcfd1ac19a453bfebcb71a
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>
src/gallium/drivers/freedreno/a2xx/fd2_context.c
src/gallium/drivers/freedreno/a2xx/fd2_emit.c
src/gallium/drivers/freedreno/a2xx/fd2_emit.h
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/a3xx/fd3_gmem.c
src/gallium/drivers/freedreno/a4xx/fd4_emit.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_gmem.c
src/gallium/drivers/freedreno/freedreno_util.h