[PATCH i-g-t 00/37] Intel CCS + 10bpc/fp16 stuff

Ville Syrjala ville.syrjala at linux.intel.com
Tue Jul 2 23:27:40 UTC 2024


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

Try to fix/implement pretty much everything related to
CCS with 10bpc and fp16 pixel formats.

Some caveats:
- 10bpc hangs the VEBOX
- block copy CCS is fairly dodgy

I have additional stuff on top to make kms_big_fb
also tests CCS, and planar formats as well. I've not
finished polishing it, so won't post it to the list
right now. Functionally it's pretty much done though,
so grab it here if you want to give it a try:
https://github.com/vsyrjala/intel-gpu-tools.git fb_ccs_fixes_3

Melanie Lobo (1):
  lib/intel_aux_pgtable: Library to add support for RGB16161616_64B
    format

Ville Syrjälä (36):
  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/rendercopy: Add specific support for 2:10:10:10 formats
  lib/rendercopy: Use the proper compression format for 10bpc on
    dg2/lnl+
  lib/rendercopy: Use the proper compression format for 16bpc on
    dg2/lnl+
  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: Add DRM_FORMAT_XRGB2101010 compression format for the
  lib/igt_fb: Add 16bpc compression format for the blitter
  lib/igt_fb: Fix planar block copy
  lib/igt_fb: Fix blitter compression format handling
  lib/igt_fb: Try to fix block copy media compression handling
  lib/igt_fb: Assert that we have no clear color when using the bltter
  lib/vebox: Add support for fp16 RGB formats
  lib/vebox: Add 10bpc support
  lib/igt_fb: Treat 2:10:10:10 properly
  tests/kms_plane: Extract skip_format_mod()
  tests/kms_plane: Skip 10bpc formats with media compression
  tests/kms_ccs: Reuse igt_fb_is_gen12_rc_ccs_cc_modifier()
  tests/kms_ccs: Correctly check clear color for 10bpc formats
  tests/kms_ccs: Correctly check clear color for fp16 formats
  tests/kms_ccs: Skip 10bpc formats with media compression
  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                           | 246 ++++++++++++++-----------
 lib/igt_fb.h                           |   6 +-
 lib/intel_aux_pgtable.c                |   5 +
 lib/intel_bufops.h                     |   3 +-
 lib/rendercopy_gen4.c                  |  21 +--
 lib/rendercopy_gen6.c                  |  21 +--
 lib/rendercopy_gen7.c                  |  23 +--
 lib/rendercopy_gen8.c                  |  21 +--
 lib/rendercopy_gen9.c                  | 193 +++++++++++++++----
 lib/rendercopy_i830.c                  |  10 +-
 lib/rendercopy_i915.c                  |   6 +-
 lib/surfaceformat.h                    |  20 ++
 lib/veboxcopy_gen12.c                  |  14 +-
 tests/intel/gem_pxp.c                  |   4 +-
 tests/intel/kms_big_fb.c               |  64 ++-----
 tests/intel/kms_ccs.c                  |  79 ++++++--
 tests/intel/kms_frontbuffer_tracking.c |  11 +-
 tests/kms_addfb_basic.c                |  14 +-
 tests/kms_plane.c                      |  61 +++---
 tests/kms_prime.c                      |  12 +-
 tests/kms_rotation_crc.c               |  10 +-
 21 files changed, 522 insertions(+), 322 deletions(-)

-- 
2.44.2



More information about the igt-dev mailing list