freedreno/a3xx: use cs patch instead of RFI+RMW
authorRob Clark <robclark@freedesktop.org>
Wed, 8 Jan 2014 15:06:52 +0000 (10:06 -0500)
committerRob Clark <robclark@freedesktop.org>
Wed, 8 Jan 2014 21:30:18 +0000 (16:30 -0500)
commit725d736f6a6a14d10223888d585ddab80ee803f0
tree6a179b0ee61b07db32eedb8ac85ce47282bafc73
parentc0766528baaef48902c87bbdaa4f5926c472269b
freedreno/a3xx: use cs patch instead of RFI+RMW

Since we now have the cmdstream patch mechanism needed for hw binning,
might as well also use it for RB_RENDER_CONTROL updates.  This avoids
the need to use RMW (and associated WFI) to update RB_RENDER_CONTROL.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/a3xx/fd3_context.c
src/gallium/drivers/freedreno/a3xx/fd3_context.h
src/gallium/drivers/freedreno/a3xx/fd3_draw.c
src/gallium/drivers/freedreno/a3xx/fd3_emit.c
src/gallium/drivers/freedreno/a3xx/fd3_emit.h
src/gallium/drivers/freedreno/a3xx/fd3_gmem.c
src/gallium/drivers/freedreno/freedreno_context.h
src/gallium/drivers/freedreno/freedreno_draw.h