summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2017-11-09 10:36:05 +0100
committerChristian König <christian.koenig@amd.com>2017-11-09 10:36:10 +0100
commit931f01964a2f2a75e8563feccc70ac2eb0296d99 (patch)
tree1a368bb7e9d66b794a8356774ff856595426092b
parent0c2481edf7a2ce674beaf9ea61a6b19dea2f210b (diff)
downloadlibdrm-931f01964a2f2a75e8563feccc70ac2eb0296d99.tar.gz
libdrm-931f01964a2f2a75e8563feccc70ac2eb0296d99.tar.bz2
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,
}
start = dev->dev_info.virtual_address_offset;
- max = MIN2(dev->dev_info.virtual_address_max, 0x100000000ULL);
+ max = MIN2(dev->dev_info.virtual_address_max, 0xffffffff);
amdgpu_vamgr_init(&dev->vamgr_32, start, max,
dev->dev_info.virtual_address_alignment);