Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm: panel-backlight-quirks: Add Steam Deck brightness quirk

On the SteamOS kernel, Valve universally makes minimum brightness 0
for all devices. SteamOS is (was?) meant for the Steam Deck, so
enabling it universally is reasonable. However, it causes issues in
certain devices. Therefore, introduce it just for the Steam Deck here.

SteamOS kernel does not have a public mirror, but this replaces commit
806dd74bb225 ("amd/drm: override backlight min value from 12 -> 0")
in the latest, as of this writing, SteamOS kernel (6.11.11-valve24).
See unofficial mirror reconstructed from sources below.

Link: https://gitlab.com/evlaV/linux-integration/-/commit/806dd74bb225
Reviewed-by: Robert Beckett <bob.beckett@collabora.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Antheas Kapenekakis <lkml@antheas.dev>
Link: https://lore.kernel.org/r/20250829145541.512671-6-lkml@antheas.dev
Signed-off-by: Mario Limonciello (AMD) <superm1@kernel.org>

authored by

Antheas Kapenekakis and committed by
Mario Limonciello (AMD)
bf0365b0 aef10b11

+15
+15
drivers/gpu/drm/drm_panel_backlight_quirks.c
··· 45 45 .ident.name = "NE135A1M-NY1", 46 46 .quirk = { .min_brightness = 1, }, 47 47 }, 48 + /* Steam Deck models */ 49 + { 50 + .dmi_match.field = DMI_SYS_VENDOR, 51 + .dmi_match.value = "Valve", 52 + .dmi_match_other.field = DMI_PRODUCT_NAME, 53 + .dmi_match_other.value = "Jupiter", 54 + .quirk = { .min_brightness = 1, }, 55 + }, 56 + { 57 + .dmi_match.field = DMI_SYS_VENDOR, 58 + .dmi_match.value = "Valve", 59 + .dmi_match_other.field = DMI_PRODUCT_NAME, 60 + .dmi_match_other.value = "Galileo", 61 + .quirk = { .min_brightness = 1, }, 62 + }, 48 63 /* Have OLED Panels with brightness issue when last byte is 0/1 */ 49 64 { 50 65 .dmi_match.field = DMI_SYS_VENDOR,