summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorYang Wang <kevinyang.wang@amd.com>2025-07-24 15:16:18 +0800
committerAlex Deucher <alexander.deucher@amd.com>2025-07-28 16:26:52 -0400
commit8e0d1edb5c16732b695eaf4bd7096b1569817cf0 (patch)
treed31e6ff27417e75af2d3d641c25251ab16187f92 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdfe9707c075a365ccd1f82cceabdf6ab55a77b5f (diff)
drm/amd/amdgpu: fix missing lock for cper.ring->rptr/wptr access
Add lock protection for 'ring->wptr'/'ring->rptr' to ensure the correct execution. Fixes: 8652920d2c00 ("drm/amdgpu: add mutex lock for cper ring") Signed-off-by: Yang Wang <kevinyang.wang@amd.com> Reviewed-by: Tao Zhou <tao.zhou1@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions