Dear Linux folks,

On the Dell XPS 13 9310 and the Dell XPS 9315, the VBT entry of the
Sharp panel in use sets the backlight minimum to 15/255 (the other 15
entries say 6/255). With GNOME at its lowest brightness (1 % of
max_brightness), the PWM duty cycle is therefore 6.8 %, which is too
bright for the lowest level.

amdgpu already takes such corrections from the DRM panel backlight quirk
table. Patch 1 makes i915 (and so xe) consult it in
get_backlight_min_vbt(), patches 2 and 3 add the two systems, matched by
DMI and panel ID. With the series, the lowest GNOME position gives 1 %.

The series is based on v7.4-rc4 and applies cleanly to drm-tip
(2026-11-27). Patches 2 and 3 only touch the shared quirk table; for
Intel systems they take effect with patch 1.

Even 1 % is brighter than wanted on the XPS 9315 (0.25 % was judged
best by eye), but going lower is up to the desktop: GNOME/mutter never
sets less than 1 % of max_brightness.

The patches and messages were prepared with Claude Code
(claude-opus-5-5) and tested on both laptops; I reviewed them. Test
details are in the notes below the --- of each patch.


Kind regards,

Paul


Paul Menzel (3):
  drm/i915/backlight: Honor panel backlight quirk for minimum brightness
  drm: panel-backlight-quirks: Add Dell XPS 13 9310 FHD+ panel
  drm: panel-backlight-quirks: Add Dell XPS 9315 FHD+ panel

 drivers/gpu/drm/drm_panel_backlight_quirks.c   | 18 ++++++++++++++++++
 drivers/gpu/drm/i915/Kconfig                   |  1 +
 drivers/gpu/drm/i915/display/intel_backlight.c | 15 +++++++++++++++
 drivers/gpu/drm/xe/Kconfig                     |  1 +
 4 files changed, 35 insertions(+)


base-commit: b6a9fa34ce4187cb69d3c588a4bbffc31ce5db8f
-- 
2.54.0

Reply via email to