From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by gabe.freedesktop.org (Postfix) with ESMTPS id EC65010E0C3 for ; Thu, 1 Dec 2022 05:34:12 +0000 (UTC) From: Vikas Srivastava To: igt-dev@lists.freedesktop.org Date: Thu, 1 Dec 2022 11:02:26 +0530 Message-Id: <20221201053226.629748-1-vikas.srivastava@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [igt-dev] [PATCH i-g-t v2] tests/i915/gem_ctx_isolation.c : Increase MAX_REG List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: igt-dev-bounces@lists.freedesktop.org Sender: "igt-dev" List-ID: From: Steve Hampson Increase MAX_REG from 0x200000 to 0x400000 to support new large MMIO base addresses such as to support GEN12+ platform base addresses. Signed-off-by: Steve Hampson Acked-by: Priyanka Dandamudi --- tests/i915/gem_ctx_isolation.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/i915/gem_ctx_isolation.c b/tests/i915/gem_ctx_isolation.c index dc52a9a03..ec6935714 100644 --- a/tests/i915/gem_ctx_isolation.c +++ b/tests/i915/gem_ctx_isolation.c @@ -27,7 +27,8 @@ #include "igt_dummyload.h" #include "igt_types.h" -#define MAX_REG 0x200000 +/* MAX_REG must be greater than the maximum register address. */ +#define MAX_REG 0x400000 #define NUM_REGS (MAX_REG / sizeof(uint32_t)) #define PAGE_ALIGN(x) ALIGN(x, 4096) -- 2.25.1