aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorXiaogang Chen <[email protected]>2023-10-12 20:48:06 +0000
committerAlex Deucher <[email protected]>2023-10-13 15:33:08 +0000
commitffa88b0019c20d0bacda7cd1463af86ec744d52e (patch)
tree68c0a4cd2f540c7d06ff164e3065659c98a657db /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/amd/pm: Add P2S tables for SMU v13.0.6 (diff)
downloadkernel-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