[PATCH i-g-t v6 0/5] Compression support for Lunarlake
Akshata Jahagirdar
akshata.jahagirdar at intel.com
Wed Dec 13 19:55:04 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)
Akshata Jahagirdar (5):
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/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 ++
tests/intel/gem_ccs.c | 2 +-
tests/intel/xe_ccs.c | 47 ++++++++++++++++++++++++-----------------
9 files changed, 80 insertions(+), 30 deletions(-)
--
2.34.1
More information about the igt-dev
mailing list