aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian König2017-11-09 03:36:05 -0600
committerChristian König2017-11-09 03:36:10 -0600
commit931f01964a2f2a75e8563feccc70ac2eb0296d99 (patch)
tree1a368bb7e9d66b794a8356774ff856595426092b
parent0c2481edf7a2ce674beaf9ea61a6b19dea2f210b (diff)
downloadexternal-libdrm-931f01964a2f2a75e8563feccc70ac2eb0296d99.tar.gz
external-libdrm-931f01964a2f2a75e8563feccc70ac2eb0296d99.tar.xz
external-libdrm-931f01964a2f2a75e8563feccc70ac2eb0296d99.zip
Revert "amdgpu: fix 32bit VA manager max address"
This reverts commit 944f6665de36b6a6c36263f23b7b9d1730e544fa. Accidentially pushed an imcomplete patch. Signed-off-by: Christian König <christian.koenig@amd.com>
-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