r600g: modify block to only emit the first few dirty registers. (v2)
authorDave Airlie <airlied@redhat.com>
Mon, 18 Apr 2011 03:03:06 +0000 (13:03 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 19 Apr 2011 00:12:19 +0000 (10:12 +1000)
commit162bc40eed9dc54091b6e64bcd7eab06607b500d
tree9a40dd4b51d91e53b0d7dee33e014f6efc4afb87
parentc058067e578e4426f56f9b23e33e3d3fac4562f7
r600g: modify block to only emit the first few dirty registers. (v2)

This gets me from 2200 to 1978 dwords for a gears frame.

This is due to us having some 32-dwords blocks in the SPI, that we only
modify the first dwords off.

v2: fix dirty reg count from Bas Nieuwenhuizen

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600.h
src/gallium/winsys/r600/drm/evergreen_hw_context.c
src/gallium/winsys/r600/drm/r600_hw_context.c
src/gallium/winsys/r600/drm/r600_priv.h