sdm: Add support to disable NoSplit strategy
Add support to disable NoSplit strategy by setting the system prop "sdm.debug.prefersplit" to '1'. CRs-Fixed: 2068538 Change-Id: I7ea1f98a8a300fa077d889a7e46768416106db6d
This commit is contained in:
@@ -78,6 +78,7 @@ class Debug {
|
||||
static bool IsAVRDisabled();
|
||||
static bool IsExtAnimDisabled();
|
||||
static bool IsPartialSplitDisabled();
|
||||
static bool IsSrcSplitPreferred();
|
||||
static DisplayError GetMixerResolution(uint32_t *width, uint32_t *height);
|
||||
static DisplayError GetReducedConfig(uint32_t *num_vig_pipes, uint32_t *num_dma_pipes);
|
||||
static int GetExtMaxlayers();
|
||||
|
||||
@@ -177,6 +177,13 @@ bool Debug::IsPartialSplitDisabled() {
|
||||
return (value == 1);
|
||||
}
|
||||
|
||||
bool Debug::IsSrcSplitPreferred() {
|
||||
int value = 0;
|
||||
debug_.debug_handler_->GetProperty("sdm.debug.prefersplit", &value);
|
||||
|
||||
return (value == 1);
|
||||
}
|
||||
|
||||
DisplayError Debug::GetMixerResolution(uint32_t *width, uint32_t *height) {
|
||||
char value[64] = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user