This series implements two LUTs that are typically used for SDR content and falls into the context of pre- and post-blend pipelines.
It depends on the first commit of https://lore.kernel.org/dri-devel/[email protected]/ and is implemented in the following Weston MR: https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/2157 In that MR the curves are further tested to match the corresponding Weston GL implementations. Changes in v2: - Avoid overflow in test - Fix wrong values in gamma22_inv_eotf Robert Mader (4): drm/vkms: Fix inverse lut naming scheme in script drm/vkms: Make LUT test reusable drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA22 drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA24 .../gpu/drm/vkms/scripts/color-curve-lut.py | 40 +- drivers/gpu/drm/vkms/tests/vkms_color_test.c | 44 +- drivers/gpu/drm/vkms/vkms_colorop.c | 6 +- drivers/gpu/drm/vkms/vkms_composer.c | 26 + drivers/gpu/drm/vkms/vkms_luts.c | 1607 +++++++++++++++++ drivers/gpu/drm/vkms/vkms_luts.h | 4 + 6 files changed, 1704 insertions(+), 23 deletions(-) -- 2.56.1
