summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2012-08-03 11:31:55 +0200
committerMichel Dänzer <[email protected]>2012-08-16 09:37:33 +0200
commitc25968f3e2a1b5144a2e88d15b95e5b477a55f5d (patch)
tree8670afd81f5b003c3dc938508622ab1ca31e6156 /src/gallium
parent1597176f7090eea73f41b3114ae2a02a50ac7a12 (diff)
gallium/radeon: Make va_offset 64 bits wide.
Otherwise we'd wrap around after 32 bits. The kernel currently limits GPU virtual address space to 4GB anyway, but that will probably change sooner or later, and this would result in confusing error messages when running out of virtual address space even now. Signed-off-by: Michel Dänzer <[email protected]> Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium')
-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 464842c0c20..4c899010226 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
@@ -120,7 +120,7 @@ struct radeon_bomgr {
/* is virtual address supported */
bool va;
- unsigned va_offset;
+ uint64_t va_offset;
struct list_head va_holes;
};