Mesa (main): anv: Align GENERAL_STATE_POOL_MIN_ADDRESS to 2MiB

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Wed Feb 23 20:41:34 UTC 2022


Module: Mesa
Branch: main
Commit: 5a28d2482f65209d376521be37e1ff0024fee4b1
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=5a28d2482f65209d376521be37e1ff0024fee4b1

Author: Jordan Justen <jordan.l.justen at intel.com>
Date:   Tue Feb 15 10:43:23 2022 -0800

anv: Align GENERAL_STATE_POOL_MIN_ADDRESS to 2MiB

Fixes: c17e2216dd5 ("anv: Align buffer VMA to 2MiB for XeHP")
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15054>

---

 src/intel/vulkan/anv_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index 12694dc3b70..62b3a04fb68 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -140,7 +140,7 @@ struct intel_perf_query_result;
  * various reasons. This healthy margin prevents reads from wrapping around
  * 48-bit addresses.
  */
-#define GENERAL_STATE_POOL_MIN_ADDRESS     0x000000010000ULL /* 64 KiB */
+#define GENERAL_STATE_POOL_MIN_ADDRESS     0x000000200000ULL /* 2 MiB */
 #define GENERAL_STATE_POOL_MAX_ADDRESS     0x00003fffffffULL
 #define LOW_HEAP_MIN_ADDRESS               0x000040000000ULL /* 1 GiB */
 #define LOW_HEAP_MAX_ADDRESS               0x00007fffffffULL



More information about the mesa-commit mailing list