[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240817-drm-add-additional-framework-laptop-displays-to-panel-backlight-quirks-v1-1-cfdd5dbbffc8@howett.net>
Date: Sat, 17 Aug 2024 13:59:26 -0500
From: "Dustin L. Howett" <dustin@...ett.net>
To: Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>, Daniel Vetter <daniel@...ll.ch>,
Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
Harry Wentland <harry.wentland@....com>, Leo Li <sunpeng.li@....com>,
Rodrigo Siqueira <Rodrigo.Siqueira@....com>,
Mario Limonciello <mario.limonciello@....com>,
Matt Hartley <matt.hartley@...il.com>, Kieran Levin <ktl@...mework.net>,
Hans de Goede <hdegoede@...hat.com>,
Jani Nikula <jani.nikula@...ux.intel.com>, Xinhui Pan <Xinhui.Pan@....com>,
Jonathan Corbet <corbet@....net>,
Thomas Weißschuh <linux@...ssschuh.net>
Cc: dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
"Dustin L. Howett" <dustin@...ett.net>
Subject: [PATCH] drm: panel-backlight-quirks: Add Framework 13 glossy and
2.8k panels
This patch depends on
20240812-amdgpu-min-backlight-quirk-v4-0-56a63ff897b7@...ssschuh.net
I have tested these panels on the Framework Laptop 13 AMD with firmware
revision 3.05 (latest at time of submission).
---
Signed-off-by: Dustin L. Howett <dustin@...ett.net>
---
drivers/gpu/drm/drm_panel_backlight_quirks.c | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/drivers/gpu/drm/drm_panel_backlight_quirks.c b/drivers/gpu/drm/drm_panel_backlight_quirks.c
index c58344cdbb6e..348cf68729f9 100644
--- a/drivers/gpu/drm/drm_panel_backlight_quirks.c
+++ b/drivers/gpu/drm/drm_panel_backlight_quirks.c
@@ -24,6 +24,24 @@ static const struct drm_panel_min_backlight_quirk drm_panel_min_backlight_quirks
.ident.name = "NE135FBM-N41",
.min_brightness = 0,
},
+ /* 13 inch glossy panel */
+ {
+ .dmi_match.field = DMI_BOARD_VENDOR,
+ .dmi_match.value = "Framework",
+ .ident.panel_id = drm_edid_encode_panel_id('B', 'O', 'E', 0x095f),
+ .ident.name = "NE135FBM-N41",
+ .quirk.overrides.pwm_min_brightness = true,
+ .quirk.pwm_min_brightness = 0,
+ },
+ /* 13 inch 2.8k panel */
+ {
+ .dmi_match.field = DMI_BOARD_VENDOR,
+ .dmi_match.value = "Framework",
+ .ident.panel_id = drm_edid_encode_panel_id('B', 'O', 'E', 0x0cb4),
+ .ident.name = "NE135A1M-NY1",
+ .quirk.overrides.pwm_min_brightness = true,
+ .quirk.pwm_min_brightness = 0,
+ },
};
static bool drm_panel_min_backlight_quirk_matches(const struct drm_panel_min_backlight_quirk *quirk,
---
base-commit: da62c6801838309f5c64cd0520f7bd758edb7d4b
change-id: 20240817-drm-add-additional-framework-laptop-displays-to-panel-backlight-quirks-804c13d639ef
Best regards,
--
Dustin L. Howett <dustin@...ett.net>
Powered by blists - more mailing lists