]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: check PSP response status in psp_ptl_invoke
authorPerry Yuan <perry.yuan@amd.com>
Tue, 10 Feb 2026 05:50:36 +0000 (13:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 May 2026 19:55:56 +0000 (15:55 -0400)
commitc13ff096437c6d470edf754c78e0cb83d24505fa
treed8688e0c0d6210c060f2d858783d51bf1d80a73d
parent82cfe59ba4679647c776367dd6914c6310c1888e
drm/amdgpu: check PSP response status in psp_ptl_invoke

Add an explicit check on cmd->resp.status after psp_cmd_submit_buf()
returns to ensure PTL state is only updated on actual success.

Signed-off-by: Perry Yuan <perry.yuan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Yifan Zhang <yifan1.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c