r600g: rework flusing and synchronization pattern v7
authorJerome Glisse <jglisse@redhat.com>
Thu, 1 Nov 2012 20:09:40 +0000 (16:09 -0400)
committerJerome Glisse <jglisse@redhat.com>
Thu, 20 Dec 2012 23:23:31 +0000 (18:23 -0500)
commit24b1206ab2dcd506aaac3ef656aebc8bc20cd27a
tree33102906acd5f0f9c749db048aa261271dc12e3b
parentcf5632094ba0c19d570ea47025cf6da75ef8457a
r600g: rework flusing and synchronization pattern v7

This bring r600g allmost inline with closed source driver when
it comes to flushing and synchronization pattern.

v2-v4: history lost somewhere in outer space
v5: Fix compute size of flushing, use define for flags, update
    worst case cs size requirement for flush, treat rs780 and
    newer as r7xx when it comes to streamout.
v6: Fix num dw computation for framebuffer state, remove dead
    code, use define instead of hardcoded value.
v7: Remove dead code

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/evergreen_compute.c
src/gallium/drivers/r600/evergreen_compute_internal.c
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_hw_context.c
src/gallium/drivers/r600/r600_hw_context_priv.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c