-
- Downloads
drm/amdkfd: simplify APU VRAM handling
With commit 89773b85 ("drm/amdkfd: Let VRAM allocations go to GTT domain on small APUs") big and small APU "VRAM" handling in KFD was unified. Since AMD_IS_APU is set for both big and small APUs, we can simplify the checks in the code. v2: clean up a few more places (Lang) Acked-by:Felix Kuehling <felix.kuehling@amd.com> Reviewed-by:
Lang Yu <Lang.Yu@amd.com> Signed-off-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c 8 additions, 8 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
- drivers/gpu/drm/amd/amdkfd/kfd_migrate.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdkfd/kfd_migrate.c
- drivers/gpu/drm/amd/amdkfd/kfd_svm.c 2 additions, 4 deletionsdrivers/gpu/drm/amd/amdkfd/kfd_svm.c
- drivers/gpu/drm/amd/amdkfd/kfd_svm.h 0 additions, 1 deletiondrivers/gpu/drm/amd/amdkfd/kfd_svm.h
Loading
Please register or sign in to comment