From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by gabe.freedesktop.org (Postfix) with ESMTPS id D62C910E060 for ; Thu, 7 Dec 2023 00:42:54 +0000 (UTC) From: Akshata Jahagirdar To: Date: Thu, 7 Dec 2023 04:42:35 -0800 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v4 0/6] Compression support for Lunarlake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: igt-dev@lists.freedesktop.org, ayaz.siddiqui@intel.com, akshata.jahagirdar@intel.com, matthew.auld@intel.com Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: 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(-)