From: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
To: cengjianeng <cengjianeng@huaqin.corp-partner.google.com>
Cc: dri-devel@lists.freedesktop.org, dri-misc@lists.freedesktop.org
Subject: Re: [PATCH v2] drm/edid: prefer highest refresh mode within native resolution on eDP
Date: Thu, 3 Dec 2026 14:33:56 +0200 [thread overview]
Message-ID: <axFhtKzeV0bNMRj3@intel.com> (raw)
In-Reply-To: <axFgLeH-mXuFB8Y1@intel.com>
On Thu, Dec 03, 2026 at 02:27:25PM +0200, Ville Syrjälä wrote:
> On Thu, Dec 03, 2026 at 11:46:01AM +0800, cengjianeng wrote:
> > From: Jianeng Ceng <cengjianeng@huaqin.corp-partner.google.com>
> >
> > Some eDP panels advertise the same native resolution at multiple refresh
> > rates, but mark the lowest refresh rate (typically 60Hz) as the preferred
> > mode in their EDID. The panel is capable of multi-refresh-rate operation
> > and is meant to be driven at its highest refresh rate by default, so the
> > kernel hands userspace a preferred mode below the panel capability. The
> > compositor then picks a non-preferred mode, or keeps the panel at its
> > lowest refresh rate until userspace makes an explicit choice.
>
> I think one thing we're missing is considering the DisplayID vs. EDID
> factor in the selection of the preferred mode. IIRC DisplayID is maybe
> supposed to take precedence over the EDID, at least in some cases.
> And IIRC there is also some kind of mode preference EDID block
> that we're not using.
>
> It seems to me that this patch would basically amount to just removing
> the idea of the preferred mode completely, and just picking the first
> mode from the sorted list.
Fastboot stuff might also be impacted here if we don't end up picking
the same preferred mode at the firmware.
--
Ville Syrjälä
Intel
prev parent reply other threads:[~2026-12-03 12:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-02 12:01 [PATCH] drm/edid: prefer highest refresh mode within native resolution on eDP cengjianeng
2026-12-02 12:18 ` sashiko-bot
2026-12-03 3:47 ` Jianeng Ceng
2026-12-03 3:46 ` [PATCH v2] " cengjianeng
2026-12-03 3:59 ` sashiko-bot
2026-12-03 12:01 ` Jani Nikula
2026-12-03 12:27 ` Ville Syrjälä
2026-12-03 12:33 ` Ville Syrjälä [this message]
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=axFhtKzeV0bNMRj3@intel.com \
--to=ville.syrjala@linux.intel.com \
--cc=cengjianeng@huaqin.corp-partner.google.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=dri-misc@lists.freedesktop.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox