Repository navigation
Backlight: AIO kernel route and apple-panel-bl priority - #12267
Chessing234 wants to merge 3 commits into
Conversation
Automated AI review
Two conditions let the new all-in-one fallback adjust the built-in panel when a different display was targeted. Both are described below. Verified: The
Fallback ignores which display was targeted
On nouveau, this can also affect a DDC-capable external DP monitor, according to source reading of ddcutil 3.0.2 and Linux (not tested on hardware). nouveau names each DP AUX I2C adapter after its connector (for example Impact: Brightness keys and the Display panel slider for the external display change the built-in panel instead, and the panel shows the built-in panel's value for the external monitor. This is the wrong-screen effect the laptop guard is meant to prevent. Before this PR, these requests failed. Suggested change: Only fall back when the named monitor can be tied to the backlight. For example, fall back when it is the only connected non-internal DRM connector, or the only connected connector that A failed
|
A second connected output missing from ddcutil detect must not steer the built-in panel's brightnessctl device.
|
addressed the review: backlight fallback only when the named monitor is the unique connected connector missing from ddcutil detect. |
5fb88b8 to
6ad4296
Compare
Automated AI review
Follow-up to the earlier review and the author's reply, checked at Verified: The wrong-display fallback is fixed for the reported case, and a failed The rebase kept the first two commits unchanged. Only Earlier findings
Verified, fallback now checks the named display. The fallback applies only when the named monitor is the only connected DRM connector that The new repository test catches this. It passes on Verified, failed detect. Correction, nouveau sub-claim. The earlier review said that ddcutil skips nouveau DP AUX adapters, so external DP monitors on nouveau would not be listed. A closer reading of Linux 7.2 and ddcutil 3.0.2 suggests the opposite. nouveau also registers Built-in panel listed by
|
|
Reviewed at What ran. On a disposable Omarchy worker: Apple Silicon (#8125). With All-in-ones (#8015). The fallback only runs on exit 3, which means That same topology causes the wrong-display write. Take an iMac whose built-in Smaller points. Second opinion. Codex Medium reviewed the same head. It agreed that the fallback won't fire for a listed but unresponsive panel. Independence isn't guaranteed, since it can read this session. It raised the wrong-display case and the card-prefix problem on its own. I reproduced the wrong-display case in the probe above and confirmed the card prefix by reading the code. It found nothing wrong with the exit-status plumbing or with the reordered step path. Next. This is waiting on @Chessing234. A way forward is to split the two fixes. The |
Summary
Same changes as #8053 #8131 , folded so review is one place.
Test plan
Fixes #8125