summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
diff options
context:
space:
mode:
authorYunxiang Li <Yunxiang.Li@amd.com>2024-05-23 14:48:19 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-06-19 21:17:25 +0300
commit84801d4f1e4fbd2c44dddecaec9099bdff100a42 (patch)
treeed3bf4e353e5f6fc7a747a357cfc6be2c125dddb /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
parente2654a4453ba3dac9baacf9980d841d84e15b869 (diff)
downloadlinux-84801d4f1e4fbd2c44dddecaec9099bdff100a42.tar.xz
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/display/amdgpu_dm/amdgpu_dm.c')
0 files changed, 0 insertions, 0 deletions