Skip to content

psp code clean up

Hawking Zhang amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8drm/amdgpu: retire support_vmr_ring interfacedrivers/gpu/drm/amd/amdgpu/amdgpu_psp.c drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +2 more+30 -660 replies
2/8drm/amdgpu: remove unnecessary tOS version checkdrivers/gpu/drm/amd/amdgpu/psp_v11_0.c drivers/gpu/drm/amd/amdgpu/psp_v12_0.c drivers/gpu/drm/amd/amdgpu/psp_v3_1.c+4 -160 replies
3/8drm/amdgpu: retire unused check_fw_loading statusdrivers/gpu/drm/amd/amdgpu/amdgpu_psp.c drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h drivers/gpu/drm/amd/amdgpu/psp_v10_0.c +3 more+0 -5442 replies
4/8drm/amdgpu: add helper function to init asd ucodedrivers/gpu/drm/amd/amdgpu/amdgpu_psp.c drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h+38 -02 replies
5/8drm/amdgpu: switch to helper function to init asd ucodedrivers/gpu/drm/amd/amdgpu/psp_v10_0.c drivers/gpu/drm/amd/amdgpu/psp_v11_0.c drivers/gpu/drm/amd/amdgpu/psp_v12_0.c +1 more+5 -750 replies
6/8drm/amdgpu: add helper function to init sos ucodedrivers/gpu/drm/amd/amdgpu/amdgpu_psp.c drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h+72 -01 reply
7/8drm/amdgpu: switch to helper function to init sos ucodedrivers/gpu/drm/amd/amdgpu/psp_v11_0.c drivers/gpu/drm/amd/amdgpu/psp_v3_1.c+6 -840 replies
8/8drm/amdgpu: retire legacy vega10 sos version checkdrivers/gpu/drm/amd/amdgpu/psp_v3_1.c+1 -270 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] psp code clean up

the seires make cleanup in current software psp support, including:
1). retire unnecessary ip callback function like support_vmr_ring, check_fw_loading.
2). remove unnecessary tOS version check
3). create common helper functions to avoid duplicate code per IP generation

Hawking Zhang (8):
drm/amdgpu: retire support_vmr_ring interface drm/amdgpu: remove unnecessary tOS version check drm/amdgpu: retire unused check_fw_loading status drm/amdgpu: add helper function to init asd ucode drm/amdgpu: switch to helper function to init asd ucode drm/amdgpu: add helper function to init sos ucode drm/amdgpu: switch to helper function to init sos ucode drm/amdgpu: retire legacy vega10 sos version check

 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | 130 ++++++++++++----
 drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h |  14 +-
 drivers/gpu/drm/amd/amdgpu/psp_v10_0.c  | 141 +----------------
 drivers/gpu/drm/amd/amdgpu/psp_v11_0.c  | 235 ++--------------------------
 drivers/gpu/drm/amd/amdgpu/psp_v12_0.c  | 172 +--------------------
 drivers/gpu/drm/amd/amdgpu/psp_v3_1.c   | 262 +++-----------------------------
 6 files changed, 149 insertions(+), 805 deletions(-)
Signature · 6 lines
2.7.4

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx