From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id C216512AF7C for ; Sun, 19 Dec 2021 13:09:58 +0000 (UTC) From: apoorva1.singh@intel.com Date: Sun, 19 Dec 2021 18:44:38 +0530 Message-Id: <20211219131443.472654-1-apoorva1.singh@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t,v5 0/5] Add testing for CCS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: apoorva1.singh@intel.com, igt-dev@lists.freedesktop.org, ramalingam.c@intel.com, zbigniew.kempczynski@intel.com, arjun.melkaveri@intel.com List-ID: From: Apoorva Singh - Add new library intel_mocs for mocs settings. - Add new library i915_blt for various blt commands. - Add a new platform flag, has_flat_ccs, for platforms supporting Flat CCS. - Only use the main copy engines for XY_BLOCK_COPY. XY_BLOCK_COPY blt command is used to transfer the ccs data. So, we can only run the tests on those engines which have support for the "block_copy" capability. - Add gem_ccs test for CCS testing. Commands are constructed with XY_BLOCK_COPY_BLT and XY_CTRL_SURF_COPY_BLT instructions. Apoorva Singh (3): lib/i915: Introduce library intel_mocs lib/i915: Introduce library i915_blt lib/intel_chipset.h: Add has_flat_ccs flag CQ Tang (1): i915/gem_ccs: Add testing for CCS Chris Wilson (1): i915/gem_engine_topology: Only use the main copy engines for XY_BLOCK_COPY lib/i915/gem_engine_topology.c | 38 +++ lib/i915/gem_engine_topology.h | 5 + lib/i915/i915_blt.c | 393 +++++++++++++++++++++++++++++++ lib/i915/i915_blt.h | 72 ++++++ lib/i915/intel_mocs.c | 51 ++++ lib/i915/intel_mocs.h | 23 ++ lib/intel_chipset.h | 3 + lib/meson.build | 2 + tests/i915/gem_ccs.c | 413 +++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 10 files changed, 1001 insertions(+) create mode 100644 lib/i915/i915_blt.c create mode 100644 lib/i915/i915_blt.h create mode 100644 lib/i915/intel_mocs.c create mode 100644 lib/i915/intel_mocs.h create mode 100644 tests/i915/gem_ccs.c -- 2.25.1