aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2023-02-24 01:00:05 +0000
committerAlex Deucher <[email protected]>2023-06-09 14:36:33 +0000
commitea7bf2f22061a7bd77b17ddd4ac1bb3500ae823f (patch)
treefbdde53a79f8e6ed4c3667097c484e7855c99059 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentdrm/amdkfd: Update MTYPE for far memory partition (diff)
downloadkernel-ea7bf2f22061a7bd77b17ddd4ac1bb3500ae823f.tar.gz
kernel-ea7bf2f22061a7bd77b17ddd4ac1bb3500ae823f.zip
drm/amdgpu: Alloc page table on correct memory partition
Alloc kernel mode page table bo uses the amdgpu_vm->mem_id + 1 as bp mem_id_plus1 parameter. For APU mode, select the correct TTM pool to alloc page from the corresponding memory partition, this will be the closest NUMA node. For dGPU mode, select the correct address range for vram manager. Signed-off-by: Philip Yang <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions