Skip to content

Commit 3eb5b88

Browse files
committed
drm: apple: Handle dcps with "phys" property as dcpext
Required for dp-altmode on M2 Mac Mini which will use dcp to drive dp-altmode. Signed-off-by: Janne Grunau <j@jannau.net>
1 parent eec72f9 commit 3eb5b88

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/gpu/drm/apple/apple_drv.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,8 @@ static int apple_drm_init_dcp(struct device *dev)
562562
of_node_put(np);
563563
continue;
564564
}
565-
dcp_ext = of_device_is_compatible(np, "apple,dcpext");
565+
dcp_ext = of_device_is_compatible(np, "apple,dcpext") ||
566+
of_property_present(np, "phys");
566567

567568
dcp[num_dcp] = of_find_device_by_node(np);
568569
of_node_put(np);

0 commit comments

Comments
 (0)