projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6cc45e
)
radeon space: realign with drm space check code
author
Dave Airlie
<airlied@redhat.com>
Sat, 15 Aug 2009 11:34:17 +0000
(21:34 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sat, 15 Aug 2009 11:34:17 +0000
(21:34 +1000)
src/mesa/drivers/dri/radeon/radeon_cs_space_drm.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/radeon/radeon_cs_space_drm.c
b/src/mesa/drivers/dri/radeon/radeon_cs_space_drm.c
index 5a8df7bb8cd7e12a572b93bccbea33bd7c602ce0..89cbbb5a6b982fafa60d91c7fedc7d83c87ddc73 100644
(file)
--- a/
src/mesa/drivers/dri/radeon/radeon_cs_space_drm.c
+++ b/
src/mesa/drivers/dri/radeon/radeon_cs_space_drm.c
@@
-82,7
+82,7
@@
static inline int radeon_cs_setup_bo(struct radeon_cs_space_check *sc, struct ra
if (write_domain == RADEON_GEM_DOMAIN_VRAM) {
sizes->op_read -= bo->size;
sizes->op_vram_write += bo->size;
- } else if (write_domain == RADEON_GEM_DOMAIN_
VRAM
) {
+ } else if (write_domain == RADEON_GEM_DOMAIN_
GTT
) {
sizes->op_read -= bo->size;
sizes->op_gart_write += bo->size;
}