mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mario Limonciello <superm1@kernel.org>
To: Hugo Sales <hugo@hsal.es>,
	maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	tzimmermann@suse.de, dri-devel@lists.freedesktop.org
Cc: airlied@gmail.com, simona@ffwll.ch, alexander.deucher@amd.com,
	harry.wentland@amd.com, amd-gfx@lists.freedesktop.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] drm: panel-backlight-quirks: Add ASUS ROG Flow X13 3840x2400 panel
Date: Mon, 2 Nov 2026 17:13:10 -0600	[thread overview]
Message-ID: <7b87b864-7896-4260-aad6-a78687201c0f@kernel.org> (raw)
In-Reply-To: <20261031134551.2735792-1-hugo@hsal.es>

On 10/31/26 08:45, Hugo Sales wrote:
> On an ASUS ROG Flow X13 GV301QH (BIOS 418) ATIF
> QUERY_BACKLIGHT_TRANSFER_CHARACTERISTICS answers with a minimum input
> signal of 12 and 49 curve points for the Sharp LQ134R1JW51 panel, and
> amdgpu logs "Using custom brightness curve". With that minimum,
> brightness 0 gives 4.7% duty
> 
> With the quirk, brightness 0 sends PWM 0 (read back from
> amdgpu_current_backlight_pwm in debugfs). The panel stays lit, but much
> dimmer than the old 4.7% floor. Its LED driver has a minimum of its own,
> so 0 does not turn the backlight off
> 
> linux-hardware.org also lists this panel in a GV301QE. Match the ASUS
> vendor and the panel, as the Framework 13 entries do, and let the
> brightness reach the bottom of the PWM range
> 
> Signed-off-by: Hugo Sales <hugo@hsal.es>
> ---
> I could only test this on a GV301QH. The entry matches any ASUS laptop
> with this panel, and linux-hardware.org only lists it in ROG Flow X13s,
> one of them a GV301QE. If you'd rather limit it to the GV301QH, I can
> add a DMI_BOARD_NAME match in v2
> 
>   drivers/gpu/drm/drm_panel_backlight_quirks.c | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/drivers/gpu/drm/drm_panel_backlight_quirks.c b/drivers/gpu/drm/drm_panel_backlight_quirks.c
> index 2d0238382ebd5..b60333e748741 100644
> --- a/drivers/gpu/drm/drm_panel_backlight_quirks.c
> +++ b/drivers/gpu/drm/drm_panel_backlight_quirks.c
> @@ -69,6 +69,14 @@ static const struct drm_get_panel_backlight_quirk drm_panel_min_backlight_quirks
>   		.dmi_match_other.value = "Galileo",
>   		.quirk = { .min_brightness = 1, },
>   	},
> +	/* ASUS ROG Flow X13 3840x2400 panel */
> +	{
> +		.dmi_match.field = DMI_SYS_VENDOR,
> +		.dmi_match.value = "ASUSTeK COMPUTER INC.",
> +		.ident.panel_id = drm_edid_encode_panel_id('S', 'H', 'P', 0x151b),
> +		.ident.name = "LQ134R1JW51",
> +		.quirk = { .min_brightness = 1, },
> +	},
>   	/* Have OLED Panels with brightness issue when last byte is 0/1 */
>   	{
>   		.dmi_match.field = DMI_SYS_VENDOR,


Was this from looking at a datasheet or from empirical measurements? 
The reason it was safe to do on the Framework panel was because there 
was a confirmation the datasheet allowed a lower value.

We don't want to be damaging hardware running it outside of spec.

  reply	other threads:[~2026-11-02 23:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-31 13:45 Hugo Sales
2026-11-02 23:13 ` Mario Limonciello [this message]
2026-11-03  0:30   ` Hugo Sales

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=7b87b864-7896-4260-aad6-a78687201c0f@kernel.org \
    --to=superm1@kernel.org \
    --cc=airlied@gmail.com \
    --cc=alexander.deucher@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=harry.wentland@amd.com \
    --cc=hugo@hsal.es \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maarten.lankhorst@linux.intel.com \
    --cc=mripard@kernel.org \
    --cc=simona@ffwll.ch \
    --cc=tzimmermann@suse.de \
    /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

all inboxes | Powered by JetHome®