aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--amdgpu/amdgpu_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/amdgpu/amdgpu_device.c b/amdgpu/amdgpu_device.c
index eb4b2745..d7077184 100644
--- a/amdgpu/amdgpu_device.c
+++ b/amdgpu/amdgpu_device.c
@@ -265,7 +265,7 @@ int amdgpu_device_initialize(int fd,
265 } 265 }
266 266
267 start = dev->dev_info.virtual_address_offset; 267 start = dev->dev_info.virtual_address_offset;
268 max = MIN2(dev->dev_info.virtual_address_max, 0xffffffff); 268 max = MIN2(dev->dev_info.virtual_address_max, 0x100000000ULL);
269 amdgpu_vamgr_init(&dev->vamgr_32, start, max, 269 amdgpu_vamgr_init(&dev->vamgr_32, start, max,
270 dev->dev_info.virtual_address_alignment); 270 dev->dev_info.virtual_address_alignment);
271 271