[PATCH i-g-t 00/23] Intel format/modifier stuff

Ville Syrjala ville.syrjala at linux.intel.com
Mon Sep 2 14:37:35 UTC 2024


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

Bunch of refactoring/fixes/misc stuff extracted from the
earlier big series [1] whose main goal was proper 10bpc/fp16
CCS testing. I left out all the new 10bpc/fp16 stuff for
now, and just included all the prep work more or less.

Apart from the TGL magic fast clear stuff, some blitter
fixes, and a few tweaks to kms_ccs behaviour there should
no other functional changes here.

[1] https://patchwork.freedesktop.org/series/135670/

Ville Syrjälä (23):
  lib/rendercopy: Add deltas to all surface relocs
  tests/kms_big_fb: Use igt_fb_create_intel_buf()
  tests/kms_frontbuffer_tracking: Use igt_create_fb()
  lib/igt_fb: Make igt_calc_fb_size() somewhat usable
  lib/rendercopy: Always setup clear color for TGL
  lib/rendercopy: Don't skip clearcolor on flat CCS
  lib/rendercopy: Fix fastclear scaling
  lib/rendercopy: Extract gen4_surface_format()
  lib/rendercopy: Extract {dg2,lnl}_compression_format()
  lib/igt_fb: Extract is_gen12_rc_ccs_cc_modifier()
  lib/igt_fb: Extract ccs_needs_enginecopy()
  lib/igt_fb: Require enginecopy for clear color
  lib/igt_fb: Expose igt_fb_is_ccs_modifier()
  lib/igt_fb: Expose igt_fb_is_gen12_rc_ccs_cc_modifier()
  lib/igt_fb: Expose igt_fb_is_gen12_mc_ccs_modifier()
  lib/igt_fb: Adjust how we pick the blitter compression format
  lib/igt_fb: Fix planar block copy
  lib/igt_fb: Fix blitter compression format handling
  lib/igt_fb: Assert that we have no clear color when using the bltter
  tests/kms_plane: Extract skip_format_mod()
  tests/kms_ccs: Reuse igt_fb_is_gen12_rc_ccs_cc_modifier()
  tests/kms_ccs: Skip testing on identical plane types
  tests/kms_ccs: Provide a hint as to what we're testing

 lib/igt_fb.c                           | 234 ++++++++++++++-----------
 lib/igt_fb.h                           |   6 +-
 lib/intel_bufops.h                     |   1 +
 lib/rendercopy_gen4.c                  |  20 +--
 lib/rendercopy_gen6.c                  |  21 +--
 lib/rendercopy_gen7.c                  |  23 +--
 lib/rendercopy_gen8.c                  |  21 +--
 lib/rendercopy_gen9.c                  | 183 +++++++++++++++----
 lib/rendercopy_i830.c                  |  10 +-
 lib/rendercopy_i915.c                  |   6 +-
 lib/surfaceformat.h                    |  16 ++
 tests/intel/gem_pxp.c                  |   4 +-
 tests/intel/kms_big_fb.c               |  64 ++-----
 tests/intel/kms_ccs.c                  |  35 +++-
 tests/intel/kms_frontbuffer_tracking.c |  11 +-
 tests/kms_addfb_basic.c                |  14 +-
 tests/kms_plane.c                      |  56 +++---
 tests/kms_prime.c                      |  12 +-
 tests/kms_rotation_crc.c               |  10 +-
 19 files changed, 442 insertions(+), 305 deletions(-)

-- 
2.44.2



More information about the igt-dev mailing list