diff options
author | David (Ming Qiang) Wu <David.Wu3@amd.com> | 2025-05-12 15:14:43 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-05-14 11:51:31 -0400 |
commit | ee7360fc27d6045510f8fe459b5649b2af27811a (patch) | |
tree | cfb1e1faf12a153f64983ce2d1191d1b86e5f863 /scripts/binoffset.c | |
parent | fe14c0f096f58d2569e587e9f4b05d772272bbb4 (diff) |
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>
(cherry picked from commit 07c9db090b86e5211188e1b351303fbc673378cf)
Cc: stable@vger.kernel.org
Diffstat (limited to 'scripts/binoffset.c')
0 files changed, 0 insertions, 0 deletions