Skip to content

Commit 34e482e

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 255b854 commit 34e482e

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
@@ -561,7 +561,8 @@ static int apple_drm_init_dcp(struct device *dev)
561561
of_node_put(np);
562562
continue;
563563
}
564-
dcp_ext = of_device_is_compatible(np, "apple,dcpext");
564+
dcp_ext = of_device_is_compatible(np, "apple,dcpext") ||
565+
of_property_present(np, "phys");
565566

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

0 commit comments

Comments
 (0)