projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e4c5f6
)
r600c: fix VC flush on cedar and palm
author
Alex Deucher
<alexdeucher@gmail.com>
Tue, 23 Nov 2010 00:27:58 +0000
(19:27 -0500)
committer
Alex Deucher
<alexdeucher@gmail.com>
Tue, 23 Nov 2010 00:27:58 +0000
(19:27 -0500)
src/mesa/drivers/dri/r600/evergreen_chip.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r600/evergreen_chip.c
b/src/mesa/drivers/dri/r600/evergreen_chip.c
index 2c9e4e2b8448283c4c147f0879505aa85b001968..53dacbfdf391286e04203e5fe37a474956279e92 100644
(file)
--- a/
src/mesa/drivers/dri/r600/evergreen_chip.c
+++ b/
src/mesa/drivers/dri/r600/evergreen_chip.c
@@
-286,7
+286,11
@@
static void evergreenSetupVTXConstants(struct gl_context * ctx,
if (!paos->bo)
return;
- r700SyncSurf(context, paos->bo, RADEON_GEM_DOMAIN_GTT, 0, VC_ACTION_ENA_bit);
+ if ((context->radeon.radeonScreen->chip_family == CHIP_FAMILY_CEDAR) ||
+ (context->radeon.radeonScreen->chip_family == CHIP_FAMILY_PALM))
+ r700SyncSurf(context, paos->bo, RADEON_GEM_DOMAIN_GTT, 0, TC_ACTION_ENA_bit);
+ else
+ r700SyncSurf(context, paos->bo, RADEON_GEM_DOMAIN_GTT, 0, VC_ACTION_ENA_bit);
//uSQ_VTX_CONSTANT_WORD0_0
uSQ_VTX_CONSTANT_WORD0_0 = paos->offset;