summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2024-01-22 18:54:02 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2024-01-22 18:54:02 +0000
commit2040ec5f29fad10126f5c794a53f00458637314b (patch)
tree2c14c65cd060369d71538d6e98d4dc90620a56a4 /sys/arch
parentb56e3fb80a5b9275952636ac4605a5353fad588a (diff)
Add apldcp(4) and apldrm(4). Together these drivers provide KMS
functionality on Apple Silicom machines. At this point the drivers provide significant power savings when the display is blanked (and during suspend) and backlight control. Some support for HDMI output is also included, but for now only when HDMI is used as the primary output. In the future this should also provide displayport support. This is a port of the the Asahi Linux drivers which can be found at https://github.com/AsahiLinux/linux/tree/asahi-wip Note that this branch gets rebased from time to time. These drivers do *not* bring us GPU accelerated graphics. But there are reports that things run "smoother". There are some known bugs with backlight control: the backlight level may not be restored properly after the display has been blanked, and changing the backlight quickly un succession may break the backlight control. ok jsg@
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/arm64/conf/GENERIC6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/arm64/conf/GENERIC b/sys/arch/arm64/conf/GENERIC
index 8887c01536a..f2f64edcf91 100644
--- a/sys/arch/arm64/conf/GENERIC
+++ b/sys/arch/arm64/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.280 2024/01/19 06:59:10 mlarkin Exp $
+# $OpenBSD: GENERIC,v 1.281 2024/01/22 18:54:01 kettenis Exp $
#
# GENERIC machine description file
#
@@ -161,8 +161,12 @@ apldckbd* at apldchidev?
wskbd* at apldckbd? mux 1
apldcms* at apldchidev?
wsmouse* at apldcms? mux 0
+apldcp* at fdt?
apldma* at fdt?
apldog* at fdt? early 1
+apldrm* at fdt?
+drm* at apldrm?
+wsdisplay* at apldrm?
aplefuse* at fdt? early 1
apliic* at fdt?
iic* at apliic?