DC Patches July 21, 2025
Subsystems (3)
cover DC Patches July 21, 2025
From: Ivan Lipski <[email protected]>
This DC patchset brings improvements in multiple areas. In summary, we highlight:
* Fixes on DCN314 and DCN301
* Fixes on DMUB command alignment
* Addition of debugfs for Replay, and debug option for BW allocation mode
* Refactor of amdgpu_dm code
Alvin Lee (1):
drm/amd/display: Add comma to last entry of enum for consistency
Chiang, Richard (1):
drm/amd/display: Remove update_planes_and_stream_v1 sequence
Cruise Hung (2):
drm/amd/display: Remove check DPIA HPD status for BW Allocation drm/amd/display: Add debug option to control BW Allocation mode
Duncan Ma (1):
drm/amd/display: Add eDP AUXless ALPM
Ivan Lipski (1):
drm/amd/display: Allow DCN301 to clear update flags
Jingwen Zhu (1):
drm/amd/display: Add a config flag for limited_pll_vco
Karthi Kandasamy (1):
drm/amd/display: Add DC EDID read policy struct
Mario Limonciello (8):
drm/amd/display: Add missing SPDX license identifier drm/amd/display: Drop unused include
drm/amd/display: Remove unnecessary whitespace drm/amd/display: Remove unnecessary includes drm/amd/display: Avoid configuring PSR granularity if PSR-SU not
supported
drm/amd/display: Only finalize atomic_obj if it was initialized drm/amd/display: Rename dcn31 string shown to user drm/amd/display: Pass up errors for reset GPU that fails to init HW
Michael Strauss (3):
drm/amd/display: Move setup_stream_attribute drm/amd/display: Increase AUX Intra-Hop Done Max Wait Duration drm/amd/display: Cache streams targeting link when performing LT
automation
Ovidiu Bunea (2):
drm/amd/display: Revert "Add a config flag for limited_pll_vco" drm/amd/display: Fix dmub_cmd header alignment
Ray Wu (1):
drm/amd/display: Add Replay residency in debugfs
Relja Vojvodic (1):
drm/amd/display: Allow for sharing of some link and audio link
functions
Roman Li (1):
drm/amd/display: Disable dsc_power_gate for dcn314 by default
Taimur Hassan (1):
drm/amd/display: Promote DAL to 3.2.343
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 27 ++-- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_color.c | 2 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c | 1 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 35 ++++- .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.c | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 1 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 1 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h | 1 + .../display/amdgpu_dm/amdgpu_dm_irq_params.h | 1 + .../display/amdgpu_dm/amdgpu_dm_mst_types.c | 1 + .../display/amdgpu_dm/amdgpu_dm_mst_types.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 1 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c | 8 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_psr.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_replay.c | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_replay.h | 1 + .../display/amdgpu_dm/amdgpu_dm_services.c | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_trace.h | 1 + drivers/gpu/drm/amd/display/dc/core/dc.c | 132 +----------------- .../drm/amd/display/dc/core/dc_link_exports.c | 7 + drivers/gpu/drm/amd/display/dc/dc.h | 16 ++- drivers/gpu/drm/amd/display/dc/dc_dp_types.h | 16 ++- drivers/gpu/drm/amd/display/dc/dc_helper.c | 2 +- drivers/gpu/drm/amd/display/dc/dc_types.h | 14 ++ .../gpu/drm/amd/display/dc/dce/dmub_replay.c | 13 ++ .../amd/display/dc/hwss/dce110/dce110_hwseq.c | 7 +- .../amd/display/dc/hwss/dce110/dce110_hwseq.h | 7 + .../amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 2 + .../amd/display/dc/hwss/dcn401/dcn401_hwseq.c | 2 + .../gpu/drm/amd/display/dc/inc/core_types.h | 2 +- drivers/gpu/drm/amd/display/dc/inc/link.h | 5 +- .../display/dc/link/accessories/link_dp_cts.c | 17 ++- .../gpu/drm/amd/display/dc/link/link_dpms.c | 3 - .../drm/amd/display/dc/link/link_factory.c | 2 + .../drm/amd/display/dc/link/link_validation.c | 6 +- .../dc/link/protocols/link_dp_capability.c | 37 +++++ .../dc/link/protocols/link_dp_capability.h | 6 + .../dc/link/protocols/link_dp_dpia_bw.c | 65 ++++----- .../dc/link/protocols/link_dp_training.c | 9 +- .../link/protocols/link_edp_panel_control.c | 8 +- .../dc/resource/dcn314/dcn314_resource.c | 1 + .../dc/virtual/virtual_stream_encoder.c | 7 + .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 20 +-- 47 files changed, 281 insertions(+), 215 deletions(-)
Signature · 1 line
2.43.0
PATCH 1/25 drm/amd/display: Add DC EDID read policy struct
From: Karthi Kandasamy <[email protected]>
[Why & How]
Add a struct to allow DMs that utilize the EDID parser in DC to modify the default settings.
--- drivers/gpu/drm/amd/display/dc/dc_types.h | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/gpu/drm/amd/display/dc/dc_types.h +6 -0
@@ -563,6 +563,12 @@ struct dc_info_packet_128 {uint8_t sb[128 ]; }; +struct dc_edid_read_policy { +uint32_t max_retry_count; +uint32_t delay_time_ms; +uint32_t ignore_checksum; +}; +#define DC_PLANE_UPDATE_TIMES_MAX 10struct dc_plane_flip_time {
Signature · 1 line
2.43.0
PATCH 2/25 drm/amd/display: Remove check DPIA HPD status for BW Allocation
In reply to [email protected]From: Cruise Hung <[email protected]>
[Why & How]
Link hpd_status is for embedded DPIA only.
Do not check hpd_status for BW allocation logic.
--- .../drm/amd/display/dc/link/link_validation.c | 6 +- .../dc/link/protocols/link_dp_dpia_bw.c | 60 +++++++++---------- 2 files changed, 32 insertions(+), 34 deletions(-)
drivers/gpu/drm/amd/display/dc/link/link_validation.c +4 -2
@@ -408,8 +408,10 @@ enum dc_status link_validate_dp_tunnel_bandwidth(const struct dc *dc, const stru link = stream->link;if (!(link && (stream->signal ==SIGNAL_TYPE_DISPLAY_PORT - || stream->signal ==SIGNAL_TYPE_DISPLAY_PORT_MST ) - && link->hpd_status)) + || stream->signal ==SIGNAL_TYPE_DISPLAY_PORT_MST ))) +continue ; + +if ((link->ep_type ==DISPLAY_ENDPOINT_USB4_DPIA ) && (link->hpd_status == false))continue ; dp_tunnel_settings =get_dp_tunnel_settings (new_ctx, stream);
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_dpia_bw.c +28 -32
86 lines not on this page · raw message
Signature · 1 line
2.43.0
PATCH 3/25 drm/amd/display: Add comma to last entry of enum for consistency
In reply to [email protected]From: Alvin Lee <[email protected]>
[Why&How]
Add comma to last entry of enum for consistency.
--- drivers/gpu/drm/amd/display/dc/inc/core_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/inc/core_types.h +1 -1
@@ -433,7 +433,7 @@ enum p_state_switch_method {P_STATE_V_ACTIVE ,P_STATE_SUB_VP ,P_STATE_DRR_SUB_VP , -P_STATE_V_BLANK_SUB_VP + P_STATE_V_BLANK_SUB_VP, }; struct pipe_ctx {
Signature · 1 line
2.43.0
PATCH 4/25 drm/amd/display: Move setup_stream_attribute
In reply to [email protected]From: Michael Strauss <[email protected]>
[WHY]
If symclk RCO is enabled, stream encoder may not be receiving an ungated clock by the time we attempt to set stream attributes when setting dpms on. Since the clock is gated, register writes to the stream encoder fail.
[HOW]
Move set_stream_attribute call into enable_stream, just after the point where symclk32_se is ungated.
Logically there is no need to set stream attributes as early as is currently done in link_set_dpms_on, so this should have no impact beyond the RCO fix.
--- drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c | 1 + drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 2 ++ drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c | 2 ++ drivers/gpu/drm/amd/display/dc/link/link_dpms.c | 3 --- .../drm/amd/display/dc/virtual/virtual_stream_encoder.c | 7 +++++++ 5 files changed, 12 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/display/dc/hwss/dce110/dce110_hwseq.c +1 -0
@@ -671,6 +671,7 @@ void dce110_enable_stream(struct pipe_ctx *pipe_ctx)uint32_t early_control =0 ;struct timing_generator *tg = pipe_ctx->stream_res.tg; + link_hwss->setup_stream_attribute (pipe_ctx); link_hwss->setup_stream_encoder (pipe_ctx); dc->hwss.update_info_frame (pipe_ctx);
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c +2 -0
@@ -3054,6 +3054,8 @@ void dcn20_enable_stream(struct pipe_ctx *pipe_ctx) link_enc->transmitter - TRANSMITTER_UNIPHY_A); } + link_hwss->setup_stream_attribute (pipe_ctx); +if (dc->res_pool->dccg->funcs->set_pixel_rate_div) dc->res_pool->dccg->funcs->set_pixel_rate_div( dc->res_pool->dccg,
drivers/gpu/drm/amd/display/dc/hwss/dcn401/dcn401_hwseq.c +2 -0
@@ -965,6 +965,8 @@ void dcn401_enable_stream(struct pipe_ctx *pipe_ctx) } } + link_hwss->setup_stream_attribute (pipe_ctx); +if (dc->res_pool->dccg->funcs->set_pixel_rate_div) { dc->res_pool->dccg->funcs->set_pixel_rate_div( dc->res_pool->dccg,
drivers/gpu/drm/amd/display/dc/link/link_dpms.c +0 -3
@@ -2458,7 +2458,6 @@ void link_set_dpms_on(struct link_encoder *link_enc = pipe_ctx->link_res.dio_link_enc;enum otg_out_mux_dest otg_out_dest =OUT_MUX_DIO ;struct vpg *vpg = pipe_ctx->stream_res.stream_enc->vpg; -const struct link_hwss *link_hwss =get_link_hwss (link, &pipe_ctx->link_res);bool apply_edp_fast_boot_optimization = pipe_ctx->stream->apply_edp_fast_boot_optimization;
@@ -2502,8 +2501,6 @@ void link_set_dpms_on( pipe_ctx->stream_res.tg->funcs->set_out_mux (pipe_ctx->stream_res.tg, otg_out_dest); } - link_hwss->setup_stream_attribute (pipe_ctx); - pipe_ctx->stream->apply_edp_fast_boot_optimization = false;// Enable VPG before building infoframe
drivers/gpu/drm/amd/display/dc/virtual/virtual_stream_encoder.c +7 -0
@@ -44,6 +44,11 @@ static void virtual_stream_encoder_dvi_set_stream_attribute( struct dc_crtc_timing *crtc_timing, bool is_dual_link) {} +static void virtual_stream_encoder_lvds_set_stream_attribute ( +struct stream_encoder *enc, +struct dc_crtc_timing *crtc_timing) +{} +static void virtual_stream_encoder_set_throttled_vcp_size (struct stream_encoder *enc,struct fixed31_32 avg_time_slots_per_mtp)
@@ -115,6 +120,8 @@ static const struct stream_encoder_funcs virtual_str_enc_funcs = { virtual_stream_encoder_hdmi_set_stream_attribute, .dvi_set_stream_attribute = virtual_stream_encoder_dvi_set_stream_attribute, + .lvds_set_stream_attribute = + virtual_stream_encoder_lvds_set_stream_attribute, .set_throttled_vcp_size = virtual_stream_encoder_set_throttled_vcp_size, .update_hdmi_info_packets =
Signature · 1 line
2.43.0
PATCH 5/25 drm/amd/display: Add a config flag for limited_pll_vco
In reply to [email protected]From: Jingwen Zhu <[email protected]>
[Why/How]
Added a new config flag to pass to the DMUB during boot. This workaround will solves black screen issue on reboot.
--- drivers/gpu/drm/amd/display/dmub/dmub_srv.h | 1 + drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 3 ++- drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dmub/dmub_srv.h +1 -0
@@ -316,6 +316,7 @@ struct dmub_srv_hw_params {bool disable_sldo_opt;bool enable_non_transparent_setconfig;bool lower_hbr3_phy_ssc; +bool override_hbr3_pll_vco; };/**
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h +2 -1
@@ -843,7 +843,8 @@ union dmub_fw_boot_options { uint32_t ips_sequential_ono: 1; /**< 1 to enable sequential ONO IPS sequence */ uint32_t disable_sldo_opt: 1; /**< 1 to disable SLDO optimizations */ uint32_t lower_hbr3_phy_ssc: 1; /**< 1 to lower hbr3 phy ssc to 0.125 percent */ - uint32_t reserved : 6; /**< reserved */ + uint32_t override_hbr3_pll_vco: 1; /**< 1 to override the hbr3 pll vco to 0 */ + uint32_t reserved : 5; /**< reserved */ } bits;/**< boot bits */ uint32_t all;/**< 32-bit access to bits */ };
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c +1 -0
@@ -377,6 +377,7 @@ void dmub_dcn31_enable_dmub_boot_options(struct dmub_srv *dmub, const struct dmu boot_options.bits.dpia_hpd_int_enable_supported = params->dpia_hpd_int_enable_supported; boot_options.bits.power_optimization = params->power_optimization; boot_options.bits.lower_hbr3_phy_ssc = params->lower_hbr3_phy_ssc; + boot_options.bits.override_hbr3_pll_vco = params->override_hbr3_pll_vco; boot_options.bits.sel_mux_phy_c_d_phy_f_g = (dmub->asic ==DMUB_ASIC_DCN31B ) ?1 :0 ;
Signature · 1 line
2.43.0
PATCH 6/25 drm/amd/display: Disable dsc_power_gate for dcn314 by default
In reply to [email protected]From: Roman Li <[email protected]>
[Why]
"REG_WAIT timeout 1us * 1000 tries - dcn314_dsc_pg_control line" warnings seen after resuming from s2idle.
DCN314 has issues with DSC power gating that cause REG_WAIT timeouts when attempting to power down DSC blocks.
[How]
Disable dsc_power_gate for dcn314 by default.
--- drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/display/dc/resource/dcn314/dcn314_resource.c +1 -0
@@ -926,6 +926,7 @@ static const struct dc_debug_options debug_defaults_drv = { .seamless_boot_odm_combine = true, .enable_legacy_fast_update = true, .using_dml2 = false, + .disable_dsc_power_gate = true, };static const struct dc_panel_config panel_config_defaults = {
Signature · 1 line
2.43.0
PATCH 7/25 drm/amd/display: Add missing SPDX license identifier
In reply to [email protected]From: Mario Limonciello <[email protected]>
[Why]
All files should be properly classified.
[How]
Add missing SPDX-License-Identifier.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++ drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq_params.h | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.h | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.h | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c | 1 + drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h | 1 + 22 files changed, 23 insertions(+)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright 2015 Advanced Micro Devices, Inc. *
@@ -10392,6 +10393,7 @@ static void amdgpu_dm_atomic_commit_tail(struct drm_atomic_state *state)#if defined(CONFIG_DRM_AMD_SECURE_DISPLAY )if (amdgpu_dm_crc_window_is_activated (crtc)) {uint8_t cnt; +spin_lock_irqsave (&adev_to_drm (adev)->event_lock, flags);for (cnt =0 ; cnt <MAX_CRC_WINDOW_NUM ; cnt++) {if (acrtc->dm_irq_params.window_param[cnt].enable) {
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Copyright (C) 2015-2020 Advanced Micro Devices, Inc. All rights reserved. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright 2018 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright 2015 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Copyright 2019 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright 2018 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Copyright 2018 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright 2019 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_hdcp.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Copyright 2019 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright 2015 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright 2015 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Copyright 2015 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_irq_params.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Copyright 2020 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright 2012-15 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Copyright 2012-15 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright 2018 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright 2021 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Copyright 2021 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.c +1 -0
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: MIT /* * Copyright 2023 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_replay.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: MIT */ /* * Copyright 2021 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c +1 -0
@@ -1,3 +1,4 @@ +//SPDX-License-Identifier: MIT /* * Copyright 2015 Advanced Micro Devices, Inc. *
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h +1 -0
@@ -1,3 +1,4 @@ +//SPDX-License-Identifier: MIT /* * Copyright 2018 Advanced Micro Devices, Inc. *
Signature · 1 line
2.43.0
PATCH 8/25 drm/amd/display: Drop unused include
In reply to [email protected]From: Mario Limonciello <[email protected]>
[Why]
Extra includes slow down compile time.
[How]
Drop unnecessary include.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c | 1 - 1 file changed, 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c +0 -1
@@ -27,7 +27,6 @@#include "amdgpu_dm_psr.h" #include "dc_dmub_srv.h" #include "dc.h" -#include "dm_helpers.h" #include "amdgpu_dm.h" #include "modules/power/power_helpers.h"
Signature · 1 line
2.43.0
PATCH 9/25 drm/amd/display: Remove unnecessary whitespace
In reply to [email protected]From: Mario Limonciello <[email protected]>
[Why]
Whitespace before a new line is unnecessary.
[How]
Remove whitespace.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +4 -2
@@ -6386,13 +6386,15 @@ static void fill_stream_properties_from_drm_display_mode( (struct drm_connector *)connector, mode_in);if (err <0 ) -drm_warn_once (connector->dev,"Failed to setup avi infoframe on connector %s: %zd \n" , connector->name, err); +drm_warn_once (connector->dev,"Failed to setup avi infoframe on connector %s: %zd\n" , + connector->name, err); timing_out->vic = avi_frame.video_code; err =drm_hdmi_vendor_infoframe_from_display_mode (&hv_frame, (struct drm_connector *)connector, mode_in);if (err <0 ) -drm_warn_once (connector->dev,"Failed to setup vendor infoframe on connector %s: %zd \n" , connector->name, err); +drm_warn_once (connector->dev,"Failed to setup vendor infoframe on connector %s: %zd\n" , + connector->name, err); timing_out->hdmi_vic = hv_frame.vic; }
Signature · 1 line
2.43.0
PATCH 10/25 drm/amd/display: Remove unnecessary includes
In reply to [email protected]From: Mario Limonciello <[email protected]>
[Why]
Extra includes aren't needed for compilation and can slow down the preprocessor.
[How]
Drop unneeded includes.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 12 ------------ .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c | 1 - 2 files changed, 13 deletions(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +0 -12
@@ -40,13 +40,11 @@#include "dc/dc_stat.h" #include "dc/dc_state.h" #include "amdgpu_dm_trace.h" -#include "dpcd_defs.h" #include "link/protocols/link_dpcd.h" #include "link_service_types.h" #include "link/protocols/link_dp_capability.h" #include "link/protocols/link_ddc.h" -#include "vid.h" #include "amdgpu.h" #include "amdgpu_display.h" #include "amdgpu_ucode.h"
@@ -57,7 +55,6 @@#include "amdgpu_dm_hdcp.h" #include <drm/display/drm_hdcp_helper.h> #include "amdgpu_dm_wb.h" -#include "amdgpu_pm.h" #include "amdgpu_atombios.h" #include "amd_shared.h"
@@ -103,15 +100,6 @@#include "ivsrcid/dcn/irqsrcs_dcn_1_0.h" -#include "dcn/dcn_1_0_offset.h" -#include "dcn/dcn_1_0_sh_mask.h" -#include "soc15_hw_ip.h" -#include "soc15_common.h" -#include "vega10_ip_offset.h" - -#include "gc/gc_11_0_0_offset.h" -#include "gc/gc_11_0_0_sh_mask.h" -#include "modules/inc/mod_freesync.h" #include "modules/power/power_helpers.h"
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_color.c +0 -1
@@ -28,7 +28,6 @@#include "amdgpu_dm.h" #include "dc.h" #include "modules/color/color_gamma.h" -#include "basics/conversion.h" /** * DOC: overview
Signature · 1 line
2.43.0
PATCH 11/25 drm/amd/display: Avoid configuring PSR granularity if PSR-SU not supported
In reply to [email protected]From: Mario Limonciello <[email protected]>
[Why]
If PSR-SU is disabled on the link, then configuring su_y granularity in mod_power_calc_psr_configs() can lead to assertions in psr_su_set_dsc_slice_height().
[How]
Check the PSR version in amdgpu_dm_link_setup_psr() to determine whether or not to configure granularity.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c +4 -2
@@ -119,8 +119,10 @@ bool amdgpu_dm_link_setup_psr(struct dc_stream_state *stream) psr_config.allow_multi_disp_optimizations = (amdgpu_dc_feature_mask &DC_PSR_ALLOW_MULTI_DISP_OPT ); -if (!psr_su_set_dsc_slice_height (dc, link, stream, &psr_config)) -return false; +if (link->psr_settings.psr_version ==DC_PSR_VERSION_SU_1 ) { +if (!psr_su_set_dsc_slice_height (dc, link, stream, &psr_config)) +return false; + } ret =dc_link_setup_psr (link, stream, &psr_config, &psr_context);
Signature · 1 line
2.43.0
PATCH 12/25 drm/amd/display: Add eDP AUXless ALPM
In reply to [email protected]From: Duncan Ma <[email protected]>
[Why & How]
Add AUX-less ALPM capability check and initialization
--- .../drm/amd/display/dc/core/dc_link_exports.c | 7 ++++ drivers/gpu/drm/amd/display/dc/dc.h | 11 ++++++ drivers/gpu/drm/amd/display/dc/dc_dp_types.h | 16 +++++--- drivers/gpu/drm/amd/display/dc/dc_types.h | 8 ++++ .../gpu/drm/amd/display/dc/dce/dmub_replay.c | 13 +++++++ drivers/gpu/drm/amd/display/dc/inc/link.h | 5 ++- .../drm/amd/display/dc/link/link_factory.c | 2 + .../dc/link/protocols/link_dp_capability.c | 37 +++++++++++++++++++ .../dc/link/protocols/link_dp_capability.h | 6 +++ .../link/protocols/link_edp_panel_control.c | 8 +++- 10 files changed, 105 insertions(+), 8 deletions(-)
drivers/gpu/drm/amd/display/dc/core/dc_link_exports.c +7 -0
@@ -520,3 +520,10 @@ enum dc_status dc_link_validate_dp_tunneling_bandwidth(const struct dc *dc, consreturn dc->link_srv->validate_dp_tunnel_bandwidth (dc, new_ctx); } +void dc_link_get_alpm_support (struct dc_link *link, +bool *auxless_support, +bool *auxwake_support) +{ + link->dc->link_srv->edp_get_alpm_support (link, auxless_support, auxwake_support); +} +
drivers/gpu/drm/amd/display/dc/dc.h +11 -0
@@ -1145,6 +1145,11 @@ struct dc_debug_options {bool enable_hblank_borrow;bool force_subvp_df_throttle;uint32_t acpi_transition_bitmasks[MAX_PIPES ]; +unsigned int auxless_alpm_lfps_setup_ns; +unsigned int auxless_alpm_lfps_period_ns; +unsigned int auxless_alpm_lfps_silence_ns; +unsigned int auxless_alpm_lfps_t1t2_us; +short auxless_alpm_lfps_t1t2_offset_us; };
@@ -2447,6 +2452,12 @@ void dc_link_dp_dpia_handle_usb4_bandwidth_allocation_for_link(*/ enum dc_status dc_link_validate_dp_tunneling_bandwidth (const struct dc *dc,const struct dc_state *new_ctx); +/* +* Get if ALPM is supported by the link +*/ +void dc_link_get_alpm_support (struct dc_link *link,bool *auxless_support, +bool *auxwake_support); +/* Sink Interfaces - A sink corresponds to a display output device */ struct dc_container_id {
drivers/gpu/drm/amd/display/dc/dc_dp_types.h +10 -6
@@ -1021,7 +1021,8 @@ union dp_128b_132b_supported_lttpr_link_rates {union dp_alpm_lttpr_cap {struct {uint8_t AUX_LESS_ALPM_SUPPORTED :1 ; -uint8_t RESERVED :7 ; +uint8_t ASSR_SUPPORTED :1 ; +uint8_t RESERVED :6 ; } bits;uint8_t raw; };
@@ -1119,10 +1120,11 @@ union dp_128b_132b_training_aux_rd_interval {union edp_alpm_caps {struct { -uint8_t AUX_WAKE_ALPM_CAP :1 ; -uint8_t PM_STATE_2A_SUPPORT :1 ; -uint8_t AUX_LESS_ALPM_CAP :1 ; -uint8_t RESERVED :5 ; +uint8_t AUX_WAKE_ALPM_CAP :1 ; +uint8_t PM_STATE_2A_SUPPORT :1 ; +uint8_t AUX_LESS_ALPM_CAP :1 ; +uint8_t AUX_LESS_ALPM_ML_PHY_SLEEP_STATUS_SUPPORTED :1 ; +uint8_t RESERVED :4 ; } bits;uint8_t raw; };
@@ -1347,7 +1349,9 @@ union dpcd_alpm_configuration {struct {unsigned char ENABLE :1 ;unsigned char IRQ_HPD_ENABLE :1 ; -unsigned char RESERVED :6 ; +unsigned char ALPM_MODE_SEL :1 ; +unsigned char ACDS_PERIOD_DURATION :1 ; +unsigned char RESERVED :4 ; } bits;unsigned char raw; };
drivers/gpu/drm/amd/display/dc/dc_types.h +8 -0
@@ -577,6 +577,12 @@ struct dc_plane_flip_time {unsigned int prev_update_time_in_us; }; +enum dc_alpm_mode { +DC_ALPM_AUXWAKE =0 , +DC_ALPM_AUXLESS =1 , +DC_ALPM_UNSUPPORTED =0xF , +}; +enum dc_psr_state {PSR_STATE0 =0x0 ,PSR_STATE1 ,
@@ -1143,6 +1149,8 @@ struct replay_config {bool low_rr_supported;/* Replay Video Conferencing Optimization Enabled */ bool replay_video_conferencing_optimization_enabled; +/* Replay alpm mode */ +enum dc_alpm_mode alpm_mode; };/* Replay feature flags*/
drivers/gpu/drm/amd/display/dc/dce/dmub_replay.c +13 -0
@@ -3,6 +3,7 @@// Copyright 2024 Advanced Micro Devices, Inc. #include "dc.h" +#include "link.h" #include "dc_dmub_srv.h" #include "dmub/dmub_srv.h" #include "core_types.h"
@@ -189,6 +190,18 @@ static bool dmub_replay_copy_settings(struct dmub_replay *dmub,else copy_settings_data->flags.bitfields.force_wakeup_by_tps3 =0 ; + copy_settings_data->flags.bitfields.alpm_mode = (enum dmub_alpm_mode )link->replay_settings.config.alpm_mode; +if (link->replay_settings.config.alpm_mode ==DC_ALPM_AUXLESS ) { + copy_settings_data->auxless_alpm_data.lfps_setup_ns = dc->dc->debug.auxless_alpm_lfps_setup_ns; + copy_settings_data->auxless_alpm_data.lfps_period_ns = dc->dc->debug.auxless_alpm_lfps_period_ns; + copy_settings_data->auxless_alpm_data.lfps_silence_ns = dc->dc->debug.auxless_alpm_lfps_silence_ns; + copy_settings_data->auxless_alpm_data.lfps_t1_t2_override_us = + dc->dc->debug.auxless_alpm_lfps_t1t2_us; + copy_settings_data->auxless_alpm_data.lfps_t1_t2_offset_us = + dc->dc->debug.auxless_alpm_lfps_t1t2_offset_us; + copy_settings_data->auxless_alpm_data.lttpr_count = link->dc->link_srv->dp_get_lttpr_count (link); + } +dc_wake_and_execute_dmub_cmd (dc, &cmd,DM_DMUB_WAIT_TYPE_WAIT );return true;
drivers/gpu/drm/amd/display/dc/inc/link.h +4 -1
@@ -218,7 +218,10 @@ struct link_service {bool (*dp_overwrite_extended_receiver_cap)(struct dc_link *link);enum lttpr_mode (*dp_decide_lttpr_mode)(struct dc_link *link,struct dc_link_settings *link_setting); - +uint8_t (*dp_get_lttpr_count)(struct dc_link *link); +void (*edp_get_alpm_support)(struct dc_link *link, +bool *auxless_support, +bool *auxwake_support);/*************************** DP DPIA/PHY ******************************/ void (*dpia_handle_usb4_bandwidth_allocation_for_link)(
drivers/gpu/drm/amd/display/dc/link/link_factory.c +2 -0
@@ -165,6 +165,8 @@ static void construct_link_service_dp_capability(struct link_service *link_srv) link_srv->dp_overwrite_extended_receiver_cap = dp_overwrite_extended_receiver_cap; link_srv->dp_decide_lttpr_mode = dp_decide_lttpr_mode; + link_srv->dp_get_lttpr_count = dp_get_lttpr_count; + link_srv->edp_get_alpm_support = edp_get_alpm_support; }/* link dp phy/dpia implements basic dp phy/dpia functionality such as
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c +37 -0
@@ -2506,3 +2506,40 @@ bool dp_is_sink_present(struct dc_link *link)return present; } + +uint8_t dp_get_lttpr_count (struct dc_link *link) +{ +if (dp_is_lttpr_present (link)) +return dp_parse_lttpr_repeater_count (link->dpcd_caps.lttpr_caps.phy_repeater_cnt); + +return 0 ; +} + +void edp_get_alpm_support (struct dc_link *link, +bool *auxless_support, +bool *auxwake_support) +{ +bool lttpr_present =dp_is_lttpr_present (link); + +if (auxless_support ==NULL || auxwake_support ==NULL ) +return ; + + *auxless_support = false; + *auxwake_support = false; + +if (!dc_is_embedded_signal (link->connector_signal)) +return ; + +if (link->dpcd_caps.alpm_caps.bits.AUX_LESS_ALPM_CAP) { +if (lttpr_present) { +if (link->dpcd_caps.lttpr_caps.alpm.bits.AUX_LESS_ALPM_SUPPORTED) + *auxless_support = true; + }else + *auxless_support = true; + } + +if (link->dpcd_caps.alpm_caps.bits.AUX_WAKE_ALPM_CAP) { +if (!lttpr_present) + *auxwake_support = true; + } +}
drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.h +6 -0
@@ -108,4 +108,10 @@ uint32_t link_bw_kbps_from_raw_frl_link_rate_data(uint8_t bw);bool dp_overwrite_extended_receiver_cap (struct dc_link *link); +uint8_t dp_get_lttpr_count (struct dc_link *link); + +void edp_get_alpm_support (struct dc_link *link, +bool *auxless_support, +bool *auxwake_support); +#endif /* __DC_LINK_DP_CAPABILITY_H__ */
drivers/gpu/drm/amd/display/dc/link/protocols/link_edp_panel_control.c +7 -1
@@ -1042,7 +1042,13 @@ bool edp_setup_replay(struct dc_link *link, const struct dc_stream_state *stream (uint8_t *)&(replay_config.raw), sizeof(uint8_t));memset (&alpm_config,0 ,sizeof (alpm_config)); - alpm_config.bits.ENABLE =1 ; + alpm_config.bits.ENABLE = link->replay_settings.config.alpm_mode !=DC_ALPM_UNSUPPORTED ?1 :0 ; + +if (link->replay_settings.config.alpm_mode ==DC_ALPM_AUXLESS ) { + alpm_config.bits.ALPM_MODE_SEL =1 ; + alpm_config.bits.ACDS_PERIOD_DURATION =1 ; + } + dm_helpers_dp_write_dpcd( link->ctx, link,
Signature · 1 line
2.43.0
PATCH 13/25 drm/amd/display: Only finalize atomic_obj if it was initialized
In reply to [email protected]From: Mario Limonciello <[email protected]>
[Why]
If amdgpu_dm failed to initalize before amdgpu_dm_initialize_drm_device() completed then freeing atomic_obj will lead to list corruption.
[How]
Check if atomic_obj state is initialized before trying to free.
--- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c +2 -1
@@ -5397,7 +5397,8 @@ static int amdgpu_dm_initialize_drm_device(struct amdgpu_device *adev)static void amdgpu_dm_destroy_drm_device (struct amdgpu_display_manager *dm) { -drm_atomic_private_obj_fini (&dm->atomic_obj); +if (dm->atomic_obj.state) +drm_atomic_private_obj_fini (&dm->atomic_obj); }/******************************************************************************
Signature · 1 line
2.43.0
PATCH 14/25 drm/amd/display: Rename dcn31 string shown to user
In reply to [email protected]From: Mario Limonciello <[email protected]>
[Why]
DCN31 isn't a product, but DCN312 is. Matching against documentation users might not understand the code.
[How]
Change DCN 3.1 string to be DCN 3.1.2.
--- drivers/gpu/drm/amd/display/dc/dc_helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dc_helper.c +1 -1
@@ -732,7 +732,7 @@ char *dce_version_to_string(const int version)case DCN_VERSION_3_03 :return "DCN 3.0.3" ;case DCN_VERSION_3_1 : -return "DCN 3.1" ; +return "DCN 3.1.2" ;case DCN_VERSION_3_14 :return "DCN 3.1.4" ;case DCN_VERSION_3_15 :
Signature · 1 line
2.43.0
[Public]
Good morning all,
This week this patchset was tested on 4 systems, two dGPU and two APU based, and tested across multiple display and connection types.
APU
* Single Display eDP -> 1080p 60hz, 1920x1200 165hz
* Single Display DP (SST DSC) -> 4k144hz, 4k240hz
* Multi display -> eDP + DP/HDMI/USB-C -> 1080p 60hz eDP + 4k 144hz, 4k 240hz (Includes USB-C to DP/HDMI adapters)
* Thunderbolt -> LG Ultrafine 5k
* MST DSC -> Cable Matters 101075 (DP to 3x DP) with 3x 4k60hz displays, HP Hook G2 with 2x 4k60hz displays
* USB 4 -> HP Hook G4, Lenovo Thunderbolt Dock, both with 2x 4k60hz DP and 1x 4k60hz HDMI displays
* SST PCON -> Club3D CAC-1085 + 1x 4k 144hz, FRL3, at a max resolution supported by the dongle of 4k 120hz YUV420 12bpc.
* MST PCON -> 1x 4k 144hz, FRL3, at a max resolution supported by the adapter of 4k 120hz RGB 8bpc.
DGPU
* Single Display DP (SST DSC) -> 4k144hz, 4k240hz
* Multiple Display DP -> 4k240hz + 4k144hz
* MST (Startech MST14DP123DP [DP to 3x DP] and 2x 4k 60hz displays)
* MST DSC (with Cable Matters 101075 [DP to 3x DP] with 3x 4k60hz displays)
The testing is a mix of automated and manual tests. Manual testing includes (but is not limited to)
* Changing display configurations and settings
* Video/Audio playback
* Benchmark testing
* Suspend/Resume testing
* Feature testing (Freesync, HDCP, etc.)
Automated testing includes (but is not limited to)
* Script testing (scripts to automate some of the manual checks)
* IGT testing
The testing is mainly tested on the following displays, but occasionally there are tests with other displays
* Samsung G8 Neo 4k240hz
* Samsung QN55QN95B 4k 120hz
* Acer XV322QKKV 4k144hz
* HP U27 4k Wireless 4k60hz
* LG 27UD58B 4k60hz
* LG 32UN650WA 4k60hz
* LG Ultrafine 5k 5k60hz
* AU Optronics B140HAN01.1 1080p 60hz eDP
* AU Optronics B160UAN01.J 1920x1200 165hz eDP
The patchset consists of the amd-staging-drm-next branch (Head commit - b8adc31cc0ca120cd3ab23d2b98ef9f99e4b5132 -> drm/amdgpu: Avoid extra evict-restore process) with new patches added on top of it.
Tested on Ubuntu 24.04.3, on Wayland and X11, using KDE Plasma and Gnome.
Thank you,
Dan Wheeler
Sr. Technologist | AMD
SW Display
------------------------------------------------------------------------------------------------------------------
1 Commerce Valley Dr E, Thornhill, ON L3T 7X6
amd.com
-----Original Message-----
From: [email protected] <[email protected]>
Sent: Tuesday, July 22, 2025 6:36 PM
To: [email protected]
Cc: Wentland, Harry <[email protected]>; Li, Sun peng (Leo) <[email protected]>; Pillai, Aurabindo <[email protected]>; Li, Roman <[email protected]>; Lin, Wayne <[email protected]>; Chung, ChiaHsuan (Tom) <[email protected]>; Zuo, Jerry <[email protected]>; Wheeler, Daniel <[email protected]>; Wu, Ray <[email protected]>; Hung, Alex <[email protected]>; LIPSKI, IVAN <[email protected]>
Subject: [PATCH 00/25] DC Patches July 21, 2025
From: Ivan Lipski <[email protected]>
This DC patchset brings improvements in multiple areas. In summary, we highlight:
* Fixes on DCN314 and DCN301
* Fixes on DMUB command alignment
* Addition of debugfs for Replay, and debug option for BW allocation mode
* Refactor of amdgpu_dm code
Alvin Lee (1):
drm/amd/display: Add comma to last entry of enum for consistency
Chiang, Richard (1):
drm/amd/display: Remove update_planes_and_stream_v1 sequence
Cruise Hung (2):
drm/amd/display: Remove check DPIA HPD status for BW Allocation drm/amd/display: Add debug option to control BW Allocation mode
Duncan Ma (1):
drm/amd/display: Add eDP AUXless ALPM
Ivan Lipski (1):
drm/amd/display: Allow DCN301 to clear update flags
Jingwen Zhu (1):
drm/amd/display: Add a config flag for limited_pll_vco
Karthi Kandasamy (1):
drm/amd/display: Add DC EDID read policy struct
Mario Limonciello (8):
drm/amd/display: Add missing SPDX license identifier drm/amd/display: Drop unused include
drm/amd/display: Remove unnecessary whitespace drm/amd/display: Remove unnecessary includes drm/amd/display: Avoid configuring PSR granularity if PSR-SU not
supported
drm/amd/display: Only finalize atomic_obj if it was initialized drm/amd/display: Rename dcn31 string shown to user drm/amd/display: Pass up errors for reset GPU that fails to init HW
Michael Strauss (3):
drm/amd/display: Move setup_stream_attribute drm/amd/display: Increase AUX Intra-Hop Done Max Wait Duration drm/amd/display: Cache streams targeting link when performing LT
automation
Ovidiu Bunea (2):
drm/amd/display: Revert "Add a config flag for limited_pll_vco" drm/amd/display: Fix dmub_cmd header alignment
Ray Wu (1):
drm/amd/display: Add Replay residency in debugfs
Relja Vojvodic (1):
drm/amd/display: Allow for sharing of some link and audio link
functions
Roman Li (1):
drm/amd/display: Disable dsc_power_gate for dcn314 by default
Taimur Hassan (1):
drm/amd/display: Promote DAL to 3.2.343
.../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 27 ++-- .../gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_color.c | 2 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_crc.c | 1 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_crc.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.c | 35 ++++- .../amd/display/amdgpu_dm/amdgpu_dm_debugfs.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.c | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_hdcp.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_helpers.c | 1 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_irq.c | 1 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_irq.h | 1 + .../display/amdgpu_dm/amdgpu_dm_irq_params.h | 1 + .../display/amdgpu_dm/amdgpu_dm_mst_types.c | 1 + .../display/amdgpu_dm/amdgpu_dm_mst_types.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_pp_smu.c | 1 + .../drm/amd/display/amdgpu_dm/amdgpu_dm_psr.c | 8 +- .../drm/amd/display/amdgpu_dm/amdgpu_dm_psr.h | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_replay.c | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_replay.h | 1 + .../display/amdgpu_dm/amdgpu_dm_services.c | 1 + .../amd/display/amdgpu_dm/amdgpu_dm_trace.h | 1 + drivers/gpu/drm/amd/display/dc/core/dc.c | 132 +----------------- .../drm/amd/display/dc/core/dc_link_exports.c | 7 + drivers/gpu/drm/amd/display/dc/dc.h | 16 ++- drivers/gpu/drm/amd/display/dc/dc_dp_types.h | 16 ++- drivers/gpu/drm/amd/display/dc/dc_helper.c | 2 +- drivers/gpu/drm/amd/display/dc/dc_types.h | 14 ++ .../gpu/drm/amd/display/dc/dce/dmub_replay.c | 13 ++ .../amd/display/dc/hwss/dce110/dce110_hwseq.c | 7 +- .../amd/display/dc/hwss/dce110/dce110_hwseq.h | 7 + .../amd/display/dc/hwss/dcn20/dcn20_hwseq.c | 2 + .../amd/display/dc/hwss/dcn401/dcn401_hwseq.c | 2 + .../gpu/drm/amd/display/dc/inc/core_types.h | 2 +- drivers/gpu/drm/amd/display/dc/inc/link.h | 5 +- .../display/dc/link/accessories/link_dp_cts.c | 17 ++- .../gpu/drm/amd/display/dc/link/link_dpms.c | 3 - .../drm/amd/display/dc/link/link_factory.c | 2 + .../drm/amd/display/dc/link/link_validation.c | 6 +- .../dc/link/protocols/link_dp_capability.c | 37 +++++ .../dc/link/protocols/link_dp_capability.h | 6 + .../dc/link/protocols/link_dp_dpia_bw.c | 65 ++++----- .../dc/link/protocols/link_dp_training.c | 9 +- .../link/protocols/link_edp_panel_control.c | 8 +- .../dc/resource/dcn314/dcn314_resource.c | 1 + .../dc/virtual/virtual_stream_encoder.c | 7 + .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 20 +-- 47 files changed, 281 insertions(+), 215 deletions(-)
--
2.43.0