mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 11:33:36 -04:00
This patch introduces a VKMS color pipeline that includes two drm_colorops for named transfer functions. For now the only ones supported are sRGB EOTF, sRGB Inverse EOTF, and a Linear TF. We will expand this in the future but I don't want to do so without accompanying IGT tests. We introduce a new vkms_luts.c file that hard-codes sRGB EOTF, sRGB Inverse EOTF, and a linear EOTF LUT. These have been generated with 256 entries each as IGT is currently testing only 8 bpc surfaces. We will likely need higher precision but I'm reluctant to make that change without clear indication that we need it. We'll revisit and, if necessary, regenerate the LUTs when we have IGT tests for higher precision buffers. Signed-off-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Reviewed-by: Daniel Stone <daniels@collabora.com> Reviewed-by: Louis Chauvet <louis.chauvet@bootlin.com> Signed-off-by: Simon Ser <contact@emersion.fr> Link: https://patch.msgid.link/20251115000237.3561250-16-alex.hung@amd.com
18 lines
336 B
Makefile
18 lines
336 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
vkms-y := \
|
|
vkms_drv.o \
|
|
vkms_plane.o \
|
|
vkms_output.o \
|
|
vkms_formats.o \
|
|
vkms_crtc.o \
|
|
vkms_composer.o \
|
|
vkms_writeback.o \
|
|
vkms_connector.o \
|
|
vkms_config.o \
|
|
vkms_configfs.o \
|
|
vkms_colorop.o \
|
|
vkms_luts.o
|
|
|
|
obj-$(CONFIG_DRM_VKMS) += vkms.o
|
|
obj-$(CONFIG_DRM_VKMS_KUNIT_TEST) += tests/
|