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

[ Upstream commit e92f3f94ca ]

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

Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Jiang Liu 2025-02-07 14:28:49 +08:00 • committed by Greg Kroah-Hartman
commit a25d045ebf