Skip to content

Add tests for HDR metadata interfaces and bpc switch

Swati Sharma igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7headers: Bump drm uapi headersinclude/drm-uapi/drm_mode.h+119 -21 reply
2/7lib/igt_kms: Add max bpc connector propertylib/igt_kms.c lib/igt_kms.h+2 -01 reply
3/7lib/igt_kms: Add HDR_OUTPUT_METADATA connector propertylib/igt_kms.c lib/igt_kms.h+6 -02 replies
4/7tests/kms_hdr: Add bpc switch subteststests/Makefile.sources tests/kms_hdr.c tests/meson.build+294 -01 reply
5/7tests/kms_hdr: Add static toggle SDR->HDR mode subteststests/kms_hdr.c+167 -01 reply
6/7tests/kms_hdr: Add subtest to validate HDR mode using luminance sensortests/kms_hdr.c+271 -02 replies
7/7tests/kms_hdr: Add subtest to swap static HDR metadatatests/kms_hdr.c+109 -04 replies

Reviews trailers per patch

6 of 7 patches have a Reviewed-by or Acked-by.

PatchNicholas KazlauskasPetri LatvalaUma Shankar
1/7R-b
2/7R-b
3/7R-b
4/7R-b
5/7R-b
6/7
7/7A-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/7] Add tests for HDR metadata interfaces and bpc switch

This series contains tests to validate HDR metadata interfaces and bpc switch test cases (8bpc<->10bpc).
Minor changes are made in the original patch series
https://patchwork.freedesktop.org/patch/255755/

Changes made to the original series:
*Current version is made compatible for both amd and intel driver, earlier it could be used by amd driver only.
*No assumption is made regarding output. Tests will execute on all availabe outputs, since there is no ROI to execute tests on all the pipes; tests will execute on single pipe. *To make tests generic, moved tests from tests/amdgpu/amd_hdr.c to tests/kms_hdr.c.
*Also, splitted the hdr igt into multiple patches so that subtests can be easily reviewed.
*Renaming of functions, addition of new flags, igt_describe()

As per current design, test will execute on all the attached monitors even if its non-HDR because we haven't exposed any property from kernel to tell userspace whether monitor is hdr or not.
TODO: Either expose debugfs entry (or) parse edid in IGT to know
whether monitor supports hdr

Also, amd exposes max_bpc as a debugfs entry..so it's asserted for their driver. i915 drives misses that.
TODO: Expose max_bpc as debugfs entry in i915 driver too, if required.

Nicholas Kazlauskas (7):
headers: Bump drm uapi headers
lib/igt_kms: Add max bpc connector property
lib/igt_kms: Add HDR_OUTPUT_METADATA connector property tests/kms_hdr: Add bpc switch subtests
tests/kms_hdr: Add static toggle SDR->HDR mode subtests tests/kms_hdr: Add subtest to validate HDR mode using luminance sensor tests/kms_hdr: Add subtest to swap static HDR metadata

 include/drm-uapi/drm_mode.h | 121 +++++-
 lib/igt_kms.c               |   6 +
 lib/igt_kms.h               |   2 +
 tests/Makefile.sources      |   1 +
 tests/kms_hdr.c             | 839 ++++++++++++++++++++++++++++++++++++
 tests/meson.build           |   1 +
 6 files changed, 968 insertions(+), 2 deletions(-)
 create mode 100644 tests/kms_hdr.c
Signature · 6 lines
2.24.1

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev