From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by gabe.freedesktop.org (Postfix) with ESMTPS id E273B6E42C for ; Tue, 3 Aug 2021 07:38:59 +0000 (UTC) From: Andrzej Turko Date: Tue, 3 Aug 2021 09:38:35 +0200 Message-Id: <20210803073835.2910-3-andrzej.turko@linux.intel.com> In-Reply-To: <20210803073835.2910-1-andrzej.turko@linux.intel.com> References: <20210803073835.2910-1-andrzej.turko@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t 2/2] tests/i915/gem_exec_lut_handle: 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?= List-ID: This test exercises LUT which is a part of the relocation interface. Running this test makes no sense on platforms without relocation support -- thus the new requirement. Signed-off-by: Andrzej Turko Cc: Zbigniew KempczyƄski --- tests/i915/gem_exec_lut_handle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/i915/gem_exec_lut_handle.c b/tests/i915/gem_exec_lut_handle.c index 3c5c81f1a..064308666 100644 --- a/tests/i915/gem_exec_lut_handle.c +++ b/tests/i915/gem_exec_lut_handle.c @@ -99,6 +99,7 @@ igt_simple_main fd = drm_open_driver(DRIVER_INTEL); igt_require_gem(fd); + igt_require(gem_has_relocations(fd)); memset(gem_exec, 0, sizeof(gem_exec)); for (n = 0; n < MAX_NUM_EXEC; n++) -- 2.25.1