[igt-dev] [PATCH i-g-t v4 0/6] Compression support for Lunarlake

Akshata Jahagirdar akshata.jahagirdar at intel.com
Thu Dec 7 12:42:35 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.  

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.

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
  tests/intel/gem_ccs: Add compression support for Lunarlake
  tests/intel/xe_ccs: Add compression support for Lunarlake

 lib/intel_blt.c         | 19 +++++++++++--------
 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 ++
 tests/intel/gem_ccs.c   |  2 +-
 tests/intel/xe_ccs.c    | 40 +++++++++++++++++++++-------------------
 9 files changed, 67 insertions(+), 31 deletions(-)



More information about the igt-dev mailing list