mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 06:38:03 +02:00
amdgpu: fix 32bit VA manager max address
The range is exclusive not inclusive. Signed-off-by: Christian König <christian.koenig@amd.com>
This commit is contained in:
parent
a844925c8a
commit
944f6665de
1 changed files with 1 additions and 1 deletions
|
|
@ -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, 0xffffffff);
|
||||
max = MIN2(dev->dev_info.virtual_address_max, 0x100000000ULL);
|
||||
amdgpu_vamgr_init(&dev->vamgr_32, start, max,
|
||||
dev->dev_info.virtual_address_alignment);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue