Commit 81f4b82c authored by Jiang Liu's avatar Jiang Liu Committed by Greg Kroah-Hartman
Browse files

drm/amdgpu: reset psp->cmd to NULL after releasing the buffer



[ Upstream commit e92f3f94 ]

Reset psp->cmd to NULL after releasing the buffer in function psp_sw_fini().

Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Signed-off-by: default avatarJiang Liu <gerry@linux.alibaba.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent cfdf164e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment