From 3e84d2b76c5b551c9e8f60527d7ec4dd5aee53df Mon Sep 17 00:00:00 2001 From: squidbus <175574877+squidbus@users.noreply.github.com> Date: Mon, 15 Jul 2024 17:39:10 -0700 Subject: [PATCH] Define tessellation_factors_ring_addr relative to end of system reserved area. --- src/core/libraries/gnmdriver/gnmdriver.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/libraries/gnmdriver/gnmdriver.cpp b/src/core/libraries/gnmdriver/gnmdriver.cpp index bc0ab8de..866a9698 100644 --- a/src/core/libraries/gnmdriver/gnmdriver.cpp +++ b/src/core/libraries/gnmdriver/gnmdriver.cpp @@ -7,6 +7,7 @@ #include "common/logging/log.h" #include "common/path_util.h" #include "common/slot_vector.h" +#include "core/address_space.h" #include "core/libraries/error_codes.h" #include "core/libraries/gnmdriver/gnmdriver.h" #include "core/libraries/kernel/libkernel.h" @@ -288,7 +289,7 @@ struct AscQueueInfo { u32 ring_size_dw; }; static Common::SlotVector asc_queues{}; -static constexpr VAddr tessellation_factors_ring_addr = 0xFF0000000ULL; +static constexpr VAddr tessellation_factors_ring_addr = Core::SYSTEM_RESERVED_MAX - 0xFFFFFFF; static void ResetSubmissionLock(Platform::InterruptId irq) { std::unique_lock lock{m_submission};