sdm: Add property to define max video upscaling limit.
- Add property 'sdm.video_max_upscale' to define max video upscaling
by SDE. If video upscaling requirement exceeds max_upscale value,
SDM will use GPU to compose the video.
CRs-Fixed: 1048082
Change-Id: I489dca73e840675ac6cae76f0e81b6369035ec6a
diff --git a/sdm/include/utils/debug.h b/sdm/include/utils/debug.h
index 23ba181..352af3f 100644
--- a/sdm/include/utils/debug.h
+++ b/sdm/include/utils/debug.h
@@ -69,6 +69,7 @@
static bool IsRotatorDownScaleDisabled();
static bool IsDecimationDisabled();
static int GetMaxPipesPerMixer(DisplayType display_type);
+ static int GetMaxVideoUpscale();
static bool IsVideoModeEnabled();
static bool IsRotatorUbwcDisabled();
static bool IsRotatorSplitDisabled();