diff options
author | YuBiao Wang <YuBiao.Wang@amd.com> | 2021-06-09 10:41:34 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-06-11 16:03:26 -0400 |
commit | 29b4ac0ed9130229cf518edab01fd6b20d9f1c92 (patch) | |
tree | d2567ff439d937fc023b694d28e6d2598acc980e /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | |
parent | 076f55a45e9e41fcbc377ad064f10f29b26dc298 (diff) | |
download | linux-29b4ac0ed9130229cf518edab01fd6b20d9f1c92.tar.gz linux-29b4ac0ed9130229cf518edab01fd6b20d9f1c92.tar.bz2 linux-29b4ac0ed9130229cf518edab01fd6b20d9f1c92.zip |
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 in psp_ring_create.
Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com>
Reviewed-by: Horace Chen <horace.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions