linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/4] drm: Add driver for PowerPC OF displays
@ 2022-09-22 11:33 Thomas Zimmermann
  2022-09-22 11:33 ` [PATCH v3 1/4] drm/ofdrm: Add ofdrm for Open Firmware framebuffers Thomas Zimmermann
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Thomas Zimmermann @ 2022-09-22 11:33 UTC (permalink / raw)
  To: javierm, airlied, daniel, deller, maxime, sam, msuchanek, mpe,
	benh, paulus, geert, mark.cave-ayland
  Cc: linux-fbdev, linuxppc-dev, Thomas Zimmermann, dri-devel

PowerPC's Open Firmware offers a simple display buffer for graphics
output. Add ofdrm, a DRM driver for the device. As with the existing
simpledrm driver, the graphics hardware is pre-initialized by the
firmware. The driver only provides blitting, no actual DRM modesetting
is possible.

For version 3 of this patchset, all preparatory changes have been
merged into the DRM codebase. Only ofdrm changes are left.

Patch 1 adds ofdrm, which has again been significantly reworked.
The FWFB library has been removed infavor of various functions in
existing DRM helper libraries. Ofdrm now supports damage iterators
and synchronization for imported GEM BOs.

Patches 2 to 4 add support for color management. The code has been
taken from fbdev's offb. I have no hardware available for testing the
functionality. Qemu's stdvga apparently does not support gamma tables
in RGB modes. I verified that the color management code is executed
by running Gnome's night-mode settings, but the display's color tone
does not change.

Thomas Zimmermann (4):
  drm/ofdrm: Add ofdrm for Open Firmware framebuffers
  drm/ofdrm: Add CRTC state
  drm/ofdrm: Add per-model device function
  drm/ofdrm: Support color management

 MAINTAINERS                   |    1 +
 drivers/gpu/drm/tiny/Kconfig  |   13 +
 drivers/gpu/drm/tiny/Makefile |    1 +
 drivers/gpu/drm/tiny/ofdrm.c  | 1351 +++++++++++++++++++++++++++++++++
 drivers/video/fbdev/Kconfig   |    1 +
 5 files changed, 1367 insertions(+)
 create mode 100644 drivers/gpu/drm/tiny/ofdrm.c


base-commit: a7d5d07d5ac5ac58ec81932b3f732e3127d17af9
-- 
2.37.3


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

end of thread, other threads:[~2022-09-27 15:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-22 11:33 [PATCH v3 0/4] drm: Add driver for PowerPC OF displays Thomas Zimmermann
2022-09-22 11:33 ` [PATCH v3 1/4] drm/ofdrm: Add ofdrm for Open Firmware framebuffers Thomas Zimmermann
2022-09-23  7:14   ` Geert Uytterhoeven
2022-09-23  7:41     ` Thomas Zimmermann
2022-09-27 15:33     ` Thomas Zimmermann
2022-09-22 11:33 ` [PATCH v3 2/4] drm/ofdrm: Add CRTC state Thomas Zimmermann
2022-09-22 11:33 ` [PATCH v3 3/4] drm/ofdrm: Add per-model device function Thomas Zimmermann
2022-09-22 11:33 ` [PATCH v3 4/4] drm/ofdrm: Support color management Thomas Zimmermann
2022-09-23  7:18   ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).