History log of /openbsd/sys/dev/pci/drm/apple/apldcp.c (Results 1 – 3 of 3)
Revision Date Author Comments
# ff7b876d 18-Aug-2024 kettenis <kettenis@openbsd.org>

Some machines have more than one DCP, so apldcp(4) can attach multiple
times. So make the task pool private to each instance to avoid
initializing the pool again, which would panic the kernel.

ok t

Some machines have more than one DCP, so apldcp(4) can attach multiple
times. So make the task pool private to each instance to avoid
initializing the pool again, which would panic the kernel.

ok tobhe@

show more ...


# e24fbf55 12-Jul-2024 tobhe <tobhe@openbsd.org>

Add pool to allocate individual rtkit task arguments instead of passing a
shared argument. This fixes a race condition where a message could overwrite
rtkep->msg of a previously scheduled task resul

Add pool to allocate individual rtkit task arguments instead of passing a
shared argument. This fixes a race condition where a message could overwrite
rtkep->msg of a previously scheduled task resulting in a refcounting error later
on causing the screen to stay dark after waking up from suspend.

ok kettenis@

show more ...


# 5dd0baa8 22-Jan-2024 kettenis <kettenis@openbsd.org>

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

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@

show more ...