From: "Timur Kristóf" <timur.kristof@gmail.com>
To: amd-gfx@lists.freedesktop.org, Alex Deucher <alexander.deucher@amd.com>
Cc: Harry Wentland <harry.wentland@amd.com>,
Leo Li <sunpeng.li@amd.com>,
Aurabindo Pillai <aurabindo.pillai@amd.com>,
Roman Li <roman.li@amd.com>, Wayne Lin <wayne.lin@amd.com>,
Tom Chung <chiahsuan.chung@amd.com>,
Fangzhi Zuo <jerry.zuo@amd.com>,
Dan Wheeler <daniel.wheeler@amd.com>, Ray Wu <Ray.Wu@amd.com>,
Ivan Lipski <ivan.lipski@amd.com>, Alex Hung <alex.hung@amd.com>,
Roman Li <Roman.Li@amd.com>, Alex Hung <alex.hung@amd.com>,
David Airlie <airlied@gmail.com>,
Christian <christian.koenig@amd.com>
Subject: DC analog support regressed by "drm/amd/display: Sync dcn42 with DC 3.2.373"
Date: Mon, 13 Apr 2026 15:09:56 +0200 [thread overview]
Message-ID: <7370736.9J7NaK4W3v@timur-max> (raw)
In-Reply-To: <20260306031932.136179-20-alex.hung@amd.com>
Hi,
This patch breaks analog connector support in DCE, both for analog encoders
and DP bridge encoders, because it deletes key functions such as
dce110_enable_analog_link_output, dce110_prepare_ddc,
dce110_external_encoder_control, and more.
With this patch applied, when you connect an analog monitor you just get a
crash in DC from trying to call link->dc->hwss.enable_analog_link_output()
which is now NULL.
This is basically undoing all the work I did for supporting old GPUs with DC.
I think either this commit should be reverted or someone should add back the
analog support bits that were removed. I'm happy to help with that if needed.
What do you guys think?
As a side question, why was this commit merged without any review or ack?
Thanks & best regards,
Timur
On 2026. március 6., péntek 4:13:45 közép-európai nyári idő Alex Hung wrote:
> From: Roman Li <Roman.Li@amd.com>
>
> This patch provides a bulk merge to align driver
> support for DCN42 with Display Core version 3.2.373.
>
> It includes upgrade for:
> - clk_mgr
> - dml2/dml21
> - optc
> - hubp
> - mpc
> - optc
> - hwseq
>
> Signed-off-by: Roman Li <Roman.Li@amd.com>
> Signed-off-by: Alex Hung <alex.hung@amd.com>
> ---
> .../gpu/drm/amd/display/dc/bios/bios_parser.c | 11 +-
> .../display/dc/clk_mgr/dcn42/dcn42_clk_mgr.c | 141 +++--
> .../display/dc/clk_mgr/dcn42/dcn42_clk_mgr.h | 2 +-
> drivers/gpu/drm/amd/display/dc/core/dc.c | 95 ++-
> .../gpu/drm/amd/display/dc/core/dc_stream.c | 41 +-
> .../gpu/drm/amd/display/dc/core/dc_surface.c | 9 +
> drivers/gpu/drm/amd/display/dc/dc.h | 59 +-
> .../gpu/drm/amd/display/dc/dc_bios_types.h | 3 +-
> drivers/gpu/drm/amd/display/dc/dc_hw_types.h | 2 +-
> drivers/gpu/drm/amd/display/dc/dc_plane.h | 1 +
> drivers/gpu/drm/amd/display/dc/dc_types.h | 24 +
> .../amd/display/dc/dccg/dcn401/dcn401_dccg.c | 20 +
> .../drm/amd/display/dc/dce/dmub_hw_lock_mgr.c | 16 +
> .../drm/amd/display/dc/dce/dmub_hw_lock_mgr.h | 13 +
> .../dml2_0/dml21/dml21_translation_helper.c | 30 +-
> .../amd/display/dc/dml2_0/dml21/dml21_utils.c | 1 +
> .../display/dc/dml2_0/dml21/dml21_wrapper.c | 14 +-
> .../dml21/inc/bounding_boxes/dcn42_soc_bb.h | 308 ++++------
> .../dml21/inc/dml_top_display_cfg_types.h | 13 +
> .../dc/dml2_0/dml21/inc/dml_top_types.h | 2 +
> .../dml21/src/dml2_core/dml2_core_dcn4.c | 204 +++----
> .../dml21/src/dml2_core/dml2_core_factory.c | 1 +
> .../dml21/src/dml2_core/dml2_core_utils.c | 63 +-
> .../dml21/src/dml2_core/dml2_core_utils.h | 2 +
> .../dml21/src/dml2_dpmm/dml2_dpmm_dcn4.c | 1 -
> .../dml21/src/dml2_dpmm/dml2_dpmm_factory.c | 1 +
> .../dml2_0/dml21/src/dml2_mcg/dml2_mcg_dcn4.h | 2 +-
> .../dml21/src/dml2_mcg/dml2_mcg_dcn42.h | 5 +-
> .../dml21/src/dml2_mcg/dml2_mcg_factory.c | 1 +
> .../dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c | 6 +
> .../dml21/src/dml2_pmo/dml2_pmo_factory.c | 4 +-
> .../dml21/src/dml2_pmo/dml2_pmo_factory.h | 2 +-
> .../dml21/src/dml2_top/dml2_top_interfaces.c | 1 +
> .../dml21/src/dml2_top/dml2_top_legacy.c | 1 -
> .../src/inc/dml2_internal_shared_types.h | 3 +
> .../drm/amd/display/dc/dml2_0/dml2_wrapper.c | 3 +-
> .../amd/display/dc/dpp/dcn30/dcn30_dpp_cm.c | 2 +
> .../display/dc/dpp/dcn401/dcn401_dpp_dscl.c | 21 +
> .../hpo/dcn31/dcn31_hpo_dp_stream_encoder.c | 5 +
> .../amd/display/dc/hubp/dcn401/dcn401_hubp.c | 201 ++++---
> .../amd/display/dc/hubp/dcn401/dcn401_hubp.h | 23 +-
> .../amd/display/dc/hubp/dcn42/dcn42_hubp.c | 85 ++-
> .../amd/display/dc/hubp/dcn42/dcn42_hubp.h | 16 +-
> .../amd/display/dc/hwss/dce110/dce110_hwseq.c | 136 +++--
> .../amd/display/dc/hwss/dcn401/dcn401_hwseq.c | 412 +++++--------
> .../amd/display/dc/hwss/dcn42/dcn42_hwseq.c | 553 +++---------------
> .../amd/display/dc/hwss/dcn42/dcn42_hwseq.h | 10 +-
> .../amd/display/dc/hwss/dcn42/dcn42_init.c | 8 +-
> drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h | 36 +-
> .../gpu/drm/amd/display/dc/inc/hw/hw_shared.h | 18 +-
> drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h | 112 ++--
> drivers/gpu/drm/amd/display/dc/inc/resource.h | 1 +
> .../amd/display/dc/mpc/dcn401/dcn401_mpc.c | 177 +++---
> .../amd/display/dc/mpc/dcn401/dcn401_mpc.h | 25 +-
> .../drm/amd/display/dc/mpc/dcn42/dcn42_mpc.c | 390 ++----------
> .../drm/amd/display/dc/mpc/dcn42/dcn42_mpc.h | 50 +-
> .../amd/display/dc/optc/dcn10/dcn10_optc.h | 2 +-
> .../amd/display/dc/optc/dcn42/dcn42_optc.c | 105 +++-
> .../amd/display/dc/optc/dcn42/dcn42_optc.h | 13 +-
> .../dc/resource/dcn42/dcn42_resource.c | 10 +-
> .../dcn401/dcn401_soc_and_ip_translator.c | 3 +
> .../dcn42/dcn42_soc_and_ip_translator.c | 12 +-
> .../gpu/drm/amd/display/dmub/inc/dmub_cmd.h | 38 +-
> .../include/asic_reg/dcn/dcn_4_2_0_offset.h | 2 +
> .../include/asic_reg/dcn/dcn_4_2_0_sh_mask.h | 9 +
> 65 files changed, 1596 insertions(+), 1984 deletions(-)
next prev parent reply other threads:[~2026-04-13 13:10 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 3:13 [PATCH 00/21] DC Patches March 05, 2026 Alex Hung
2026-03-06 3:13 ` [PATCH 01/21] drm/amd/display: Clean up NULL pointer warnings in dml2 Alex Hung
2026-03-06 3:13 ` [PATCH 02/21] drm/amd/display: Return early from vesa replay enable function Alex Hung
2026-03-06 3:13 ` [PATCH 03/21] drm/amd/display: Add min clock init for DML21 mode programming Alex Hung
2026-03-06 3:13 ` [PATCH 04/21] drm/amd/display: Set chroma taps to 1 if luma taps are 1 Alex Hung
2026-03-09 20:47 ` Melissa Wen
2026-03-06 3:13 ` [PATCH 05/21] drm/amd/display: Add NV12/P010 formats to primary plane Alex Hung
2026-03-06 3:13 ` [PATCH 06/21] drm/amd/display: Add COLOR_ENCODING/COLOR_RANGE to overlay planes Alex Hung
2026-03-06 3:13 ` [PATCH 07/21] drm/amd/display: Update underflow detection Alex Hung
2026-03-06 3:13 ` [PATCH 08/21] drm/amd/display: Add ESD detection for replay recovery Alex Hung
2026-03-06 3:13 ` [PATCH 09/21] drm/amd/display: Add missing DCCG register entries for DCN20-DCN316 Alex Hung
2026-03-06 3:13 ` [PATCH 10/21] drm/amd/display: Fix HWSS v3 fast path determination Alex Hung
2026-03-06 3:13 ` [PATCH 11/21] drm/amd/display: Add new types to replay config Alex Hung
2026-03-06 3:13 ` [PATCH 12/21] drm/amd/display: Add documentation and cleanup DMUB HW lock manager Alex Hung
2026-03-06 3:13 ` [PATCH 13/21] drm/amd/display: Check for S0i3 to be done before DCCG init on DCN21 Alex Hung
2026-03-06 3:13 ` [PATCH 14/21] drm/amd/display: Fix compile warnings in dml2_0 Alex Hung
2026-03-06 3:13 ` [PATCH 15/21] drm/amd/display: Add back missing memory type in array Alex Hung
2026-03-06 3:13 ` [PATCH 16/21] drm/amd/display: Clean up unused code Alex Hung
2026-03-06 3:13 ` [PATCH 17/21] drm/amd/display: Enable dcn42 DC clk_mgr Alex Hung
2026-03-06 3:13 ` [PATCH 18/21] drm/amd/display: Add DML support for dcn42 Alex Hung
2026-03-06 3:13 ` [PATCH 19/21] drm/amd/display: Sync dcn42 with DC 3.2.373 Alex Hung
2026-04-13 13:09 ` Timur Kristóf [this message]
2026-04-15 18:23 ` DC analog support regressed by "drm/amd/display: Sync dcn42 with DC 3.2.373" Li, Roman
2026-03-06 3:13 ` [PATCH 20/21] drm/amd/display: [FW Promotion] Release 0.1.50.0 Alex Hung
2026-03-06 3:13 ` [PATCH 21/21] drm/amd/display: Promote DC to 3.2.373 Alex Hung
2026-03-09 13:03 ` [PATCH 00/21] DC Patches March 05, 2026 Wheeler, Daniel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7370736.9J7NaK4W3v@timur-max \
--to=timur.kristof@gmail.com \
--cc=Ray.Wu@amd.com \
--cc=airlied@gmail.com \
--cc=alex.hung@amd.com \
--cc=alexander.deucher@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=aurabindo.pillai@amd.com \
--cc=chiahsuan.chung@amd.com \
--cc=christian.koenig@amd.com \
--cc=daniel.wheeler@amd.com \
--cc=harry.wentland@amd.com \
--cc=ivan.lipski@amd.com \
--cc=jerry.zuo@amd.com \
--cc=roman.li@amd.com \
--cc=sunpeng.li@amd.com \
--cc=wayne.lin@amd.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox