radeonsi: add AMD_DEBUG=tmz option
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4401>
This commit is contained in:
@@ -112,6 +112,11 @@ static bool do_winsys_init(struct amdgpu_winsys *ws,
|
||||
ws->zero_all_vram_allocs = strstr(debug_get_option("R600_DEBUG", ""), "zerovram") != NULL ||
|
||||
strstr(debug_get_option("AMD_DEBUG", ""), "zerovram") != NULL ||
|
||||
driQueryOptionb(config->options, "radeonsi_zerovram");
|
||||
ws->secure = strstr(debug_get_option("AMD_DEBUG", ""), "tmz");
|
||||
|
||||
if (ws->secure) {
|
||||
fprintf(stderr, "=== TMZ usage enabled ===\n");
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user