aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorPhilip Yang <[email protected]>2022-09-13 19:46:30 +0000
committerAlex Deucher <[email protected]>2022-09-19 19:05:54 +0000
commit3913f0179ba366f7d7d160c506ce00de1602bbc4 (patch)
tree6570f42ab31d1b812bb0dc4ee0546ce4ddeaf6a1 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentdrm/amd/display: fix boolconv.cocci warning (diff)
downloadkernel-3913f0179ba366f7d7d160c506ce00de1602bbc4.tar.gz
kernel-3913f0179ba366f7d7d160c506ce00de1602bbc4.zip
drm/amdgpu: SDMA update use unlocked iterator
SDMA update page table may be called from unlocked context, this generate below warning. Use unlocked iterator to handle this case. WARNING: CPU: 0 PID: 1475 at drivers/dma-buf/dma-resv.c:483 dma_resv_iter_next Call Trace: dma_resv_iter_first+0x43/0xa0 amdgpu_vm_sdma_update+0x69/0x2d0 [amdgpu] amdgpu_vm_ptes_update+0x29c/0x870 [amdgpu] amdgpu_vm_update_range+0x2f6/0x6c0 [amdgpu] svm_range_unmap_from_gpus+0x115/0x300 [amdgpu] svm_range_cpu_invalidate_pagetables+0x510/0x5e0 [amdgpu] __mmu_notifier_invalidate_range_start+0x1d3/0x230 unmap_vmas+0x140/0x150 unmap_region+0xa8/0x110 Signed-off-by: Philip Yang <[email protected]> Suggested-by: Felix Kuehling <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions