anv: Align GENERAL_STATE_POOL_MIN_ADDRESS to 2MiB
authorJordan Justen <jordan.l.justen@intel.com>
Tue, 15 Feb 2022 18:43:23 +0000 (10:43 -0800)
committerMarge Bot <emma+marge@anholt.net>
Wed, 23 Feb 2022 20:15:24 +0000 (20:15 +0000)
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>

src/intel/vulkan/anv_private.h

index 12694dc..62b3a04 100644 (file)
@@ -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