]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/amdgpu: psp_ring_destroy cause psp->km_ring.ring_mem NULL
authorwentalou <Wentao.Lou@amd.com>
Tue, 18 Dec 2018 07:42:08 +0000 (15:42 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 14 Jan 2019 20:04:31 +0000 (15:04 -0500)
commit14d20ec7f31ef96a2e7dcf7880b13dde1d473b56
tree2ce4ad3723de6583e0c7c274de266ae158b6284d
parent76223c5496a7cf10aef1971e4e6aff77abadd15a
drm/amdgpu: psp_ring_destroy cause psp->km_ring.ring_mem NULL

psp_ring_destroy inside psp_load_fw cause psp->km_ring.ring_mem NULL.
Call Trace occurred when psp_cmd_submit.
should be psp_ring_stop instead.

Reviewed-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Signed-off-by: Wentao Lou <Wentao.Lou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c