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();