Rework PM init order
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest18 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/18 | drm/radeon/dpm: remove unnecessary checks in dpm_initdrivers/ | +17 | 0 replies | |
| 2/18 | drm/radeon/si: drop cg_update from dpm codedrivers/ drivers/ | +2 | 0 replies | |
| 3/18 | drm/radeon/cik: drop cg_update from dpm codedrivers/ drivers/ | +0 | 0 replies | |
| 4/18 | drm/radeon: re-order firmware loading in preparation for dpm reworkdrivers/ drivers/ drivers/ +3 more | +84 | 0 replies | |
| 5/18 | drm/radeon/dpm: add a late enable callbackdrivers/ drivers/ | +15 | 0 replies | |
| 6/18 | drm/radeon/dpm: add late_enable for rs780/rs880/rv6xxdrivers/ drivers/ drivers/ | +19 | 0 replies | |
| 7/18 | drm/radeon/dpm: add late_enable for rv7xx-NIdrivers/ drivers/ drivers/ | +27 | 0 replies | |
| 8/18 | drm/radeon/dpm: add late_enable for sumodrivers/ drivers/ drivers/ | +22 | 0 replies | |
| 9/18 | drm/radeon/dpm: add late_enable for trinitydrivers/ drivers/ drivers/ | +24 | 0 replies | |
| 10/18 | drm/radeon/dpm: add late_enable for SIdrivers/ drivers/ drivers/ | +24 | 0 replies | |
| 11/18 | drm/radeon/dpm: add late_enable for CIdrivers/ drivers/ drivers/ | +31 | 0 replies | |
| 12/18 | drm/radeon/dpm: add late_enable for KB/KVdrivers/ drivers/ drivers/ | +26 | 0 replies | |
| 13/18 | drm/radeon/dpm: switch on new late_enable callbackdrivers/ drivers/ drivers/ +12 more | +53 | 0 replies | |
| 14/18 | drm/radeon/pm: move pm handling into the asic specific codedrivers/ drivers/ drivers/ +18 more | +158 | 0 replies | |
| 15/18 | drm/radeon: enable gfx cgcg on CIK dGPUsdrivers/ | +2 | 0 replies | |
| 16/18 | drm/radeon: enable gfx cgcg on CIK APUsdrivers/ | +2 | 0 replies | |
| 17/18 | drm/radeon: enable dpm by default on CI dGPUsdrivers/ | +2 | 0 replies | |
| 18/18 | drm/radeon: enable dpm by default on CI APUsdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/18] Rework PM init order
Newer asics require that the dpm be initialized prior to the other engines in order for clockgating to work properly. The tricky part is that other aspects of dpm are required at later stages (e.g., after displays are enumerated).
This patch set reworks the power management init flow to accomodate the requirements of newer hardware. Most of the pm init/fini/suspend/resume flow has now moved into the asic specific functions. As a result, dpm now initializes reliably on CIK parts and clockgating on these parts now works and is enabled by default. Powergating support for CIK parts is also improved, but is not yet ready to be enabled by default.
I think it's now safe to enable dpm by default on CIK parts.
Alex Deucher (18):
drm/radeon/dpm: remove unnecessary checks in dpm_init drm/radeon/si: drop cg_update from dpm code drm/radeon/cik: drop cg_update from dpm code
drm/radeon: re-order firmware loading in preparation for dpm rework drm/radeon/dpm: add a late enable callback drm/radeon/dpm: add late_enable for rs780/rs880/rv6xx drm/radeon/dpm: add late_enable for rv7xx-NI drm/radeon/dpm: add late_enable for sumo
drm/radeon/dpm: add late_enable for trinity drm/radeon/dpm: add late_enable for SI
drm/radeon/dpm: add late_enable for CI
drm/radeon/dpm: add late_enable for KB/KV drm/radeon/dpm: switch on new late_enable callback drm/radeon/pm: move pm handling into the asic specific code drm/radeon: enable gfx cgcg on CIK dGPUs
drm/radeon: enable gfx cgcg on CIK APUs
drm/radeon: enable dpm by default on CI dGPUs drm/radeon: enable dpm by default on CI APUs
drivers/gpu/drm/radeon/btc_dpm.c | 20 ++--- drivers/gpu/drm/radeon/ci_dpm.c | 58 ++++--------- drivers/gpu/drm/radeon/cik.c | 51 +++++++----- drivers/gpu/drm/radeon/cypress_dpm.c | 15 ---- drivers/gpu/drm/radeon/evergreen.c | 42 ++++++---- drivers/gpu/drm/radeon/kv_dpm.c | 48 ++++------- drivers/gpu/drm/radeon/ni.c | 43 ++++++---- drivers/gpu/drm/radeon/ni_dpm.c | 21 ++--- drivers/gpu/drm/radeon/r100.c | 7 ++ drivers/gpu/drm/radeon/r300.c | 7 ++ drivers/gpu/drm/radeon/r420.c | 7 ++ drivers/gpu/drm/radeon/r520.c | 5 ++ drivers/gpu/drm/radeon/r600.c | 23 ++++-- drivers/gpu/drm/radeon/r600_dpm.c | 20 ++++- drivers/gpu/drm/radeon/r600_dpm.h | 2 - drivers/gpu/drm/radeon/radeon.h | 3 + drivers/gpu/drm/radeon/radeon_asic.c | 19 ++++- drivers/gpu/drm/radeon/radeon_asic.h | 7 ++ drivers/gpu/drm/radeon/radeon_device.c | 14 +++- drivers/gpu/drm/radeon/radeon_display.c | 17 +++- drivers/gpu/drm/radeon/radeon_pm.c | 140 ++++++++++++++++++-------------- drivers/gpu/drm/radeon/rs400.c | 7 ++ drivers/gpu/drm/radeon/rs600.c | 7 ++ drivers/gpu/drm/radeon/rs690.c | 7 ++ drivers/gpu/drm/radeon/rs780_dpm.c | 8 -- drivers/gpu/drm/radeon/rv515.c | 7 ++ drivers/gpu/drm/radeon/rv6xx_dpm.c | 10 --- drivers/gpu/drm/radeon/rv770.c | 23 ++++-- drivers/gpu/drm/radeon/rv770_dpm.c | 15 +++- drivers/gpu/drm/radeon/rv770_dpm.h | 4 - drivers/gpu/drm/radeon/si.c | 35 +++++--- drivers/gpu/drm/radeon/si_dpm.c | 60 ++++---------- drivers/gpu/drm/radeon/sumo_dpm.c | 19 +++-- drivers/gpu/drm/radeon/trinity_dpm.c | 17 +++- 34 files changed, 432 insertions(+), 356 deletions(-)
Signature · 1 line
1.8.3.1