Revert "amdgpu: fix 32bit VA manager max address"
authorChristian König <christian.koenig@amd.com>
Thu, 9 Nov 2017 09:36:05 +0000 (10:36 +0100)
committerChristian König <christian.koenig@amd.com>
Thu, 9 Nov 2017 09:36:10 +0000 (10:36 +0100)
This reverts commit 944f6665de36b6a6c36263f23b7b9d1730e544fa.

Accidentially pushed an imcomplete patch.

Signed-off-by: Christian König <christian.koenig@amd.com>
amdgpu/amdgpu_device.c

index fa4ab0e..344e87e 100644 (file)
@@ -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);