[PATCH i-g-t v8 0/6] Compression support for Lunarlake

Akshata Jahagirdar akshata.jahagirdar at intel.com
Mon Dec 18 21:14:33 UTC 2023


Series enables the compression feature for Lunarlake and address various
changes of the feature from Gen12. The Main-to-CCS ratio has been
changed to 512:1. This changes the calculations and value for fields
such as CCS Copy size for blitter command APIs. 
This patch series updates tests xe_ccs and gem_ccs for XE2.
This series doesn't solve "in-place" and "suspend-resume" subtests.

These changes are based on top of the "vm_bind pat_index" patch here:
https://patchwork.freedesktop.org/series/124667/

v2: Lots of improvements/tweaks (Kamil)
    Addressed review comments (Matthew, Karolina)
v3: Reused dg2_xy_fast_copy definition for defing xe2_cmds_info struct(Karolina)
    Split the patch to address ccs_size calculation and updating
pat_index, updated the intel_get_pat_idx_uc_comp function as per review
comments (Kamil)
v4: Addressed review comments (Karolina)
    Rebase. Removed few unnecessary conditions, plus few fixes.
v5: Addressed Review comments (Matthew, Zbigniew)
    Rebase, Fixes for pre-merge IGT tests.
v6: Addressed Review comments (Matthew)
v7: Addressed Review comments (Zbigniew, Kamil)
v8: Addressed Review comments (Zbigniew)

Akshata Jahagirdar (6):
  lib: Add blt command properties for lunarlake
  lib/intel_blt: Update calculation of ccs_size and size_of_ctrl_copy
  lib/intel_pat: Add uc_comp pat_index
  lib/intel_blt: Update caching mode and pat_index
  lib/xe/xe_util: Align obj size before bind/unbind
  tests/intel/xe_ccs: Add compression support for Lunarlake

 lib/intel_blt.c         | 24 +++++++++++++++++-------
 lib/intel_blt.h         |  2 +-
 lib/intel_cmds_info.c   | 16 ++++++++++++++++
 lib/intel_cmds_info.h   |  1 +
 lib/intel_device_info.c |  2 +-
 lib/intel_pat.c         | 14 +++++++++++++-
 lib/intel_pat.h         |  2 ++
 lib/xe/xe_util.c        |  2 +-
 tests/intel/gem_ccs.c   |  2 +-
 tests/intel/xe_ccs.c    | 40 +++++++++++++++++++++++++---------------
 10 files changed, 78 insertions(+), 27 deletions(-)



More information about the igt-dev mailing list