diff options
author | Mukul Joshi <mukul.joshi@amd.com> | 2024-04-18 15:13:58 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-26 17:22:38 -0400 |
commit | 63335b383a0a52643fa5080d5bcef4e06c90213f (patch) | |
tree | fa9888160548ad23e4c849a9a6c4c94866db3032 /drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c | |
parent | fa7bb2cac0f7dae4604214cf547322c55975a9e8 (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_v10_0.c')
0 files changed, 0 insertions, 0 deletions