From: Alex Hung <alex.hung@amd.com>
To: "Timur Kristóf" <timur.kristof@gmail.com>,
"Ray Wu" <ray.wu@amd.com>,
amd-gfx@lists.freedesktop.org
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>,
Ivan Lipski <ivan.lipski@amd.com>,
Mario Limonciello <mario.limonciello@amd.com>
Subject: Re: [PATCH 11/13] drm/amd/display: Fix black screen with HDMI outputs
Date: Wed, 29 Oct 2025 09:56:44 -0600 [thread overview]
Message-ID: <e8e43ab9-a3a5-4510-8934-eb75c7f0b650@amd.com> (raw)
In-Reply-To: <0756e73047c861ccaa326134e723d09722fe5ccb.camel@gmail.com>
On 10/29/25 02:07, Timur Kristóf wrote:
> Hi,
>
> On Wed, 2025-10-29 at 11:02 +0800, Ray Wu wrote:
>> From: Alex Hung <alex.hung@amd.com>
>>
>> [Why & How]
>> This fixes the black screen issue on certain APUs with HDMI,
>> accompanied by the following messages:
>>
>> amdgpu 0000:c4:00.0: amdgpu: [drm] Failed to setup vendor info
>> frame on connector DP-1: -22
>> amdgpu 0000:c4:00.0: [drm] Cannot find any crtc or sizes [drm]
>> Cannot find any crtc or sizes
>>
>> Fixes: 99ff9bc57b02 ("drm/amd/display: Fix DVI-D/HDMI adapters")
>> Suggested-by: Timur Kristóf <timur.kristof@gmail.com>
>> Reviewed-by: Harry Wentland <harry.wentland@amd.com>
>> Signed-off-by: Alex Hung <alex.hung@amd.com>
>> Signed-off-by: Ray Wu <ray.wu@amd.com>
>> ---
>> drivers/gpu/drm/amd/display/dc/link/link_detection.c | 5 +++++
>> 1 file changed, 5 insertions(+)
>>
>> diff --git a/drivers/gpu/drm/amd/display/dc/link/link_detection.c
>> b/drivers/gpu/drm/amd/display/dc/link/link_detection.c
>> index c417780f37bc..e8566a5218fc 100644
>> --- a/drivers/gpu/drm/amd/display/dc/link/link_detection.c
>> +++ b/drivers/gpu/drm/amd/display/dc/link/link_detection.c
>> @@ -1252,11 +1252,16 @@ static bool detect_link_and_local_sink(struct
>> dc_link *link,
>> sink->edid_caps.analog)
>> sink->sink_signal = SIGNAL_TYPE_RGB;
>>
>> + if (sink->sink_signal != link->connector_signal)
>> + DC_LOG_WARNING("sink_signal (%d) does not
>> match connector_signal (%d)\n",
>> + sink->sink_signal, link-
>>> connector_signal);
>> +
>
>
> We should not print warnings for things that occur during normal
> operation. Warning is incorrect because the different signal type is
> normal and expected on certain connectors, for example:
>
> - DVI-I: the signal type may be DVI (dual or single link) or RGB
> - DP: the signal type may be DP, DVI or HDMI (for dongles)
> - HDMI: the signal type may be HDMI or DVI (without native audio)
>
> My recommendation is the following:
> 1. Change the warning to a debug message (DC_LOG_DC)
> 2. Move it a few lines below where the sink_signal is determined.
>
> Thanks & best regards,
> Timur
>
Thanks. This message may not needed at all.
>> /* HDMI-DVI Dongle */
>> if (sink->sink_signal == SIGNAL_TYPE_HDMI_TYPE_A &&
>> !sink->edid_caps.edid_hdmi)
>> sink->sink_signal =
>> SIGNAL_TYPE_DVI_SINGLE_LINK;
>> else if (dc_is_dvi_signal(sink->sink_signal) &&
>> + dc_is_dvi_signal(link->connector_signal) &&
>> aud_support->hdmi_audio_native &&
>> sink->edid_caps.edid_hdmi)
>> sink->sink_signal = SIGNAL_TYPE_HDMI_TYPE_A;
next prev parent reply other threads:[~2025-10-29 15:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-29 3:02 [PATCH 00/13] DC Patches November 3, 2025 Ray Wu
2025-10-29 3:02 ` [PATCH 01/13] drm/amd/display: fw locality check refactors Ray Wu
2025-10-29 3:02 ` [PATCH 02/13] drm/amd/display: Extend inbox0 lock to run Replay/PSR Ray Wu
2025-10-29 3:02 ` [PATCH 03/13] drm/amd/display: Add pte_buffer_mode and force_one_row_for_frame in dchub reg Ray Wu
2025-10-29 3:02 ` [PATCH 04/13] drm/amd/display: Remove old PMO options Ray Wu
2025-10-29 3:02 ` [PATCH 05/13] drm/amd/display: Update P-state naming for clarity Ray Wu
2025-10-29 3:02 ` [PATCH 06/13] drm/amd/display: Refactor VActive implementation Ray Wu
2025-10-29 3:02 ` [PATCH 07/13] drm/amd/display: Add Pstate viewport reduction Ray Wu
2025-10-29 3:02 ` [PATCH 08/13] drm/amd/display: Persist stream refcount through restore Ray Wu
2025-10-29 3:02 ` [PATCH 09/13] drm/amd/display: Revert DCN4 max buffered cursor size to 64 Ray Wu
2025-10-29 3:02 ` [PATCH 10/13] drm/amd/display: Increase IB mem size Ray Wu
2025-10-29 3:02 ` [PATCH 11/13] drm/amd/display: Fix black screen with HDMI outputs Ray Wu
2025-10-29 8:07 ` Timur Kristóf
2025-10-29 15:56 ` Alex Hung [this message]
2025-10-29 3:03 ` [PATCH 12/13] drm/amd/display: [FW Promotion] Release 0.1.34.0 Ray Wu
2025-10-29 3:03 ` [PATCH 13/13] drm/amd/display: Promote DC to 3.2.357 Ray Wu
2025-11-03 13:59 ` [PATCH 00/13] DC Patches November 3, 2025 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=e8e43ab9-a3a5-4510-8934-eb75c7f0b650@amd.com \
--to=alex.hung@amd.com \
--cc=amd-gfx@lists.freedesktop.org \
--cc=aurabindo.pillai@amd.com \
--cc=chiahsuan.chung@amd.com \
--cc=daniel.wheeler@amd.com \
--cc=harry.wentland@amd.com \
--cc=ivan.lipski@amd.com \
--cc=jerry.zuo@amd.com \
--cc=mario.limonciello@amd.com \
--cc=ray.wu@amd.com \
--cc=roman.li@amd.com \
--cc=sunpeng.li@amd.com \
--cc=timur.kristof@gmail.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