From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTPS id 636ED89EBB for ; Tue, 3 Aug 2021 07:38:52 +0000 (UTC) From: Andrzej Turko Date: Tue, 3 Aug 2021 09:38:33 +0200 Message-Id: <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 0/2] Keep tests working without relocations 2 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: With relocations disabled for newer generations the addresses of buffer objects in memory need to be known in advance and, hence, assigned in userspace. If relocations are not supported, the tests now use the intel allocator to find offsets and update the contents of batches correspondingly. Cc: Zbigniew KempczyƄski Andrzej Turko (2): tests/i915/gem_streaming_writes: Support gens without relocations tests/i915/gem_exec_lut_handle: Require relocation support tests/i915/gem_exec_lut_handle.c | 1 + tests/i915/gem_streaming_writes.c | 151 ++++++++++++++++++++---------- 2 files changed, 101 insertions(+), 51 deletions(-) -- 2.25.1