summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
diff options
context:
space:
mode:
authorMukul Joshi <mukul.joshi@amd.com>2024-04-18 15:13:58 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-04-23 23:23:45 -0400
commit1e214f7faaf5d842754cd5cfcd76308bfedab3b5 (patch)
tree2bd5bb438af198b5c5522e4f190d1ed478423e9e /drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c
parent30d1cda8ce31ab49051ff7159280c542a738b23d (diff)
drm/amdkfd: Add VRAM accounting for SVM migration
Do VRAM accounting when doing migrations to vram to make sure there is enough available VRAM and migrating to VRAM doesn't evict other possible non-unified memory BOs. If migrating to VRAM fails, driver can fall back to using system memory seamlessly. Signed-off-by: Mukul Joshi <mukul.joshi@amd.com> Reviewed-by: Felix Kuehling <felix.kuehling@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c')
0 files changed, 0 insertions, 0 deletions