]> www.infradead.org Git - users/jedix/linux-maple.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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Feb 2025 02:04:08 +0000 (21:04 -0500)
commite92f3f94cad24154fd3baae30c6dfb918492278d
tree30f37d4f467eb7d8c263aca766d35b88c746dc11
parentaafe181f7dfbb726004c2ecb1d28297b84f3f34b
drm/amdgpu: reset psp->cmd to NULL after releasing the buffer

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