Skip to content

drm/vkms: Add gamma 2.2 and 2.4 1D curve colorops

Robert Mader dri-devel lkml llvm oe-kbuild-all 2 versions New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v14 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Avoid overflow in test
- Fix wrong values in gamma22_inv_eotf

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4drm/vkms: Fix inverse lut naming scheme in scriptdrivers/gpu/drm/vkms/scripts/color-curve-lut.py+11 -110 replies
2/4drm/vkms: Make LUT test reusabledrivers/gpu/drm/vkms/tests/vkms_color_test.c+24 -80 replies
3/4drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA22drivers/gpu/drm/vkms/tests/vkms_color_test.c drivers/gpu/drm/vkms/vkms_colorop.c drivers/gpu/drm/vkms/vkms_composer.c +2 more+777 -10 replies
4/4drm/vkms: Add support for DRM_COLOROP_1D_CURVE_GAMMA24drivers/gpu/drm/vkms/scripts/color-curve-lut.py drivers/gpu/drm/vkms/tests/vkms_color_test.c drivers/gpu/drm/vkms/vkms_colorop.c +3 more+893 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/4] drm/vkms: Add gamma 2.2 and 2.4 1D curve colorops

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(-)
Signature · 1 line
2.56.1