Commit 8e0d1edb authored by Yang Wang's avatar Yang Wang Committed by Alex Deucher
Browse files

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: 8652920d ("drm/amdgpu: add mutex lock for cper ring")
Signed-off-by: default avatarYang Wang <kevinyang.wang@amd.com>
Reviewed-by: default avatarTao Zhou <tao.zhou1@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent dfe9707c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment