[v1 0/4] Bugfixes and minor improvements to drm/amdgpu/psp

Jiang Liu gerry at linux.alibaba.com
Fri Feb 7 06:28:48 UTC 2025


Fix some bugs in error handling path in psp subsystem:
1) fix possible bugs in error handling path in psp_sw_init()
2) fix a bug in error handling path in psp_init_cap_microcode()
3) reduce duplicated code related to psp_ta_init_shared_buf()

Jiang Liu (4):
  drm/amdgpu: reset psp->cmd to NULL after releasing the buffer
  drm/amdgpu: enhance error handling of psp_sw_init()
  drm/amdgpu: bail out when failed to load fw in
    psp_init_cap_microcode()
  drm/amdgpu: simplify invoke of psp_ta_init_shared_buf()

 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 147 +++++++++++++-----------
 1 file changed, 81 insertions(+), 66 deletions(-)

-- 
2.43.5



More information about the amd-gfx mailing list