From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5350810E125 for ; Thu, 26 Oct 2023 15:50:44 +0000 (UTC) From: Andrzej Hajda Date: Thu, 26 Oct 2023 17:50:28 +0200 Message-Id: <20231026-gtt_size_fix-v1-0-882d0e0022ec@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: igt-dev@lists.freedesktop.org Subject: [igt-dev] [PATCH 0/2] lib/intel_batchbuffer: allow GTT size be not power of 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jonathan Cavitt , Nirmoy Das Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: This patchset should solve issues detected during applying Wa_16018031267 / Wa_16018063123. This Wa requires to allocate one page at the end of PPGTT, thus reported vm size is lower than full 480bits and currently some IGT tests fails in such case [1], particulary api_intel_bb. [1]: https://patchwork.freedesktop.org/series/124011/ Signed-off-by: Andrzej Hajda --- Andrzej Hajda (2): lib/igt_aux: fix roundup_power_of_two implementation lib/intel_batchbuffer: allow GTT size be not power of 2 lib/igt_aux.h | 2 +- lib/intel_batchbuffer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) --- base-commit: 62ac3d2ddb6005b16df00a36565779848c1390c9 change-id: 20231026-gtt_size_fix-835c73de2a19 Best regards, -- Andrzej Hajda