aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
diff options
context:
space:
mode:
authorYunxiang Li <[email protected]>2024-05-23 11:48:19 +0000
committerAlex Deucher <[email protected]>2024-06-14 20:15:59 +0000
commit9c33e5fd4fb63b793d9a92bf35d190630d9bada4 (patch)
treeeface12edd133a21db9e1be01895143657e5c026 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h
parentdrm/amdgpu: call flush_gpu_tlb directly in gfxhub enable (diff)
downloadkernel-9c33e5fd4fb63b793d9a92bf35d190630d9bada4.tar.gz
kernel-9c33e5fd4fb63b793d9a92bf35d190630d9bada4.zip
drm/amdgpu: fix locking scope when flushing tlb
Which method is used to flush tlb does not depend on whether a reset is in progress or not. We should skip flush altogether if the GPU will get reset. So put both path under reset_domain read lock. Signed-off-by: Yunxiang Li <[email protected]> Reviewed-by: Christian König <[email protected]> Signed-off-by: Alex Deucher <[email protected]> CC: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.h')
0 files changed, 0 insertions, 0 deletions