Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTPS id CC1E410E23E for ; Fri, 10 Dec 2021 12:48:14 +0000 (UTC) From: apoorva1.singh@intel.com Date: Fri, 10 Dec 2021 18:23:01 +0530 Message-Id: <20211210125306.3681902-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,v3 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 | 469 +++++++++++++++++++++++++++++++ lib/i915/i915_blt.h | 82 ++++++ lib/i915/intel_mocs.c | 51 ++++ lib/i915/intel_mocs.h | 19 ++ lib/intel_chipset.h | 3 + lib/meson.build | 2 + tests/i915/gem_ccs.c | 492 +++++++++++++++++++++++++++++++++ tests/meson.build | 1 + 10 files changed, 1162 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