Skip to content

dcp on m3 devices - #608

Open
sofus13 wants to merge 7 commits into
AsahiLinux:asahi-wip-7.2from
sofus13:m3-dcp
Open

dcp on m3 devices#608
sofus13 wants to merge 7 commits into
AsahiLinux:asahi-wip-7.2from
sofus13:m3-dcp

Conversation

@sofus13

@sofus13 sofus13 commented Sep 9, 2026

Copy link
Copy Markdown

there is some overlap with #607

Comment thread drivers/gpu/drm/apple/iomfb_v14_7.c Outdated
[113] = trampoline_true, /* create_nvram_service? */
//[114] = trampoline_get_tiling_state,
//[115] = trampoline_false, /* set_tiling_state */
[115] = trampoline_false, /* set_tiling_state */

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is actually get_tiling_state on 14.7, D116 is the set equivalent. See a-ramses's PR.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

i will drop this in favor of a-ramses's PR

<0x2 0x8f348000 0x0 0x4000>, /* dummy ? */
<0x2 0x8f800000 0x0 0x800000>;
apple,bw-scratch = <&pmgr_dcp 0 5 0x988>;
apple,iomfb-surfaces = <1 1 0 1>;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Have we tested various combinations of surface? I'm hoping that we have less buggy nonsense on the M3+ DCPs.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

How can that be tested? I installed and tried kwin with KWIN_USE_OVERLAYS=1, but i think its only using two planes.

Comment thread arch/arm64/boot/dts/apple/t8122.dtsi Outdated
};

dcp: dcp@28ec00000 {
compatible = "apple,t6030-dcp", "apple,dcp";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The base DCPs run slightly different firmware to the Pro/Max DCPs, so this probably needs a t8122-dcp compatible

Signed-off-by: sofus <sofus.c@icloud.com>
Signed-off-by: sofus <sofus.c@icloud.com>
Signed-off-by: sofus <sofus.c@icloud.com>
Signed-off-by: sofus <sofus.c@icloud.com>
Signed-off-by: sofus <sofus.c@icloud.com>
Signed-off-by: sofus <sofus.c@icloud.com>
@sofus13 sofus13 changed the title dcp on m3 devices (internal display only) dcp on m3 devices Sep 9, 2026
@sofus13

sofus13 commented Sep 9, 2026

Copy link
Copy Markdown
Author

i added dcpext nodes for t8122 and t603[124]

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.

2 participants