[PATCH i-g-t 0/4] Add DSC compressed BPP subtest

Swati Sharma <[email protected]> Fri, 31 Jul 2026 17:51:41 +0530
Newsgroups org.freedesktop.lists.igt-dev
Message-ID <[email protected]>
Add support for testing DSC with specific compressed BPP values.

Patch 1-2 add the library and helper functions to force compressed
BPP via the intel_force_link_bpp debugfs interface.

Patch 3 adds a function to read the sink's negotiated compressed
BPP from i915_display_info after a DSC-enabled modeset.

Patch 4 adds the dsc-compressed-bpp subtest along with bigjoiner
and ultrajoiner variants. For display version >= 13, it queries
the sink's max compressed BPP and iterates through valid values.
For older platforms, a fixed set of BPP values is used.

v2: Rebase

Swati Sharma (4):
  lib/dsc: Add igt_force_dsc_enable_compressed_bpp()
  tests/intel/kms_dsc_helper: Add helper to force compressed BPP
  lib/dsc: Add igt_get_dsc_sink_compressed_bpp()
  tests/intel/kms_dsc: Add dsc-compressed-bpp subtest

 lib/igt_dsc.c                | 56 ++++++++++++++++++++++
 lib/igt_dsc.h                |  2 +
 tests/intel/kms_dsc.c        | 90 +++++++++++++++++++++++++++++++++++-
 tests/intel/kms_dsc_helper.c | 10 ++++
 tests/intel/kms_dsc_helper.h |  1 +
 5 files changed, 157 insertions(+), 2 deletions(-)

-- 
2.25.1