sdm: Add property to define max upscaling limit.
- Add property 'sdm.max_upscale' to define max upscaling
by SDE. If upscaling requirement exceeds max_upscale value,
use GPU for composition.
CRs-Fixed: 2020598
Change-Id: I5ab225c8f39acb4147933e33cf0420d4e8e626a7
diff --git a/sdm/libs/utils/debug.cpp b/sdm/libs/utils/debug.cpp
index 0cb1c8e..95b4e3b 100644
--- a/sdm/libs/utils/debug.cpp
+++ b/sdm/libs/utils/debug.cpp
@@ -105,9 +105,9 @@
return value;
}
-int Debug::GetMaxVideoUpscale() {
+int Debug::GetMaxUpscale() {
int value = 0;
- debug_.debug_handler_->GetProperty("sdm.video_max_upscale", &value);
+ debug_.debug_handler_->GetProperty("sdm.max_upscale", &value);
return value;
}