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/include/utils/debug.h b/sdm/include/utils/debug.h
index 2837fda..6f895c7 100644
--- a/sdm/include/utils/debug.h
+++ b/sdm/include/utils/debug.h
@@ -69,7 +69,7 @@
   static bool IsRotatorDownScaleDisabled();
   static bool IsDecimationDisabled();
   static int GetMaxPipesPerMixer(DisplayType display_type);
-  static int GetMaxVideoUpscale();
+  static int GetMaxUpscale();
   static bool IsVideoModeEnabled();
   static bool IsRotatorUbwcDisabled();
   static bool IsRotatorSplitDisabled();
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;
 }