Skip to content

Hook up DC to legacy_dpm

Timur Kristóf amd-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/amd/display: Add pixel_clock to amd_pp_display_configurationdrivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/dce110_clk_mgr.c drivers/gpu/drm/amd/display/dc/dm_services_types.h +1 more+4 -21 reply
2/3drm/amd/pm: Use pm_display_cfg in legacy DPMdrivers/gpu/drm/amd/pm/amdgpu_dpm_internal.c drivers/gpu/drm/amd/pm/inc/amdgpu_dpm_internal.h drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c +3 more+94 -600 replies
3/3drm/amd/pm: Remove unneeded legacy DPM related code.drivers/gpu/drm/amd/amdgpu/amdgpu.h drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c drivers/gpu/drm/amd/pm/amdgpu_dpm_internal.c +3 more+0 -890 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchAlex Deucher
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] Hook up DC to legacy_dpm

Hook up DC to legacy DPM. Now SI and KV DPM are aware of power management related requirements that come from DC, which is necessary for DC to function correctly on these chips when DPM is enabled.

Based on the "SI power management fixes (v2)" series.

Background:
The power management code (DPM) needs to be aware of requirements from the display engine in order to select power states that are compatible with the display engine being able to interact with the currently connected displays.
On chips that rely on legacy_dpm (SI and KV), the DPM was not aware of any requirements from DC because it used a different struct and was not able to handle the information coming from DC.

Timur Kristóf (3):
drm/amd/display: Add pixel_clock to amd_pp_display_configuration drm/amd/pm: Use pm_display_cfg in legacy DPM drm/amd/pm: Remove unneeded legacy DPM related code.

 drivers/gpu/drm/amd/amdgpu/amdgpu.h           |  1 -
 drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c  |  1 -
 .../amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c  |  1 +
 .../dc/clk_mgr/dce110/dce110_clk_mgr.c        |  2 +-
 .../drm/amd/display/dc/dm_services_types.h    |  2 +-
 drivers/gpu/drm/amd/include/dm_pp_interface.h |  1 +
 drivers/gpu/drm/amd/pm/amdgpu_dpm_internal.c  | 87 +++++++++----------
 drivers/gpu/drm/amd/pm/inc/amdgpu_dpm.h       |  4 -
 .../gpu/drm/amd/pm/inc/amdgpu_dpm_internal.h  |  6 +-
 drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c    |  4 +-
 .../gpu/drm/amd/pm/legacy-dpm/legacy_dpm.c    |  9 +-
 drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c    | 64 ++++----------
 .../gpu/drm/amd/pm/powerplay/amd_powerplay.c  | 11 +--
 13 files changed, 70 insertions(+), 123 deletions(-)
Signature · 1 line
2.50.1