mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 05:40:13 +01:00
asahi: Add nocluster,sync,stats debug flags
These are only useful with the upcoming Linux UAPI, but there's no harm in getting the debug scaffolding in now. Signed-off-by: Asahi Lina <lina@asahilina.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21662>
This commit is contained in:
parent
afe134a49c
commit
7f2e24d2ef
2 changed files with 6 additions and 0 deletions
|
|
@ -38,6 +38,9 @@ enum agx_dbg {
|
|||
AGX_DBG_PRECOMPILE = BITFIELD_BIT(4),
|
||||
AGX_DBG_PERF = BITFIELD_BIT(5),
|
||||
AGX_DBG_NOCOMPRESS = BITFIELD_BIT(6),
|
||||
AGX_DBG_NOCLUSTER = BITFIELD_BIT(7),
|
||||
AGX_DBG_SYNC = BITFIELD_BIT(8),
|
||||
AGX_DBG_STATS = BITFIELD_BIT(9),
|
||||
};
|
||||
|
||||
/* How many power-of-two levels in the BO cache do we want? 2^14 minimum chosen
|
||||
|
|
|
|||
|
|
@ -79,6 +79,9 @@ static const struct debug_named_value agx_debug_options[] = {
|
|||
#endif
|
||||
{"precompile",AGX_DBG_PRECOMPILE,"Precompile shaders for shader-db"},
|
||||
{"nocompress",AGX_DBG_NOCOMPRESS,"Disable lossless compression"},
|
||||
{"nocluster", AGX_DBG_NOCLUSTER,"Disable vertex clustering"},
|
||||
{"sync", AGX_DBG_SYNC, "Synchronously wait for all submissions"},
|
||||
{"stats", AGX_DBG_STATS, "Show command execution statistics"},
|
||||
DEBUG_NAMED_VALUE_END
|
||||
};
|
||||
/* clang-format on */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue