mbox series

[v4,0/2] Touch Bar DRM driver for x86 Macs

Message ID B08444CD-38A8-4B82-94B2-4162D6D2EABD@live.com (mailing list archive)
Headers show
Series Touch Bar DRM driver for x86 Macs | expand

Message

Aditya Garg Feb. 24, 2025, 1:37 p.m. UTC
The following patch series aims to add support for the DRM mode of the
Touch Bar found on x86 Macs. The DRM mode enables the Touch Bar to act
as a second display, just like macOS.

The first patch adds emulation helper from XRGB8888 to BGR888 which is
needed by this device and the driver.

The second patch is the main DRM driver, required for the DRM mode.
Currently, only T2 Macs are supported.

Currently, a daemon named tiny-dfr [1] by Asahi Linux supports the
Touch Bar in this mode by displaying the Function and Media keys.
More such daemons can be made with more customisation in the future.

[1]: https://github.com/AsahiLinux/tiny-dfr

Kerem Karabay (2):
  drm/format-helper: Add conversion c
  drm/tiny: add driver for Apple Touch Bars in x86 Macs

 MAINTAINERS                                   |   8 +
 drivers/gpu/drm/drm_format_helper.c           |  54 ++
 .../gpu/drm/tests/drm_format_helper_test.c    |  81 ++
 drivers/gpu/drm/tiny/Kconfig                  |  14 +
 drivers/gpu/drm/tiny/Makefile                 |   1 +
 drivers/gpu/drm/tiny/appletbdrm.c             | 835 ++++++++++++++++++
 include/drm/drm_format_helper.h               |   3 +
 7 files changed, 996 insertions(+)
 create mode 100644 drivers/gpu/drm/tiny/appletbdrm.c