public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Touch Bar DRM driver for x86 Macs
@ 2025-02-24 13:37 Aditya Garg
  2025-02-24 13:38 ` [PATCH v4 1/2] drm/format-helper: Add conversion from XRGB8888 to BGR888 Aditya Garg
  2025-02-24 13:40 ` [PATCH v4 2/2] drm/tiny: add driver for Apple Touch Bars in x86 Macs Aditya Garg
  0 siblings, 2 replies; 47+ messages in thread
From: Aditya Garg @ 2025-02-24 13:37 UTC (permalink / raw)
  To: maarten.lankhorst@linux.intel.com, mripard@kernel.org,
	tzimmermann@suse.de, airlied@gmail.com, simona@ffwll.ch,
	andriy.shevchenko@linux.intel.com
  Cc: Kerem Karabay, Atharva Tiwari, Aun-Ali Zaidi,
	Linux Kernel Mailing List, dri-devel@lists.freedesktop.org

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

-- 
2.43.0


^ permalink raw reply	[flat|nested] 47+ messages in thread

end of thread, other threads:[~2025-02-28 12:25 UTC | newest]

Thread overview: 47+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-24 13:37 [PATCH v4 0/2] Touch Bar DRM driver for x86 Macs Aditya Garg
2025-02-24 13:38 ` [PATCH v4 1/2] drm/format-helper: Add conversion from XRGB8888 to BGR888 Aditya Garg
2025-02-24 14:29   ` andriy.shevchenko
2025-02-24 14:54     ` Aditya Garg
2025-02-24 15:00       ` andriy.shevchenko
2025-02-24 15:03         ` Aditya Garg
2025-02-24 15:03         ` andriy.shevchenko
2025-02-25  7:37     ` Thomas Zimmermann
2025-02-25 10:24       ` andriy.shevchenko
2025-02-24 13:40 ` [PATCH v4 2/2] drm/tiny: add driver for Apple Touch Bars in x86 Macs Aditya Garg
2025-02-24 14:00   ` andriy.shevchenko
2025-02-24 14:32     ` Aditya Garg
2025-02-24 14:57       ` andriy.shevchenko
2025-02-24 15:03         ` Aditya Garg
2025-02-24 15:11           ` andriy.shevchenko
2025-02-24 15:20             ` Aditya Garg
2025-02-24 15:32               ` Aditya Garg
2025-02-24 15:38                 ` andriy.shevchenko
2025-02-24 15:40                   ` Aditya Garg
2025-02-24 15:52                     ` andriy.shevchenko
2025-02-24 15:56                       ` Aditya Garg
2025-02-24 16:14                         ` Aditya Garg
2025-02-24 16:14                         ` andriy.shevchenko
2025-02-24 16:38                           ` Aditya Garg
2025-02-24 15:36               ` andriy.shevchenko
2025-02-24 15:39                 ` Aditya Garg
2025-02-24 15:49                   ` andriy.shevchenko
2025-02-24 15:52                     ` Aditya Garg
2025-02-24 16:12                       ` andriy.shevchenko
2025-02-24 16:58   ` Aditya Garg
2025-02-25  7:56     ` Thomas Zimmermann
2025-02-25  8:02       ` Aditya Garg
2025-02-25  8:46         ` Thomas Zimmermann
2025-02-25  9:04       ` Aditya Garg
2025-02-25  9:07         ` Aditya Garg
2025-02-25  9:35           ` Thomas Zimmermann
2025-02-25  9:37             ` Aditya Garg
2025-02-25 10:01               ` Aditya Garg
2025-02-25  7:52   ` Thomas Zimmermann
2025-02-25  8:00     ` Aditya Garg
2025-02-25  8:48       ` Thomas Zimmermann
2025-02-25 10:28         ` andriy.shevchenko
2025-02-27 16:54   ` kernel test robot
2025-02-27 17:28     ` Aditya Garg
2025-02-28 12:25       ` andriy.shevchenko
2025-02-27 23:22   ` kernel test robot
2025-02-27 23:59   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox