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-19 14:17:25 -0400 |
commit | 84801d4f1e4fbd2c44dddecaec9099bdff100a42 (patch) | |
tree | ed3bf4e353e5f6fc7a747a357cfc6be2c125dddb /drivers/gpu/drm/vc4/vc4_trace.h | |
parent | e2654a4453ba3dac9baacf9980d841d84e15b869 (diff) |
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/vc4/vc4_trace.h')
0 files changed, 0 insertions, 0 deletions