Repository navigation
Conversation
The J516S panel is the 120 Hz variable-refresh one; its swaps carry no timestamps, so the firmware shows them at 60 Hz. Stamp them, as the J516C record already does for the same panel.
[Medium impact] The change affects display timing on internal T6030 panels. Update the existing board test before merging; it currently rejects the intended T6030 behavior. Findings
SummaryEnables swap timestamps for the T6030 internal panel using the existing timestamp helper.
Reviews (1) · Last reviewed commit: "drm/apple: present the T6030 panel at 12..." · Reviewed by Greptile |
| .firmware_uuid = DCP_V14_FIRMWARE_UUID, | ||
| .handoff = "apple,t6030-handoff", | ||
| .promotion = true, | ||
| .swap_timestamps = true, |
There was a problem hiding this comment.
Enabling swap_timestamps makes two existing assertions in v14_board_swap_timestamps() fail. The test still expects both t6030_b->swap_timestamps and dcp_v14_board_stamps_swaps(t6030_b, false) to be false, so the display KUnit suite fails with this change.
Update those expectations and the nearby comments to match the intended behavior. Keep coverage that external processors send zero timestamps.
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Enables swap timestamps on the T6030 (M3 Pro) board record so the built-in J516S ProMotion panel presents at 120 Hz instead of 60 Hz.
Verified on MacBook Pro 16-inch M3 Pro (J516S, T6030): swap completion went from 16.667 ms (60 fps) to 8.333 ms (120 fps).