https://bugzilla.kernel.org/show_bug.cgi?id=221648
--- Comment #3 from [email protected] ([email protected]) --- Full ACPI analysis, which supersedes the diagnosis in the original report. I disassembled all 25 tables (DSDT + 24 SSDTs) from board 8D2F, BIOS F.14, and repeated the dump in both firmware graphics modes. The tables are identical in Hybrid and Discrete, so none of this depends on the boot mode. Correction first: my original claim that _BCM/_BCL/_BQC are parented only under the NVIDIA subtree is wrong. They appear three times. Once in the DSDT under the NVIDIA subtree, and twice in SSDT14, in the two child devices of the Intel GFX0 node. They are reachable from the iGPU side. What they do: SSDT14, GFX0 side: Method (_BCM, 1, NotSerialized) { If (((Arg0 >= Zero) && (Arg0 <= 0x64))) { \_SB.PC00.GFX0.AINT (One, Arg0) BRTL = Arg0 } } Method (AINT, 2, NotSerialized) { ... If ((Arg0 == One)) { BCL1 = ((Arg1 * 0xFF) / 0x64) BCL1 |= 0x80000000 } Return (Zero) } DSDT, NVIDIA side: Method (_BCM, 1, NotSerialized) { If (((Arg0 >= Zero) && (Arg0 <= 0x64))) { BCLP = ((Arg0 * 0xFF) / 0x64) BCLP |= 0x80000000 ASLC = 0x02 DBRL = Arg0 } } The SSDT14 OpRegion field list declares, at Offset (0x200): BCL1, BCL2, CBL1, CBL2, then BCM1, BCM2, ARDY, ASLC, TCHE, ALSI, BCLP and the rest. Searching all 25 tables: BCL1 declared once, written twice (both inside AINT), never read BCL2, CBL1, CBL2 declarations only, never read, never written ECPW, EWRM absent EmbeddedControl exactly one region, ERAM (0xFF bytes) in the DSDT, with no path to it from any brightness method So both _BCM implementations publish a scaled, valid-flagged brightness value into an Intel OpRegion mailbox field and return. Nothing in the firmware ever reads those fields back, and nothing writes the embedded controller. For comparison, on sibling boards 8D41 and 8D42 (HP OMEN MAX 16-ah0xxx) the consumer exists: the NVIDIA WMI LEVEL SET method reads CBL1, ignores the level passed in the WMI buffer, and writes the result to an EC field. An owner of an 8D42 confirmed by disassembly that this method is the only code reading CBL1 on that board. Board 8D2F has no such method and does not expose the WMI GUID at all. Consequences for this bug: 1. The native interface is not merely unused, it is terminated. intel_backlight registers, accepts writes and reports them back, and its PWM does not reach the panel. Calling _BCM, from either subtree, writes into a mailbox nobody reads. 2. Therefore no DMI quirk in video_detect.c can help here, in any direction. I would like that on record so nobody spends time on it. 3. The panel backlight is driven by the NVIDIA GPU. With the firmware graphics switch set to Discrete, nvidia_0 appears and brightness works normally. In Hybrid the dGPU registers no backlight because the eDP is routed to the iGPU. One question for ACPI maintainers, which is the only part of this that may belong here. The NVIDIA-side _BCM sets ASLC = 0x02 together with BCLP, which is the ASLE backlight-control request encoding. Is there any mechanism in the kernel, in the ACPI video layer or in i915, that is expected to consume an ASLE backlight request raised this way, or is that path purely firmware-to-driver and only meaningful when the firmware also raises the interrupt? If the answer is that nothing consumes it, then this firmware has a producer with no consumer and the bug is entirely a firmware defect, which is how I have reported it to HP. The active discussion is at https://github.com/NVIDIA/open-gpu-kernel-modules/issues/1202 . The disassembled DSDT attached to this report is still current. I can attach the full set of 25 disassembled tables if anyone wants them. -- 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
