[igt-dev] [RFC PATCH 0/7] IGT tests for the KMS Color Pipeline API
Harry Wentland
harry.wentland at amd.com
Fri Sep 8 15:03:08 UTC 2023
This series introduces support for
* drm_colorop DRM objects
* COLOR_PIPELINE plane property
Kernel changes:
https://gitlab.freedesktop.org/hwentland/linux/-/merge_requests/5
libdrm changes:
https://gitlab.freedesktop.org/hwentland/drm/-/merge_requests/1
It also adds a new kms_colorop test case that tests the color pipeline
API. The tests are designed to be easily extensible with a "transform"
and "compare" function pointer for each test. The "transform" function
performs the transformations under test via SW routines. The "compare"
function compares the DRM/KMS result (via a writeback connector) with
the result derived via the SW "transform".
Currently there is only one test for a single sRGB EOTF. I would like
to expand this to a more complex color pipeline, using VKMS.
Cc: Ville Syrjala <ville.syrjala at linux.intel.com>
Cc: Pekka Paalanen <pekka.paalanen at collabora.com>
Cc: Simon Ser <contact at emersion.fr>
Cc: Harry Wentland <harry.wentland at amd.com>
Cc: Melissa Wen <mwen at igalia.com>
Cc: Jonas Ådahl <jadahl at redhat.com>
Cc: Sebastian Wick <sebastian.wick at redhat.com>
Cc: Shashank Sharma <shashank.sharma at amd.com>
Cc: Alexander Goins <agoins at nvidia.com>
Cc: Joshua Ashton <joshua at froggi.es>
Cc: Michel Dänzer <mdaenzer at redhat.com>
Cc: Aleix Pol <aleixpol at kde.org>
Cc: Xaver Hugl <xaver.hugl at gmail.com>
Cc: Victoria Brekenfeld <victoria at system76.com>
Cc: Daniel Vetter <daniel at ffwll.ch>
Cc: Uma Shankar <uma.shankar at intel.com>
Cc: Naseer Ahmed <quic_naseer at quicinc.com>
Cc: Christopher Braga <quic_cbraga at quicinc.com>
Harry Wentland (7):
include/drm-uapi: Add COLOROP object
lib/igt_kms: Introduce drm_colorop object
lib/igt_kms: Add new COLOR PIPELINE plane property
tests/kms_properties: Add colorop properties test
igt/color: Add SW color transform functionality
lib/igt_fb: Add copy_fb function
tests/kms_colorop: Add kms_colorop tests
include/drm-uapi/drm_mode.h | 1 +
lib/igt_color.c | 330 ++++++++++++++++++++++++++++
lib/igt_color.h | 105 +++++++++
lib/igt_fb.c | 40 +++-
lib/igt_fb.h | 3 +
lib/igt_kms.c | 237 +++++++++++++++++++-
lib/igt_kms.h | 101 +++++++++
lib/meson.build | 1 +
tests/kms_colorop.c | 424 ++++++++++++++++++++++++++++++++++++
tests/kms_colorop.h | 79 +++++++
tests/kms_properties.c | 66 ++++++
tests/meson.build | 1 +
12 files changed, 1383 insertions(+), 5 deletions(-)
create mode 100644 lib/igt_color.c
create mode 100644 lib/igt_color.h
create mode 100644 tests/kms_colorop.c
create mode 100644 tests/kms_colorop.h
--
2.42.0
More information about the igt-dev
mailing list