anv: debug messaging for sparse texture usage

Enable sparse debug messages with INTEL_DEBUG=sparse

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24046>
This commit is contained in:
Felix DeGrood
2023-07-07 17:15:01 +00:00
committed by Marge Bot
parent df349bc2be
commit 6e7718dcea
7 changed files with 57 additions and 0 deletions
+1
View File
@@ -103,6 +103,7 @@ static const struct debug_control debug_control[] = {
{ "swsb-stall", DEBUG_SWSB_STALL },
{ "heaps", DEBUG_HEAPS },
{ "isl", DEBUG_ISL },
{ "sparse", DEBUG_SPARSE },
{ NULL, 0 }
};
+1
View File
@@ -93,6 +93,7 @@ extern uint64_t intel_debug;
#define DEBUG_SWSB_STALL (1ull << 45)
#define DEBUG_HEAPS (1ull << 46)
#define DEBUG_ISL (1ull << 47)
#define DEBUG_SPARSE (1ull << 48)
#define DEBUG_ANY (~0ull)