Skip to content

drm/apple: Use an ARGB fbdev console on firmware 27 too - #1364

Merged
DjDeveloperr merged 1 commit into
funkzy/t6050-gpu-on-integrationfrom
fix/m5-fbdev-argb-fw27
Nov 10, 2026
Merged

DjDeveloperr merged 1 commit into
funkzy/t6050-gpu-on-integrationfrom
fix/m5-fbdev-argb-fw27

Conversation

@DjDeveloperr

Copy link
Copy Markdown
Contributor

Problem

On the MacBook Pro 14" M5 Pro (J714sAP, T6050) the internal panel stays black from the DCP takeover until a compositor draws its first frame. A console-only boot stays black for good.

Cause

apple_drm_fbdev_probe() asks for a depth-32 (ARGB8888) console only when fw_compat == DCP_FIRMWARE_H17P. T6050 runs DCP firmware 27 (DCP_FIRMWARE_V_27_0, firmware-compat 27.0.0), and apple_dcp_hw_t6050 has the default method profile, not H17G. Firmware 27 takes the H17P swap transport and, like H17P, blends the fourth byte of an XRGB surface as alpha. The driver sends it no opaque-X property (iomfb_enqueue_opaque_x() returns early on firmware 27). So fbcon's XRGB8888 console, which stores X = 0, scans out transparent. Compositors' frames show because GL renderers store 0xff in X.

The fix adds DCP_FIRMWARE_V_27_0 to the condition. H17P, which includes the H17G method profile (T8142), keeps its ARGB console as before.

This needs #1012, which brings firmware-27 support; integration/aurora doesn't have DCP_FIRMWARE_V_27_0 yet. That's why this PR targets #1012's branch.

Measurement (J714s, 2026-11-09)

Same boot chain (aura 099f46bb, same DT, same vars.txt with the notch on, mode 3024x1964). The only change is this commit, built on test/m5-integration 8478a3d as 7.3.0-m5-argb with the same config.

7.3.0-m5-integration (before) 7.3.0-m5-argb (this fix)
fbcon framebuffer (debugfs) fb 116 XR24 3024x1964 fb 116 AR24 3024x1964
byte 3 of the first 1 MiB of /dev/fb0 (262144 pixels) 0x00 on all of them (9356 lit pixels) 0xff on all of them (14633 lit pixels)
Hyprland on eDP-1 up up (its XR24 framebuffer on plane-2, eDP-1 connected and enabled)
SSH after systemctl reboot yes yes, at uptime 23 s

Nobody has yet confirmed by eye that the console text now shows on the panel; the measurement shows the console pixels are now stored opaque.

No other change in the health read: Wi-Fi, BT, PCIe, the GPU (aurora card0, renderD128), the camera, cpufreq and WFI all come up, and the kernel logged 0 oopses or warnings.

🤖 Generated with Claude Code

T6050 (M5 Pro) runs DCP firmware 27, which takes the H17P swap
transport and, like H17P, blends the fourth byte of an XRGB surface
as alpha; the driver sends it no opaque-X property. The fbdev probe
asks for depth 32 only on H17P, so the J714s console came up as
XRGB8888 with X = 0, and the panel stayed black from the DCP takeover
until a compositor drew its first frame (GL renderers store 0xff in X).

Ask for ARGB8888 on firmware 27 as well. H17P, which covers the H17G
method profile, keeps its ARGB console.

Signed-off-by: Diljit Singh <[email protected]>
@DjDeveloperr
DjDeveloperr changed the base branch from funkzy/t6050-gpu-on-integration to dj/g17-m5-compute-cursor-snapshot November 10, 2026 09:11
@DjDeveloperr
DjDeveloperr force-pushed the fix/m5-fbdev-argb-fw27 branch from 09862c4 to cd371f9 Compare November 10, 2026 09:11
@DjDeveloperr
DjDeveloperr changed the base branch from dj/g17-m5-compute-cursor-snapshot to funkzy/t6050-gpu-on-integration November 10, 2026 10:21
@DjDeveloperr
DjDeveloperr merged commit 8a7b85d into funkzy/t6050-gpu-on-integration Nov 10, 2026
@RyanTheTide
RyanTheTide deleted the fix/m5-fbdev-argb-fw27 branch November 16, 2026 05:07
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