Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t v2] tests/i915/gem_ctx_isolation.c : Increase MAX_REG
@ 2022-12-01  5:32 Vikas Srivastava
  2022-12-01  6:24 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/i915/gem_ctx_isolation.c : Increase MAX_REG (rev2) Patchwork
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Vikas Srivastava @ 2022-12-01  5:32 UTC (permalink / raw)
  To: igt-dev

From: Steve Hampson <steven.t.hampson@intel.com>

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 <steven.t.hampson@intel.com>
Acked-by: Priyanka Dandamudi <priyanka.dandamudi@intel.com>
---
 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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-12-05 14:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-01  5:32 [igt-dev] [PATCH i-g-t v2] tests/i915/gem_ctx_isolation.c : Increase MAX_REG Vikas Srivastava
2022-12-01  6:24 ` [igt-dev] ✗ Fi.CI.BAT: failure for tests/i915/gem_ctx_isolation.c : Increase MAX_REG (rev2) Patchwork
2022-12-02  7:13 ` [igt-dev] ✓ Fi.CI.BAT: success " Patchwork
2022-12-02 21:58 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2022-12-05 12:29 ` [igt-dev] [PATCH i-g-t v2] tests/i915/gem_ctx_isolation.c : Increase MAX_REG Kumar, Sinjan
2022-12-05 12:51 ` [igt-dev] ✓ Fi.CI.IGT: success for tests/i915/gem_ctx_isolation.c : Increase MAX_REG (rev2) Patchwork
2022-12-05 14:13 ` [igt-dev] [PATCH i-g-t v2] tests/i915/gem_ctx_isolation.c : Increase MAX_REG Kamil Konieczny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox