diff options
| author | Xiaogang Chen <[email protected]> | 2023-10-12 20:48:06 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-10-13 15:33:08 +0000 |
| commit | ffa88b0019c20d0bacda7cd1463af86ec744d52e (patch) | |
| tree | 68c0a4cd2f540c7d06ff164e3065659c98a657db /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | drm/amd/pm: Add P2S tables for SMU v13.0.6 (diff) | |
| download | kernel-ffa88b0019c20d0bacda7cd1463af86ec744d52e.tar.gz kernel-ffa88b0019c20d0bacda7cd1463af86ec744d52e.zip | |
drm/amdgpu: Correctly use bo_va->ref_count in compute VMs
This is needed to correctly handle BOs imported into compute VM from gfx.
Both kfd and gfx should use same bo_va and set bo_va->ref_count correctly
when map the Bos into same VM, otherwise we may trigger kernel general
protection when iterate mappings over bo_va's valids or invalids list.
Signed-off-by: Felix Kuehling <[email protected]>
Signed-off-by: Xiaogang Chen <[email protected]>
Acked-by: Christian König <[email protected]>
Reviewed-by: Ramesh Errabolu <[email protected]>
Tested-by: Xiaogang Chen <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
