OSDN Git Service

r600g: don't double count dirty block
authorJohn Doe <glisse@barney.(none)>
Thu, 30 Sep 2010 21:30:25 +0000 (17:30 -0400)
committerJohn Doe <glisse@barney.(none)>
Thu, 30 Sep 2010 21:38:18 +0000 (17:38 -0400)
commitdde1391cc95478f4dedccdf920ba0a6607472937
tree1717647a8a0ad62190a2dd8f1b3bfa1c91e91ce6
parent113f1cdfcedf858e4b426ce2dba9e99d2a1e0286
r600g: don't double count dirty block

This avoid to overcount the number of dwords we need and
thus avoid maximazation of cs buffer use.

Signed-off-by: Jerome Glisse <jglisse@redhat.com
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