diff options
author | Dave Airlie <airlied@redhat.com> | 2009-08-15 21:34:17 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-08-15 21:34:17 +1000 |
commit | f2daded8123c0d82e4cd29710a5b2dfcc99068a1 (patch) | |
tree | c18c066e5a8fb4cf8db291d5acd7694f8964004e | |
parent | a6cc45e135fbcf2360950c59ddef94e1f5574f2a (diff) |
radeon space: realign with drm space check code
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_cs_space_drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 5a8df7bb8c..89cbbb5a6b 100644 --- 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; } |