]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amdgpu: reset psp->cmd to NULL after releasing the buffer
authorJiang Liu <gerry@linux.alibaba.com>
Fri, 7 Feb 2025 06:28:49 +0000 (14:28 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:38:02 +0000 (14:38 +0200)
commitcc958022666cc7ae66726444a2e55c435831f640
tree63003da2d2def4e3877be043bc3f15d9ac4fffd9
parentc48f7855988f2151fee9ee3f672addef47b06940
drm/amdgpu: reset psp->cmd to NULL after releasing the buffer

[ Upstream commit e92f3f94cad24154fd3baae30c6dfb918492278d ]

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c