CVSROOT: /cvs Module name: src Changes by: jmatt...@cvs.openbsd.org 2025/06/02 04:25:01
Modified files: sys/dev/pci/drm/include/acpi: video.h sys/dev/pci/drm/i915/display: intel_opregion.c sys/dev/pci/drm: drm_linux.c Log message: Ignore inteldrm opregion backlight requests if we're using native backlight control. These are still generated on AC power changes on a variety of laptops, but since they're supposed to be ignored, the brightness level often doesn't make sense. To do this, implement acpi_video_get_backlight_type() by checking if there's a ws_get_param function that supports the WSDISPLAYIO_PARAM_BRIGHTNESS property, as done in inteldrm_init_backlight(). fixes strange brightness changes on my X13 gen 1, lucas@'s X13 gen 2, and kn@'s T14 gen 3; no change on older laptops such as my X240 or jsg@'s X40 ok jsg@ kettenis@