From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by gabe.freedesktop.org (Postfix) with ESMTPS id 966D010E004 for ; Wed, 8 Mar 2023 11:21:03 +0000 (UTC) From: Karolina Stolarek To: igt-dev@lists.freedesktop.org Date: Wed, 8 Mar 2023 12:20:55 +0100 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v2 0/7] Update gem_blits for newer generations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: gem_blits test utilizes XY_SRC_COPY_BLT, a legacy blitter command that is not available on newer generations such as MTL. To make sure the test covers such platforms, update it to switch to XY_FAST_COPY_BLT for blit copy operations. In addition to this change, the series: 1) Adds helpers to i915_blt library that check support for XY_SRC_COPY_BLT command and its capabilities 2) Updates the definitions of older platforms to properly list all available commands and tilings 3) Updates gem_blits to use aforementioned helpers to detect tiling formats supported by the platform v2: - Remove libdrm include in "tests/i915/gem_blits: Add XY_FAST_COPY_BLT support for gem_blits". It's not needed and causes compile errors on some targets Arjun Melkaveri (2): tests/i915/gem_blits: Use new copy instruction tests/i915/gem_blits: Add XY_FAST_COPY_BLT support for gem_blits Karolina Stolarek (4): lib/i915_blt: Add helpers to check XY_SRC_COPY support lib/intel_cmds_info: Correct tiling formats for XY_SRC_COPY lib/intel_device_info: Add tiling information for early gens tests/gem_blits: Use intel_cmds_info library Vikas Srivastava (1): lib/intel_batchbuffer: Add wrapper API to use XY_FAST_COPY_BLT/XY_SRC_BLT lib/i915/i915_blt.c | 33 ++++++++ lib/i915/i915_blt.h | 2 + lib/i915/intel_cmds_info.c | 24 ++++-- lib/i915/intel_cmds_info.h | 3 +- lib/intel_batchbuffer.c | 82 +++++++++++++++++-- lib/intel_batchbuffer.h | 28 +++++++ lib/intel_device_info.c | 29 +++++-- tests/i915/gem_blits.c | 156 ++++++++++++++++++++++++------------- 8 files changed, 282 insertions(+), 75 deletions(-) -- 2.25.1