Merge "sdm: Add property to define max video upscaling limit."
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
d6c709ed0d
@@ -69,6 +69,7 @@ class Debug {
|
||||
static bool IsRotatorDownScaleDisabled();
|
||||
static bool IsDecimationDisabled();
|
||||
static int GetMaxPipesPerMixer(DisplayType display_type);
|
||||
static int GetMaxVideoUpscale();
|
||||
static bool IsVideoModeEnabled();
|
||||
static bool IsRotatorUbwcDisabled();
|
||||
static bool IsRotatorSplitDisabled();
|
||||
|
||||
@@ -99,6 +99,13 @@ int Debug::GetMaxPipesPerMixer(DisplayType display_type) {
|
||||
return value;
|
||||
}
|
||||
|
||||
int Debug::GetMaxVideoUpscale() {
|
||||
int value = 0;
|
||||
debug_.debug_handler_->GetProperty("sdm.video_max_upscale", &value);
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
bool Debug::IsVideoModeEnabled() {
|
||||
int value = 0;
|
||||
debug_.debug_handler_->GetProperty("sdm.video_mode_panel", &value);
|
||||
|
||||
Reference in New Issue
Block a user