Add BACO support for CI/VI asics
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest15 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/15 | drm/amdgpu: add new BIF 4.1 register for BACOdrivers/ drivers/ | +3 | 0 replies | |
| 2/15 | drm/amdgpu: add new BIF 5.0 register for BACOdrivers/ drivers/ | +3 | 0 replies | |
| 3/15 | drm/amdgpu: add new SMU 7.0.1 registers for BACOdrivers/ drivers/ | +3 | 0 replies | |
| 4/15 | drm/amdgpu: add new SMU 7.1.2 registers for BACOdrivers/ drivers/ | +3 | 0 replies | |
| 5/15 | drm/amdgpu: add new SMU 7.1.3 registers for BACOdrivers/ drivers/ | +3 | 0 replies | |
| 6/15 | drm/amdgpu/powerplay: add core support for pre-SOC15 bacodrivers/ drivers/ | +32 | 0 replies | |
| 7/15 | drm/amdgpu/powerplay: add support for BACO on tongadrivers/ drivers/ drivers/ | +254 | 0 replies | |
| 8/15 | drm/amdgpu/powerplay: add support for BACO on Icelanddrivers/ | +48 | 0 replies | |
| 9/15 | drm/amdgpu/powerplay: add support for BACO on polarisdrivers/ drivers/ drivers/ | +251 | 0 replies | |
| 10/15 | drm/amdgpu/powerplay: add support for BACO on VegaMdrivers/ | +39 | 0 replies | |
| 11/15 | drm/amdgpu/powerplay: add support for BACO on Fijidrivers/ drivers/ drivers/ | +261 | 0 replies | |
| 12/15 | drm/amdgpu/powerplay: add support for BACO on CIdrivers/ drivers/ drivers/ | +261 | 0 replies | |
| 13/15 | drm/amdgpu/powerplay: split out common smu7 BACO codedrivers/ drivers/ drivers/ +8 more | +132 | 0 replies | |
| 14/15 | drm/amdgpu/powerplay: wire up BACO to powerplay API for smu7drivers/ | +4 | 0 replies | |
| 15/15 | drm/amdgpu: enable BACO reset for SMU7 based dGPUs (v2)drivers/ drivers/ drivers/ +1 more | +128 | 1 reply |
Reviews trailers per patch
None of the 15 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Christian König |
|---|---|
| Series | A-b |
| 1/15 | |
| 2/15 | |
| 3/15 | |
| 4/15 | |
| 5/15 | |
| 6/15 | |
| 7/15 | |
| 8/15 | |
| 9/15 | |
| 10/15 | |
| 11/15 | |
| 12/15 | |
| 13/15 | |
| 14/15 | |
| 15/15 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/15] Add BACO support for CI/VI asics
This patch set enables BACO CI and VI asics. BACO is Bus Active Chip Off. It allows us to turn off the GPU while still keeping the bus interface up, so the device does not disappear from the system. PowerXpress and Hybrid Graphics laptops support BOCO (Bus Off Chip Off) which is controlled by ACPI. BACO was conceived as a power saving feature, but we also use it for reset since the chip gets powered down. These patches are a pre-requisite for using BACO as a power saving feature which will follow in another patch set.
BACO is working well on VI parts. I haven't gotten it working yet on CI parts, but I'm including the code for reference if anyone wants to play with it.
Alex Deucher (15):
drm/amdgpu: add new BIF 4.1 register for BACO drm/amdgpu: add new BIF 5.0 register for BACO drm/amdgpu: add new SMU 7.0.1 registers for BACO drm/amdgpu: add new SMU 7.1.2 registers for BACO drm/amdgpu: add new SMU 7.1.3 registers for BACO drm/amdgpu/powerplay: add core support for pre-SOC15 baco drm/amdgpu/powerplay: add support for BACO on tonga drm/amdgpu/powerplay: add support for BACO on Iceland drm/amdgpu/powerplay: add support for BACO on polaris drm/amdgpu/powerplay: add support for BACO on VegaM drm/amdgpu/powerplay: add support for BACO on Fiji drm/amdgpu/powerplay: add support for BACO on CI drm/amdgpu/powerplay: split out common smu7 BACO code drm/amdgpu/powerplay: wire up BACO to powerplay API for smu7 drm/amdgpu: enable BACO reset for SMU7 based dGPUs (v2)
drivers/gpu/drm/amd/amdgpu/cik.c | 48 +++- drivers/gpu/drm/amd/amdgpu/cik.h | 3 + drivers/gpu/drm/amd/amdgpu/vi.c | 84 ++++++- drivers/gpu/drm/amd/amdgpu/vi.h | 3 + .../drm/amd/include/asic_reg/bif/bif_4_1_d.h | 1 + .../include/asic_reg/bif/bif_4_1_sh_mask.h | 2 + .../drm/amd/include/asic_reg/bif/bif_5_0_d.h | 1 + .../include/asic_reg/bif/bif_5_0_sh_mask.h | 2 + .../amd/include/asic_reg/smu/smu_7_0_1_d.h | 1 + .../include/asic_reg/smu/smu_7_0_1_sh_mask.h | 2 + .../amd/include/asic_reg/smu/smu_7_1_2_d.h | 1 + .../include/asic_reg/smu/smu_7_1_2_sh_mask.h | 2 + .../amd/include/asic_reg/smu/smu_7_1_3_d.h | 1 + .../include/asic_reg/smu/smu_7_1_3_sh_mask.h | 2 + drivers/gpu/drm/amd/powerplay/hwmgr/Makefile | 3 +- drivers/gpu/drm/amd/powerplay/hwmgr/ci_baco.c | 195 +++++++++++++++ drivers/gpu/drm/amd/powerplay/hwmgr/ci_baco.h | 29 +++ .../gpu/drm/amd/powerplay/hwmgr/common_baco.c | 19 ++ .../gpu/drm/amd/powerplay/hwmgr/common_baco.h | 13 + .../gpu/drm/amd/powerplay/hwmgr/fiji_baco.c | 196 +++++++++++++++ .../gpu/drm/amd/powerplay/hwmgr/fiji_baco.h | 29 +++ .../drm/amd/powerplay/hwmgr/polaris_baco.c | 222 +++++++++++++++++ .../drm/amd/powerplay/hwmgr/polaris_baco.h | 29 +++ .../gpu/drm/amd/powerplay/hwmgr/smu7_baco.c | 91 +++++++ .../gpu/drm/amd/powerplay/hwmgr/smu7_baco.h | 32 +++ .../gpu/drm/amd/powerplay/hwmgr/smu7_hwmgr.c | 4 + .../gpu/drm/amd/powerplay/hwmgr/tonga_baco.c | 231 ++++++++++++++++++ .../gpu/drm/amd/powerplay/hwmgr/tonga_baco.h | 29 +++ 28 files changed, 1264 insertions(+), 11 deletions(-) create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/ci_baco.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/ci_baco.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_baco.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/fiji_baco.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/polaris_baco.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/polaris_baco.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_baco.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/smu7_baco.h create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_baco.c create mode 100644 drivers/gpu/drm/amd/powerplay/hwmgr/tonga_baco.h
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx