Message ID | 20240818-amdgpu-min-backlight-quirk-v5-4-b6c0ead0c73d@weissschuh.net (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm: Minimum backlight overrides and implementation for amdgpu | expand |
On 8/18/2024 01:56, Thomas Weißschuh wrote: > From: "Dustin L. Howett" <dustin@howett.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@howett.net> When you send someone else's patch you need to add your own S-o-b as well. Please add that for v6. Otherwise: Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> > --- > drivers/gpu/drm/drm_panel_backlight_quirks.c | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > > diff --git a/drivers/gpu/drm/drm_panel_backlight_quirks.c b/drivers/gpu/drm/drm_panel_backlight_quirks.c > index f2aefff618dd..c477d98ade2b 100644 > --- a/drivers/gpu/drm/drm_panel_backlight_quirks.c > +++ b/drivers/gpu/drm/drm_panel_backlight_quirks.c > @@ -25,6 +25,22 @@ 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", > + .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", > + .min_brightness = 0, > + }, > }; > > static bool drm_panel_min_backlight_quirk_matches(const struct drm_panel_min_backlight_quirk *quirk, >
diff --git a/drivers/gpu/drm/drm_panel_backlight_quirks.c b/drivers/gpu/drm/drm_panel_backlight_quirks.c index f2aefff618dd..c477d98ade2b 100644 --- a/drivers/gpu/drm/drm_panel_backlight_quirks.c +++ b/drivers/gpu/drm/drm_panel_backlight_quirks.c @@ -25,6 +25,22 @@ 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", + .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", + .min_brightness = 0, + }, }; static bool drm_panel_min_backlight_quirk_matches(const struct drm_panel_min_backlight_quirk *quirk,