radeonsi: remove AMD_DEBUG=zerovram flag

The same feature is available by using: radeonsi_zerovram=true

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7525>
This commit is contained in:
Pierre-Eric Pelloux-Prayer 2020-11-12 10:51:42 +01:00 committed by Marge Bot
parent b9605f1a74
commit 6e7e208867
4 changed files with 0 additions and 5 deletions

View File

@ -659,8 +659,6 @@ radeonsi driver environment variables
Disable SDMA clears
``nodmacopyimage``
Disable SDMA image copies
``zerovram``
Clear VRAM allocations.
``nodcc``
Disable DCC.
``nodccclear``

View File

@ -89,7 +89,6 @@ static const struct debug_named_value debug_options[] = {
{"nowc", DBG(NO_WC), "Disable GTT write combining"},
{"check_vm", DBG(CHECK_VM), "Check VM faults and dump debug info."},
{"reserve_vmid", DBG(RESERVE_VMID), "Force VMID reservation per context."},
{"zerovram", DBG(ZERO_VRAM), "Clear VRAM allocations."},
{"shadowregs", DBG(SHADOW_REGS), "Enable CP register shadowing."},
/* 3D engine options: */

View File

@ -183,7 +183,6 @@ enum
DBG_NO_WC,
DBG_CHECK_VM,
DBG_RESERVE_VMID,
DBG_ZERO_VRAM,
DBG_SHADOW_REGS,
/* 3D engine options: */

View File

@ -112,7 +112,6 @@ static bool do_winsys_init(struct amdgpu_winsys *ws,
ws->reserve_vmid = strstr(debug_get_option("R600_DEBUG", ""), "reserve_vmid") != NULL ||
strstr(debug_get_option("AMD_DEBUG", ""), "reserve_vmid") != NULL;
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");
return true;