, Alexander ; Quan,
Evan ; Koenig, Christian ; Liu,
Monk ; Zhang, Hawking
主题: [PATCH] drm/amdgpu: reset psp ring wptr during ring_create
[Why]
psp ring wptr is not initialized properly in ring_create, which would lead to
psp failure after several gpu reset.
[How]
Set ring_wptr to zero
)
; Xiaojie Yuan ; Tuikov, Luben
; Deucher, Alexander ; Quan,
Evan ; Koenig, Christian ; Liu,
Monk ; Zhang, Hawking
Subject: [PATCH] drm/amdgpu: reset psp ring wptr during ring_create
[Why]
psp ring wptr is not initialized properly in ring_create, which would lead to
psp failure after several gpu
[Why]
psp ring wptr is not initialized properly in ring_create,
which would lead to psp failure after several gpu reset.
[How]
Set ring_wptr to zero in psp_ring_create.
Signed-off-by: YuBiao Wang
---
drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 1 +
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c | 1 +
2