mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
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>
This commit is contained in:
parent
1597176f70
commit
c25968f3e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue