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>
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
#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 */