summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2022-02-15 10:43:23 -0800
committerDylan Baker <dylan.c.baker@intel.com>2022-02-25 13:09:35 -0800
commitde55b090e401efa0cde03b1f4aecbcb08d040936 (patch)
tree3620ac64094eb6bcdf3424b18f77e5012df515e1
parent38c88f36ff9d899c015012b0ad7b3512c5f1f496 (diff)
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@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15054> (cherry picked from commit 5a28d2482f65209d376521be37e1ff0024fee4b1)
-rw-r--r--.pick_status.json2
-rw-r--r--src/intel/vulkan/anv_private.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/.pick_status.json b/.pick_status.json
index 9d146fa6bd1..dfd3d1fb9b8 100644
--- a/.pick_status.json
+++ b/.pick_status.json
@@ -643,7 +643,7 @@
"description": "anv: Align GENERAL_STATE_POOL_MIN_ADDRESS to 2MiB",
"nominated": true,
"nomination_type": 1,
- "resolution": 0,
+ "resolution": 1,
"main_sha": null,
"because_sha": "c17e2216dd5f2ace77e44a8008b2b177d633b05e"
},
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index b205e5b266d..b8e16d17199 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -139,7 +139,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