pvr: Add 'info' PVR_DEBUG flag

This commit will add a new PVR_DEBUG flag that, when used,
it will display information about the display and render
devices in the common code (without adding dependencies)

Signed-off-by: Vlad Schiller <vlad-radu.schiller@imgtec.com>
Reviewed-by: Luigi Santivetti <luigi.santivetti@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24931>
This commit is contained in:
Vlad Schiller
2023-08-10 08:39:17 +01:00
committed by Marge Bot
parent d01a60e8a3
commit 326080428e
7 changed files with 278 additions and 0 deletions
+2
View File
@@ -38,6 +38,8 @@ static const struct debug_named_value debug_control[] = {
"Zero all buffer objects at allocation to make them deterministic." },
{ "vk_desc", PVR_DEBUG_VK_DUMP_DESCRIPTOR_SET_LAYOUT,
"Dump descriptor set and pipeline layouts." },
{ "info", PVR_DEBUG_INFO,
"Display information about the driver and device." },
DEBUG_NAMED_VALUE_END
};
/* clang-format on */