[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240516-b4-new-color-formats-v1-0-74cf9fe07317@bootlin.com>
Date: Thu, 16 May 2024 15:18:16 +0200
From: Louis Chauvet <louis.chauvet@...tlin.com>
To: Rodrigo Siqueira <rodrigosiqueiramelo@...il.com>,
Melissa Wen <melissa.srw@...il.com>,
MaĆra Canal <mairacanal@...eup.net>,
Haneen Mohammed <hamohammed.sa@...il.com>, Daniel Vetter <daniel@...ll.ch>,
Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
Maxime Ripard <mripard@...nel.org>, Thomas Zimmermann <tzimmermann@...e.de>,
David Airlie <airlied@...il.com>
Cc: dri-devel@...ts.freedesktop.org, arthurgrillo@...eup.net,
linux-kernel@...r.kernel.org, jeremie.dautheribes@...tlin.com,
miquel.raynal@...tlin.com, thomas.petazzoni@...tlin.com,
seanpaul@...gle.com, marcheu@...gle.com, nicolejadeyee@...gle.com,
Louis Chauvet <louis.chauvet@...tlin.com>
Subject: [PATCH 0/5] drm/vkms: Add support for multiple plane formats
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@...tlin.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,
--
Louis Chauvet <louis.chauvet@...tlin.com>
Powered by blists - more mailing lists