sdm: Add property to disable partial split
Change-Id: Ia6a60d5e13eb7c18ce02232e1b8e4c98629a7556
CRs-Fixed: 2010024
diff --git a/sdm/libs/utils/debug.cpp b/sdm/libs/utils/debug.cpp
index fc8567a..1ed4a83 100644
--- a/sdm/libs/utils/debug.cpp
+++ b/sdm/libs/utils/debug.cpp
@@ -163,6 +163,13 @@
return (value == 1);
}
+bool Debug::IsPartialSplitDisabled() {
+ int value = 0;
+ debug_.debug_handler_->GetProperty("sdm.debug.disable_partial_split", &value);
+
+ return (value == 1);
+}
+
DisplayError Debug::GetMixerResolution(uint32_t *width, uint32_t *height) {
char value[64] = {};