aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorRajneesh Bhardwaj <[email protected]>2023-02-28 01:08:29 +0000
committerAlex Deucher <[email protected]>2023-06-09 13:57:37 +0000
commitfcfefd85f18a0004c7c7b499f0701fd2c76d4c68 (patch)
tree3f21e22243dee380a7ba8d16a9d1b7e3675a32de /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parentdrm/amdgpu: Set TTM pools for memory partitions (diff)
downloadkernel-fcfefd85f18a0004c7c7b499f0701fd2c76d4c68.tar.gz
kernel-fcfefd85f18a0004c7c7b499f0701fd2c76d4c68.zip
drm/amdkfd: Native mode memory partition support
For native mode, after amdgpu_bo is created on CPU domain, then call amdgpu_ttm_tt_set_mem_pool to select the TTM pool using bo->mem_id. ttm_bo_validate will allocate the memory to the correct memory partition before mapping to GPUs. Reviewed-by: Felix Kuehling <[email protected]> Acked-and-tested-by: Mukul Joshi <[email protected]> Signed-off-by: Philip Yang <[email protected]> Signed-off-by: Rajneesh Bhardwaj <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c')
0 files changed, 0 insertions, 0 deletions