All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pei-Hsin Yang <peihsiny@valvesoftware.com>
To: "Michel Dänzer" <michel.daenzer@mailbox.org>
Cc: "amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>
Subject: RE: [External Mail] Re: Test result / finding of "drm/amd/display: Consult MCCS FreeSync cap only if requested & supported"
Date: Wed, 20 May 2026 15:54:25 +0000	[thread overview]
Message-ID: <16231b1742004f848af243ce398281ec@valvesoftware.com> (raw)
In-Reply-To: <7a9021cd-fd78-4b0d-846b-135d0d72224e@mailbox.org>

Hi Michel,

> Tested with 3 HDMI sinks with different FreeSync/HDMI VRR capabilities.  I saw one case that a FreeSync sink (Dell S2721HS) with E6h VCP code supported was detected as FreeSync capable at beginning but identified as not FreeSync capable later – after do_mccs is changed from true to false.

>> And that doesn't happen without my patch applied?

There are other issues without your patch applied.   One issue is that if a FreeSync capable sink with MCCS VCP Code = 0 (mostly are TVs), it will be detected as not FreeSync supported and VRR will be disabled.

>> TBH I don't really want to be fixing the regression I hit, I'd prefer the AMD display team to handle it.

Yes, agreed.  As FreeSync MCCS support has immediate impacts to Valve's Steam devices, I will work with AMD display team to handle it.   HDMI 2.1 VRR and VTEM packet sending support need to be included as well.

Thanks,
Pei-Hsin

-----Original Message-----
From: Michel Dänzer <michel.daenzer@mailbox.org> 
Sent: Wednesday, May 20, 2026 12:49 AM
To: Pei-Hsin Yang <peihsiny@valvesoftware.com>
Cc: amd-gfx@lists.freedesktop.org
Subject: [External Mail] Re: Test result / finding of "drm/amd/display: Consult MCCS FreeSync cap only if requested & supported"

On 5/19/26 22:12, Pei-Hsin Yang wrote:
> 
> Here is my test result and finding after applying Michel Dänzer’s patch on May 18, 2026 to SteamOS 6.16 branch.
> 
>  
> 
> Applied patch from Michael Dänzer to SteamOS 6.16.
> 
>  
> 
> Tested with 3 HDMI sinks with different FreeSync/HDMI VRR capabilities.  I saw one case that a FreeSync sink (Dell S2721HS) with E6h VCP code supported was detected as FreeSync capable at beginning but identified as not FreeSync capable later – after do_mccs is changed from true to false.

And that doesn't happen without my patch applied?


> I understood the recent implementation to determine freesync_capable is trusting hardware (via MCCS VCP transaction) over EDID.  But in real world application, it does cause certain false detection to inadvertently disable the VRR.
> 
>  
> 
> My opinion is: If EDID has AMD FreeSync VSDB specified with valid refresh rate range, then it should be determined as FreeSync capable.  As for MCCS VCP Code support, it is used to send Set command to sink to enable/disable the VRR handling.  Result of dm_helpers_read_mccs_caps() at runtime should not override the freesync_capable value.  Because the impact of MCCS VCP Code Set command failure is significantly lower than the disabling VRR when sink is capable.

I basically agree.


TBH I don't really want to be fixing the regression I hit, I'd prefer the AMD display team to handle it.


-- 
Earthling Michel Dänzer       \        GNOME / Xwayland / Mesa developer
https://redhat.com             \               Libre software enthusiast


  reply	other threads:[~2026-05-21  7:01 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-19 20:12 Test result / finding of "drm/amd/display: Consult MCCS FreeSync cap only if requested & supported" Pei-Hsin Yang
2026-05-20  7:49 ` Michel Dänzer
2026-05-20 15:54   ` Pei-Hsin Yang [this message]
2026-05-21  7:09     ` [External Mail] " Michel Dänzer
2026-05-22 22:15       ` Pei-Hsin Yang
2026-05-26 13:55         ` Michel Dänzer
2026-05-26 15:04           ` Pei-Hsin Yang
2026-05-28 11:17       ` Thorsten Leemhuis
2026-05-28 22:02         ` Deucher, Alexander
2026-06-04  7:42           ` Michel Dänzer
2026-06-04 13:20             ` Alex Deucher
2026-06-04 13:58               ` Michel Dänzer
2026-06-04 17:21                 ` [External Mail] " Pei-Hsin Yang
2026-06-05  7:42                   ` Michel Dänzer
2026-06-05 14:43                     ` 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=16231b1742004f848af243ce398281ec@valvesoftware.com \
    --to=peihsiny@valvesoftware.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=michel.daenzer@mailbox.org \
    /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.