Skip to content

Hook up DC to legacy_dpm (v2)

Timur Kristóf amd-gfx 1 version Applied

Status from this message: Applied the series. Thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#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 -20 replies
2/3drm/amd/pm: Use pm_display_cfg in legacy DPM (v2)drivers/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+97 -571 reply
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

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

Read the v1 thread

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

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

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.

v2 of this series is rebased on latest amd-staging-drm-next.

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 (v2) 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    |  8 +-
 drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c    | 65 +++++---------
 .../gpu/drm/amd/pm/powerplay/amd_powerplay.c  | 11 +--
 13 files changed, 73 insertions(+), 120 deletions(-)
Signature · 1 line
2.51.0