Return-Path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by gabe.freedesktop.org (Postfix) with ESMTPS id B3963899DC for ; Mon, 9 Aug 2021 13:08:52 +0000 (UTC) From: =?UTF-8?q?Zbigniew=20Kempczy=C5=84ski?= Date: Mon, 9 Aug 2021 15:05:19 +0200 Message-Id: <20210809130533.27759-52-zbigniew.kempczynski@intel.com> In-Reply-To: <20210809130533.27759-1-zbigniew.kempczynski@intel.com> References: <20210809130533.27759-1-zbigniew.kempczynski@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 51/65] tests/gem_exec_big: Require relocation support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" To: igt-dev@lists.freedesktop.org Cc: Andrzej Turko , =?UTF-8?q?Zbigniew=20Kempczy=C5=84ski?= , Petri Latvala , Ashutosh Dixit List-ID: From: Andrzej Turko This test only verifies the correctness of relocations so it should be skipped if running on a platform which does not support them. Signed-off-by: Andrzej Turko Cc: Zbigniew KempczyƄski Cc: Petri Latvala Cc: Ashutosh Dixit --- tests/i915/gem_exec_big.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/i915/gem_exec_big.c b/tests/i915/gem_exec_big.c index 1f8c720b6..9ea49eec1 100644 --- a/tests/i915/gem_exec_big.c +++ b/tests/i915/gem_exec_big.c @@ -303,6 +303,7 @@ igt_main igt_fixture { i915 = drm_open_driver(DRIVER_INTEL); igt_require_gem(i915); + igt_require(gem_has_relocations(i915)); use_64bit_relocs = intel_gen(intel_get_drm_devid(i915)) >= 8; } -- 2.26.0