gallium/radeon: Make va_offset 64 bits wide.
authorMichel Dänzer <michel.daenzer@amd.com>
Fri, 3 Aug 2012 09:31:55 +0000 (11:31 +0200)
committerMichel Dänzer <michel@daenzer.net>
Thu, 16 Aug 2012 07:37:33 +0000 (09:37 +0200)
commitc25968f3e2a1b5144a2e88d15b95e5b477a55f5d
tree8670afd81f5b003c3dc938508622ab1ca31e6156
parent1597176f7090eea73f41b3114ae2a02a50ac7a12
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 <michel.daenzer@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/winsys/radeon/drm/radeon_drm_bo.c