Article 6J45B KMS for Apple silicon machines

KMS for Apple silicon machines

by
from OpenBSD Journal on (#6J45B)

Mark Kettenis (kettenis@)committedsupport forKernel Mode-Setting (KMS)on Apple silicon(arm64)machines:

CVSROOT:/cvsModule name:srcChanges by:kettenis@cvs.openbsd.org2024/01/22 11:54:01Modified files:sys/arch/arm64/conf: GENERIC sys/dev/pci/drm: files.drm sys/dev/pci/drm/include/generated: autoconf.h Added files:sys/dev/pci/drm/apple: afk.c afk.h apldcp.c apldrm.c apple_drv.c dcp-internal.h dcp.c dcp.h dcp_backlight.c dptxep.c dptxep.h ibootep.c iomfb.c iomfb.h iomfb_internal.h iomfb_template.c iomfb_template.h iomfb_v12_3.c iomfb_v12_3.h iomfb_v13_3.c iomfb_v13_3.h parser.c parser.h systemep.c trace.c trace.h version_utils.h sys/dev/pci/drm/include/linux: apple-mailbox.h args.h sys/dev/pci/drm/include/linux/soc/apple: rtkit.h Log message:Add apldcp(4) and apldrm(4). Together these drivers provide KMSfunctionality on Apple Silicom machines. At this point the driversprovide significant power savings when the display is blanked (andduring suspend) and backlight control. Some support for HDMI outputis 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 athttps://github.com/AsahiLinux/linux/tree/asahi-wipNote that this branch gets rebased from time to time.These drivers do *not* bring us GPU accelerated graphics. But thereare reports that things run "smoother".There are some known bugs with backlight control: the backlight levelmay not be restored properly after the display has been blanked, andchanging the backlight quickly un succession may break the backlightcontrol.ok jsg@

Read more...

External Content
Source RSS or Atom Feed
Feed Location http://undeadly.org/cgi?action=rss
Feed Title OpenBSD Journal
Feed Link http://undeadly.org/
Reply 0 comments