mbox series

[0/5] drm/vkms: Add support for multiple plane formats

Message ID 20240516-b4-new-color-formats-v1-0-74cf9fe07317@bootlin.com (mailing list archive)
Headers show
Series drm/vkms: Add support for multiple plane formats | expand

Message

Louis Chauvet May 16, 2024, 1:18 p.m. UTC
This series introduce a macro to generate a function to read simple
formats. It avoid duplication of the same logic for similar formats.

PATCH 1 is the introduction of the macro and adaptation of the existing
code to avoid duplication
PATCH 2-5 introduce new formats with the help of this macro.

This series must be applied on top of [1].

[1] https://lore.kernel.org/all/20240516-yuv-v8-0-cf8d6f86430e@bootlin.com/

Signed-off-by: Louis Chauvet <louis.chauvet@bootlin.com>
---
Louis Chauvet (5):
      drm/vkms: Create helpers macro to avoid code duplication in format  callbacks
      drm/vkms: Add support for ARGB8888 formats
      drm/vkms: Add support for ARGB16161616 formats
      drm/vkms: Add support for RGB565 formats
      drm/vkms: Add support for RGB888 formats

 drivers/gpu/drm/vkms/vkms_formats.c | 218 ++++++++++++++++++------------------
 drivers/gpu/drm/vkms/vkms_plane.c   |  11 ++
 2 files changed, 123 insertions(+), 106 deletions(-)
---
base-commit: 96b4d11bd9ea36c20bd3428e0932c209ce2e2d36
change-id: 20240312-b4-new-color-formats-1be9d688b21a

Best regards,