summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_bo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
index 9bddcd347c3..090a6faf50d 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
@@ -905,7 +905,7 @@ done:
if (stride)
*stride = whandle->stride;
- if (mgr->va) {
+ if (mgr->va && !bo->va) {
struct drm_radeon_gem_va va;
bo->va_size = ((bo->base.size + 4095) & ~4095);