All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mario Limonciello <mario.limonciello@amd.com>
To: "Timur Kristóf" <timur.kristof@gmail.com>,
	amd-gfx@lists.freedesktop.org, "Wentland,
	Harry" <Harry.Wentland@amd.com>, "Alex Hung" <alex.hung@amd.com>
Subject: Re: [PATCH 0/5] Adjustments to common mode behavior
Date: Wed, 24 Sep 2025 12:48:47 -0500	[thread overview]
Message-ID: <68bff33a-46ef-4518-8b1e-d9d1b3087f2a@amd.com> (raw)
In-Reply-To: <bebbe919-0c5d-4399-a211-c7cf744febdc@gmail.com>

On 9/24/25 12:33 PM, Timur Kristóf wrote:
> 
> 
> On 9/24/25 19:21, Mario Limonciello wrote:
>>
>> On 9/24/25 12:13 PM, Timur Kristóf wrote:
>>>
>>>
>>> On 9/24/25 18:16, Mario Limonciello wrote:
>>>> As part of enablement for SI and CIK in DC Timur pointed out some
>>>> differences in behavior for common mode handling for DC vs non DC
>>>> code paths. This series lines up the behavior between the two
>>>> implementations.
>>>>
>>> Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
>>>
>>> Thank you Mario, this series makes good sense to me.
>>> My only worry is this: is it possible that removing the common modes 
>>> from connectors like DP, HDMI, etc. will regress somebody's setup?
>>
>> Possibly.  We're not going to know until we try.  I generally prefer 
>> not to add common modes (hence why I tried to drop them before until 
>> we hit the Xorg bug report).
>>
>> If someone complains about this then I see two other directions we can 
>> go.
> 
> Sounds good.
> 
> Considering the non-DC code already didn't add those common modes, I 
> think it's reasonable to assume that we would have already heard about 
> it if somebody had issues with it.
> 
>>
>> 1) to make both DC and non-DC paths apply common modes to eDP,LVDS, 
>> DP, HDMI.  Make them not apply common modes to VGA and DVI
>>
>> 2) Enabling common modes /across the board/ but anything not in the 
>> EDID gets the GPU scalar turned on.
> 
> I guess we'll see if any of those are necessary. For now, I'd propose to 
> just consider adding the common modes if there are 0 modes probed. But 
> I'm also OK with leaving that for later if you feel it isn't necessary.
> 

Yeah if something comes up and we need to weight it out we have this 
thread to refer back to for our ideas on what to do.

> A slightly related question, would you be OK with changing the link 
> detection code to return dc_connection_none when DDC cannot read an EDID 
> header on digital signals, similar to how the non-DC code does it?
> 

I personally think lining up all these nuances that are different 
between the two is a good idea.e e

But for that specific question that's probably more of a Harry/Alex Hung 
question.

>>>
>>> Two possible cases come to mind:
>>> 1. When we are unable to read the EDID for some reason
>>> 2. When the EDID is buggy and/or doesn't contain any modes
>>> Are these issues real or am I overthinking it?
>>>
>>> Thanks & best regards,
>>> Timur
>>
>> Failing to read EDID has happened in the past, but I think with the 
>> deferred aux message handling that should be cleared up now.
> 
> I was actually curious about that. I saw that issue while I was working 
> on something else. How is it deferred now? Can you point me to the 
> series that fixed it?
> 

There's more patches than this one, but I believe this was the 💰 patch.

https://lore.kernel.org/amd-gfx/20250428135514.20775-27-ray.wu@amd.com/



  reply	other threads:[~2025-09-24 17:50 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-24 16:16 [PATCH 0/5] Adjustments to common mode behavior Mario Limonciello
2025-09-24 16:16 ` [PATCH 1/5] drm/amd/display: Only enable common modes for eDP and LVDS Mario Limonciello
2025-09-24 17:58   ` Harry Wentland
2025-09-24 16:16 ` [PATCH 2/5] drm/amd: Drop unnecessary check in amdgpu_connector_add_common_modes() Mario Limonciello
2025-09-24 16:16 ` [PATCH 3/5] drm/amd: Use dynamic array size declaration for amdgpu_connector_add_common_modes() Mario Limonciello
2025-09-24 17:05   ` Alex Deucher
2025-09-24 16:16 ` [PATCH 4/5] drm/amd: Drop some common modes from amdgpu_connector_add_common_modes() Mario Limonciello
2025-09-24 16:16 ` [PATCH 5/5] drm/amd: Add name to " Mario Limonciello
2025-09-24 17:07   ` Alex Deucher
2025-09-24 17:13 ` [PATCH 0/5] Adjustments to common mode behavior Timur Kristóf
2025-09-24 17:21   ` Mario Limonciello
2025-09-24 17:33     ` Timur Kristóf
2025-09-24 17:48       ` Mario Limonciello [this message]
2025-09-24 18:11         ` Timur Kristóf
2025-09-24 18:31           ` Mario Limonciello
2025-09-24 21:04             ` Timur Kristóf
2025-09-24 18:24         ` Harry Wentland
2025-09-24 19:11           ` Alex Deucher
2025-09-24 20:00             ` Harry Wentland
2025-09-24 20:07               ` Alex Deucher

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=68bff33a-46ef-4518-8b1e-d9d1b3087f2a@amd.com \
    --to=mario.limonciello@amd.com \
    --cc=Harry.Wentland@amd.com \
    --cc=alex.hung@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=timur.kristof@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.