diff options
author | Yunxiang Li <Yunxiang.Li@amd.com> | 2024-05-23 07:48:19 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-06-14 16:15:59 -0400 |
commit | 9c33e5fd4fb63b793d9a92bf35d190630d9bada4 (patch) | |
tree | eface12edd133a21db9e1be01895143657e5c026 /drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c | |
parent | ba531117a87d55f607f865b89eb83665e8e99b83 (diff) | |
download | linux-9c33e5fd4fb63b793d9a92bf35d190630d9bada4.tar.gz linux-9c33e5fd4fb63b793d9a92bf35d190630d9bada4.tar.bz2 linux-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 <Yunxiang.Li@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
CC: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gart.c')
0 files changed, 0 insertions, 0 deletions