回复: [PATCH] drm/amdgpu: reset psp ring wptr during ring_create

2021-06-16 Thread Liu, Monk
, 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

RE: [PATCH] drm/amdgpu: reset psp ring wptr during ring_create

2021-06-10 Thread Chen, Horace
) ; 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

[PATCH] drm/amdgpu: reset psp ring wptr during ring_create

2021-06-09 Thread YuBiao Wang
[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