Repository navigation
drm/apple: enable the J615 panel brightness path - #3092
Conversation
The J615 board record does not admit panel nits, so the working 14.7 display session never registers a backlight device: /sys/class/backlight is empty on the 15-inch M3 MacBook Air and brightness controls do nothing. The J615 runs the J613 DCP image (DCP_V14_J613_FIRMWARE_UUID) on the same T8122 DCP, and its device tree carries apple,max-brightness like the J613. Admit the J615 to the nits path the same way the J613 is admitted, keeping the firmware UUID and display handoff checks. J514C remains excluded. Run the existing swap-level KUnit case for J615 as well, and move it out of the boards whose production path must stay untouched. Signed-off-by: Eric Juta <ericjohnjuta@gmail.com>
|
Merge readiness at
Areas: Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
satchlj
left a comment
There was a problem hiding this comment.
Gemini 4 Neon on @satchlj's behalf
Verdict at 30d8fd8d2710
Approve — minimal, clean enablement of the existing panel_nits brightness path for J615 with matching KUnit test updates.
Blockers
None for code review.
Note on merge readiness: As noted in Not yet and pr-readiness, a standalone exact-head J615 hardware boot row at 30d8fd8d2710 (outside the local 7.3 combined build) is still owed before merge.
Checked
- Full static audit of both changed files (
+18/-10):drivers/gpu/drm/apple/dcp.c: sets.panel_nits = trueondcp_v14_board_j615and addsmachine_is(ctx, "apple,j615")todcp_v14_panel_nits_admit(), matching J613's admitted path without altering non-J615 boards.drivers/gpu/drm/apple/iomfb_v14_7_backlight_test.c: addsv14_bl_j615_swap_levelsverifying J615 swap-level behavior and removes J615 fromv14_bl_other_boards_untouched.
- CI at
30d8fd8d2710: all completed checks SUCCESS (kunit,host-tests,pr-text,readiness, policy checks). - Untested scope: no local J615 hardware boot performed (static diff + CI verification only).
Evidence
- Changed files (2):
drivers/gpu/drm/apple/dcp.c,drivers/gpu/drm/apple/iomfb_v14_7_backlight_test.c(+18/-10). - CI:
kunit,host-tests,pr-textall green at30d8fd8d2710.
|
Verdict: FINISH, then merge at Blockers: The live merge conflicts in Checked: The older combined J615 row is the baseline. At the forwarded head, please record actual brightness changes with the normal kernel and a peer on the shared code. |
Signed-off-by: Eric Juta <ericjohnjuta@gmail.com>
Signed-off-by: Eric Juta <ericjohnjuta@gmail.com>
Signed-off-by: Eric Juta <ericjohnjuta@gmail.com>
Signed-off-by: Eric Juta <ericjohnjuta@gmail.com>
|
Hardware regression request — J613 or J504 internal panel. No result yet. Source: Can someone with a J613 or J504 on the v14.7 internal-panel path do a same-head backlight check? J615 coverage is being prepared separately. Before the test, record the behavior and boot errors on your normal packaged kernel. In the test boot, change between two well-separated nonzero brightness levels in both directions; verify the panel visibly changes, record requested/actual levels, and restore the starting level. Return to the known-good default and verify the panel again. Source-only build and boot kitIn a fresh checkout on arm64, with the normal Aurora build dependencies: git init linux-pr3092 && cd linux-pr3092
git fetch --depth=1 https://github.com/ericjuta/linux.git 52bc662b3fde6fc5858fbe7308c72b3ac7e69400
git switch --detach FETCH_HEAD
mkdir out
cp /path/to/your/packaged-aurora.config out/.config
scripts/config --file out/.config --disable LOCALVERSION_AUTO --set-str LOCALVERSION -pr3092-52bc662b3fde
make ARCH=arm64 LLVM=1 LOCALVERSION= O=out olddefconfig
make ARCH=arm64 LLVM=1 LOCALVERSION= O=out -j4 Image modules dtbsUse your regular packaged settings and your lab's one-shot boot procedure with a known-good fallback. Preserve the loader's live DT and reservations, and do not change Stage 1 or the permanent default. Report board/chip, source head, kernel version, any command-line or handoff differences, measured levels and visible result, failed units, new kernel errors, SELinux denials if applicable, and restore status. No raw serials or hardware logs needed. |
|
Row at Kernel: main ba29027 + this PR + #3093 (both merge cleanly), on the default fleet command line. Non-default one-shot boot, then restored.
Still open: a J613 or J504 control boot. Scott offered J613 rows on #2147. |
|
J615 hardware PASS — tested head |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Audited full diff and all 5 commits at 52bc662: clean 2-line enablement in dcp_v14_board_j615 (.panel = apple,panel-j615 and .panel_nits = true) matching the J504 panel-node selection pattern with matching KUnit and host panel-test updates, leaving J613/J504/J514C untouched. Both independent exact-head J615 hardware rows passed cleanly; ready to merge once the remaining KUnit CI jobs finish.
What: Enable the existing v14.7 nits path for the J615 internal panel. Select its record using
apple,panel-j615on the DCP's panel node, following the J504 path, rather than admitting a machine compatible.Tested: arm64 QEMU backlight KUnit 22/22, panel admission/geometry host tests passed, checkpatch 0 errors and 0 warnings. No exact-head hardware result yet.
Risk: two-way · J615 internal panel on the v14.7 DCP path; a revert restores machine-based admission. The J504 and J613 backlight paths are unchanged.
Not yet: Actual panel brightness changes on J615 and a J613 or J504 control boot on the normal boot setup, with restore verified. Prior combined-kernel measurements do not count for this head.
Evidence
mainat49fc037eeby merge, not by rewriting the branch. Head:52bc662b3fde6fc5858fbe7308c72b3ac7e69400.dcp_v14_backlight*: 22 passed, including the J615 level-swap test and the selector checks for J504 and J615 with and without their panel nodes. Last commit changes only a test comment.python3 tools/asahi/dcp14-panel-tests.py: passed J615/J613/J504 and existing T6030/J516C/J514C panel admission and geometry controls.