radeonsi: simplify radeonsi_zerovram implementation

Reviewed-by: Mihai Preda <mhpreda@gmail.com>
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Acked-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18223>
This commit is contained in:
Marek Olšák
2022-08-09 20:10:09 -04:00
committed by Marge Bot
parent 58f90fd03f
commit fa059811c5
3 changed files with 1 additions and 9 deletions
-8
View File
@@ -479,14 +479,6 @@
DRI_CONF_OPT_B(force_sw_rendering_on_cpu, def, \
"If set to false, emulates software rendering on the requested device, else uses a software renderer.")
/**
* \brief radeonsi specific configuration options
*/
#define DRI_CONF_RADEONSI_ZERO_ALL_VRAM_ALLOCS(def) \
DRI_CONF_OPT_B(radeonsi_zerovram, def, \
"Zero all vram allocations")
#define DRI_CONF_V3D_NONMSAA_TEXTURE_SIZE_LIMIT(def) \
DRI_CONF_OPT_B(v3d_nonmsaa_texture_size_limit, def, \
"Report the non-MSAA-only texture size limit")