https://bugzilla.kernel.org/show_bug.cgi?id=221648

--- Comment #2 from [email protected] ([email protected]) ---
Update, including a correction to my own diagnosis in this report.

The BIOS exposes a Graphics Switch with three positions. I tested all three on
board 8D2F, BIOS F.14:

  Hybrid                      -> only intel_backlight, writes accepted and read
back, panel does not change
  UMA (discrete GPU disabled) -> only intel_backlight, panel displays normally,
brightness still dead
  Discrete (NVIDIA only)      -> nvidia_0 appears, brightness works normally
with graded control

The sysfs test in UMA mode:

  $ ls /sys/class/backlight/
  intel_backlight
  $ sudo sh -c 'echo 3840 > /sys/class/backlight/intel_backlight/brightness'
  $ cat
/sys/class/backlight/intel_backlight/{brightness,actual_brightness,max_brightness}
  3840
  3840
  38400

What this changes:

1. My original framing in this report was that the _BCM/_BCL/_BQC methods are
parented outside GFX0 and that i915 therefore never calls them. That may still
be true of the ACPI tree, but it is not the operative cause. The panel
backlight is driven by the NVIDIA GPU, and it works correctly whenever that GPU
drives the panel.

2. In Hybrid mode the NVIDIA driver registers no backlight device at all,
because the internal eDP is routed to the iGPU. i915 registers intel_backlight,
which accepts writes and reports them back, but its PWM does not reach this
panel.

3. Consequently a video_detect.c DMI quirk would not help here. Forcing native
registers an interface that is already registered and already inert. I want
that on record so the next person reading this bug does not spend time on that
path.

4. The firmware does not advertise WMI GUID
603E9613-EF25-4338-A3D0-C46177516DB7, so nvidia_wmi_ec_backlight cannot bind
either. In Hybrid mode there is no path at all between the display driver and
the only working backlight control.

On current evidence this looks like a driver and firmware gap rather than an
ACPI core issue, so I am not asking for action here. I have moved the active
discussion to https://github.com/NVIDIA/open-gpu-kernel-modules/issues/1202 ,
where I asked whether the NVIDIA driver can expose the internal panel's
backlight while the eDP is routed to the iGPU.

One item here may still be of interest to ACPI maintainers, as it is
independent of graphics. Every boot aborts two firmware WMI methods on an
off-by-one:

  ACPI Error: Aborting method \_SB.WMID.WQBZ due to previous error
(AE_AML_BUFFER_LIMIT)
  ACPI Error: Aborting method \_SB.WMID.WQBE due to previous error
(AE_AML_BUFFER_LIMIT)

The AML indexes 0x32 of a 0x32-byte buffer. Seven milliseconds later hp-bioscfg
fails with error 0x3, and /sys/class/firmware-attributes/hp-bioscfg/attributes/
ends up with three entries, one of them named with a 0x0E control character
instead of the full set of BIOS settings. Reported to HP as a firmware defect.
If this is worth tracking separately rather than inside this bug, I am happy to
file it where it belongs.

The disassembled DSDT attached to this report is still current; the firmware
has not changed.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to