gralloc1: Rename property to disable ubwc for graphics
Rename property debug.gralloc.gfx_ubwc_disable_ to
debug.gralloc.gfx_ubwc_disable to disable allocating ubwc buffers
for graphics client.
Change-Id: Ie0e5cf1eabb6970377ffdf6cc1a00728f48e1ae7
CRs-Fixed: 2042258
diff --git a/libgralloc1/gr_adreno_info.cpp b/libgralloc1/gr_adreno_info.cpp
index 2736fad..6de5157 100644
--- a/libgralloc1/gr_adreno_info.cpp
+++ b/libgralloc1/gr_adreno_info.cpp
@@ -75,10 +75,10 @@
return false;
}
- // Check if the overriding property debug.gralloc.gfx_ubwc_disable_
+ // Check if the overriding property debug.gralloc.gfx_ubwc_disable
// that disables UBWC allocations for the graphics stack is set
char property[PROPERTY_VALUE_MAX];
- property_get("debug.gralloc.gfx_ubwc_disable_", property, "0");
+ property_get("debug.gralloc.gfx_ubwc_disable", property, "0");
if (!(strncmp(property, "1", PROPERTY_VALUE_MAX)) ||
!(strncmp(property, "true", PROPERTY_VALUE_MAX))) {
gfx_ubwc_disable_ = true;