diff options
-rw-r--r-- | include/display_properties.h | 1 | ||||
-rw-r--r-- | sdm/libs/core/display_base.cpp | 2 |
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; |