diff options
author | Sreekant Somasekharan <sreekant.somasekharan@amd.com> | 2024-05-10 00:09:32 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-05-17 17:40:37 -0400 |
commit | 0cce5f285d9ae81c33993f3270fe77f5e74a69ab (patch) | |
tree | ba1148f187e429bcefc4ae7a6d92ee95c7a7da2e /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
parent | b72fa761fc6be316bbf3ef9af4b7f145a208b1f3 (diff) | |
download | linux-0cce5f285d9ae81c33993f3270fe77f5e74a69ab.tar.gz linux-0cce5f285d9ae81c33993f3270fe77f5e74a69ab.tar.bz2 linux-0cce5f285d9ae81c33993f3270fe77f5e74a69ab.zip |
drm/amdkfd: Check correct memory types for is_system variable
To catch GPU mapping of system memory, TTM_PL_TT and AMDGPU_PL_PREEMPT
must be checked.
Fixes: 628e1ace2379 ("drm/amdkfd: mark GFX12 system and peer GPU memory mappings as MTYPE_NC")
Signed-off-by: Sreekant Somasekharan <sreekant.somasekharan@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/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions