mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 14:14:37 +00:00
drm/amdgpu: fix cgs alignment handling
This always allocated on PAGE_SIZE alignment. Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
e97f12f359
commit
9f0ed7aab6
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ static int amdgpu_cgs_alloc_gpu_mem(struct cgs_device *cgs_device,
|
|||
placement.busy_placement = &place;
|
||||
placement.num_busy_placement = 1;
|
||||
|
||||
ret = amdgpu_bo_create_restricted(adev, size, PAGE_SIZE,
|
||||
ret = amdgpu_bo_create_restricted(adev, size, align,
|
||||
true, domain, flags,
|
||||
NULL, &placement, NULL,
|
||||
0, &obj);
|
||||
|
|
Loading…
Reference in a new issue