mirror_ubuntu-kernels/drivers/gpu
Xiaogang Chen ffa88b0019 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 <Felix.Kuehling@amd.com>
Signed-off-by: Xiaogang Chen <Xiaogang.Chen@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com>
Tested-by: Xiaogang Chen <Xiaogang.Chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2023-10-13 11:33:08 -04:00
..
drm drm/amdgpu: Correctly use bo_va->ref_count in compute VMs 2023-10-13 11:33:08 -04:00
host1x gpu: host1x: Return error when context device not attached to IOMMU 2023-07-27 18:41:59 +02:00
ipu-v3 gpu: ipu-v3: prg: Convert to devm_platform_ioremap_resource() 2023-07-28 17:26:55 +02:00
trace
vga
Makefile