Skip to contentSkip to conversation

drm: panel: quirks: Fix minimum backlight on MECHREVO GM5HG7A

PATCH New takanashi-tetsuya 1 participant 1 message Oct 9

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm: panel: quirks: Fix minimum backlight on MECHREVO GM5HG7A

The MECHREVO Yilong15Pro Series GM5HG7A with a BOE NE153QDM-NZ1 panel has an excessively high minimum screen brightness under Linux. The lowest brightness setting remains visibly brighter than it does under Windows.

Add a panel backlight quirk to override the minimum brightness to zero, scoped to the specific DMI product name and BOE EDID identity.

Tested on a GM5HG7A running Ubuntu kernel 7.3.0-9-generic. With the quirk applied, the backlight can be dimmed further while the image remains visible. The AMDGPU driver confirms the override with:

Applying panel backlight quirk, min_brightness: 0

The quirk and commit description were prepared with ChatGPT assistance. The submitter reviewed the change and tested the module on hardware.

Assisted-by LLM
---
 drivers/gpu/drm/drm_panel_backlight_quirks.c | 10 ++++++++++
 1 file changed, 10 insertions(+)
drivers/gpu/drm/drm_panel_backlight_quirks.c +10 -0
index e417c75..96d85d7 100644
@@ -29,6 +29,16 @@ static const struct drm_get_panel_backlight_quirk drm_panel_min_backlight_quirks
 		.ident.panel_id = drm_edid_encode_panel_id('B', 'O', 'E', 0x08df),
 		.quirk = { .force_pwm = true, },
 	},
+	/* MECHREVO Yilong15Pro GM5HG7A with BOE NE153QDM-NZ1 panel */
+	{
+		.dmi_match.field = DMI_SYS_VENDOR,
+		.dmi_match.value = "MECHREVO",
+		.dmi_match_other.field = DMI_PRODUCT_NAME,
+		.dmi_match_other.value = "Yilong15Pro Series GM5HG7A",
+		.ident.panel_id = drm_edid_encode_panel_id('B', 'O', 'E', 0x0c8e),
+		.ident.name = "NE153QDM-NZ1",
+		.quirk = { .min_brightness = 1, },
+	},
 	/* 13 inch matte panel */
 	{
 		.dmi_match.field = DMI_BOARD_VENDOR,
Signature · 1 line
2.55.0