summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2022-11-02 14:55:13 +0100
committerAlex Deucher <alexander.deucher@amd.com>2022-11-09 17:58:17 -0500
commit77c092e054262b594614bad5e5f47e57c5d29639 (patch)
tree16371094df3c5af8285e0fcf3f67f5b8232d47d7 /drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c
parentb91c23e099f0b65d62159da13458c5eefa76083f (diff)
drm/amdgpu: workaround for TLB seq race
It can happen that we query the sequence value before the callback had a chance to run. Workaround that by grabbing the fence lock and releasing it again. Should be replaced by hw handling soon. Signed-off-by: Christian König <christian.koenig@amd.com> CC: stable@vger.kernel.org # 5.19+ Fixes: 5255e146c99a6 ("drm/amdgpu: rework TLB flushing") Link: https://gitlab.freedesktop.org/drm/amd/-/issues/2113 Acked-by: Alex Deucher <alexander.deucher@amd.com> Acked-by: Philip Yang <Philip.Yang@amd.com> Tested-by: Stefan Springer <stefanspr94@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_benchmark.c')
0 files changed, 0 insertions, 0 deletions