diff options
author | Xiaogang Chen <[email protected]> | 2023-10-12 15:48:06 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2023-10-13 11:33:08 -0400 |
commit | ffa88b0019c20d0bacda7cd1463af86ec744d52e (patch) | |
tree | 68c0a4cd2f540c7d06ff164e3065659c98a657db /rust/helpers/helpers.c | |
parent | f20f3b0d6caf12cd9845e6552bf7da49060f515a (diff) |
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 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions