summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
diff options
context:
space:
mode:
authorDavid (Ming Qiang) Wu <David.Wu3@amd.com>2025-05-12 22:14:43 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-05-14 18:28:39 +0300
commit07c9db090b86e5211188e1b351303fbc673378cf (patch)
tree601f04db20dd9cd0bc2a833b301d94aaf5a186b1 /drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c
parentf6a305d4748801a6c799ae9375b2ecff3aed094b (diff)
downloadlinux-07c9db090b86e5211188e1b351303fbc673378cf.tar.xz
drm/amdgpu: read back register after written for VCN v4.0.5
On VCN v4.0.5 there is a race condition where the WPTR is not updated after starting from idle when doorbell is used. Adding register read-back after written at function end is to ensure all register writes are done before they can be used. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12528 Signed-off-by: David (Ming Qiang) Wu <David.Wu3@amd.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Tested-by: Mario Limonciello <mario.limonciello@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Reviewed-by: Ruijing Dong <ruijing.dong@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c')
0 files changed, 0 insertions, 0 deletions