Skip to content

drm/apple: present the T6030 panel at 120 Hz - #536

Closed
ParaN3xus wants to merge 1 commit into
omacom:integration/aurorafrom
ParaN3xus:t6030-swap-timestamps
Closed

ParaN3xus wants to merge 1 commit into
omacom:integration/aurorafrom
ParaN3xus:t6030-swap-timestamps

Conversation

@ParaN3xus

Copy link
Copy Markdown

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).

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.
@ParaN3xus

Copy link
Copy Markdown
Author

Closing in favor of #484, which carries this same change (cachebag's time-stamp commit) plus the locked 60 Hz mode and the board-test update. Apologies for the duplicate — verified the fix independently on a J516S and will add the numbers to #484.

@ParaN3xus ParaN3xus closed this Nov 28, 2026
@greptile-apps

greptile-apps Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Confidence Score: 4/5 · Update the existing board test before merging; it currently rejects the intended T6030 behavior.RetriggerView in GreptileConfidence Score: 4/5

[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

  1. P1 Display tests now fail ▶

Summary

Enables swap timestamps for the T6030 internal panel using the existing timestamp helper.

  • T6030 swaps now carry timestamps for 120 Hz panel output.

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,

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Display tests now fail

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant