summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTharaga Balachandran <tbalacha@codeaurora.org>2018-07-05 16:12:58 -0400
committerGerrit - the friendly Code Review server <code-review@localhost>2018-07-05 14:17:29 -0700
commiteba238bed64e5dd6db7eeb79a670a2178260cd03 (patch)
tree9506371bf4f740c29490ee5d0861cd2be66948a2
parent8aefef0b385405f689a0eea1e80f1c67f441787c (diff)
downloadandroid_hardware_qcom_sdm710_display-eba238bed64e5dd6db7eeb79a670a2178260cd03.tar.gz
android_hardware_qcom_sdm710_display-eba238bed64e5dd6db7eeb79a670a2178260cd03.tar.bz2
android_hardware_qcom_sdm710_display-eba238bed64e5dd6db7eeb79a670a2178260cd03.zip
sdm: Update debug property to treble compliance.
Update vsync skew debug property to treble compliance. Vendor prefix should be present in all vendor properties. Change-Id: I322a2ef5e9d392f59e73c80f2adafa8346e0be7e CRs-Fixed: 2265938
-rw-r--r--include/display_properties.h1
-rw-r--r--sdm/libs/core/display_base.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/include/display_properties.h b/include/display_properties.h
index 89f862f0..3944dc65 100644
--- a/include/display_properties.h
+++ b/include/display_properties.h
@@ -88,6 +88,7 @@
#define DISABLE_FB_CROPPING_PROP DISPLAY_PROP("disable_fb_cropping")
#define PRIORITIZE_CACHE_COMPOSITION_PROP DISPLAY_PROP("prioritize_cache_comp")
#define DISABLE_FBID_CACHE DISPLAY_PROP("disable_fbid_cache")
+#define DROP_SKEWED_VSYNC_PROP DISPLAY_PROP("drop_skewed_vsync")
#define DISABLE_HDR_LUT_GEN DISPLAY_PROP("disable_hdr_lut_gen")
#define ENABLE_DEFAULT_COLOR_MODE DISPLAY_PROP("enable_default_color_mode")
diff --git a/sdm/libs/core/display_base.cpp b/sdm/libs/core/display_base.cpp
index 5072a23f..f871ccc6 100644
--- a/sdm/libs/core/display_base.cpp
+++ b/sdm/libs/core/display_base.cpp
@@ -118,7 +118,7 @@ DisplayError DisplayBase::Init() {
// TODO(user): Temporary changes, to be removed when DRM driver supports
// Partial update with Destination scaler enabled.
SetPUonDestScaler();
- Debug::Get()->GetProperty("sdm.drop_skewed_vsync", &drop_vsync);
+ Debug::Get()->GetProperty(DROP_SKEWED_VSYNC_PROP, &drop_vsync);
drop_skewed_vsync_ = (drop_vsync == 1);
return kErrorNone;