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 fa4ab0e7..344e87ed 100644
--- a/amdgpu/amdgpu_device.c
+++ b/amdgpu/amdgpu_device.c
@@ -271,7 +271,7 @@ int amdgpu_device_initialize(int fd,
271 } 271 }
272 272
273 start = dev->dev_info.virtual_address_offset; 273 start = dev->dev_info.virtual_address_offset;
274 max = MIN2(dev->dev_info.virtual_address_max, 0x100000000ULL); 274 max = MIN2(dev->dev_info.virtual_address_max, 0xffffffff);
275 amdgpu_vamgr_init(&dev->vamgr_32, start, max, 275 amdgpu_vamgr_init(&dev->vamgr_32, start, max,
276 dev->dev_info.virtual_address_alignment); 276 dev->dev_info.virtual_address_alignment);
277 277