sdm: Add property to disable partial split
Change-Id: Ia6a60d5e13eb7c18ce02232e1b8e4c98629a7556 CRs-Fixed: 2010024
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
11e8ee03a2
commit
c1a71ca211
@@ -77,6 +77,7 @@ class Debug {
|
|||||||
static bool IsUbwcTiledFrameBuffer();
|
static bool IsUbwcTiledFrameBuffer();
|
||||||
static bool IsAVRDisabled();
|
static bool IsAVRDisabled();
|
||||||
static bool IsExtAnimDisabled();
|
static bool IsExtAnimDisabled();
|
||||||
|
static bool IsPartialSplitDisabled();
|
||||||
static DisplayError GetMixerResolution(uint32_t *width, uint32_t *height);
|
static DisplayError GetMixerResolution(uint32_t *width, uint32_t *height);
|
||||||
static int GetExtMaxlayers();
|
static int GetExtMaxlayers();
|
||||||
static bool GetProperty(const char *property_name, char *value);
|
static bool GetProperty(const char *property_name, char *value);
|
||||||
|
|||||||
@@ -163,6 +163,13 @@ bool Debug::IsExtAnimDisabled() {
|
|||||||
return (value == 1);
|
return (value == 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool Debug::IsPartialSplitDisabled() {
|
||||||
|
int value = 0;
|
||||||
|
debug_.debug_handler_->GetProperty("sdm.debug.disable_partial_split", &value);
|
||||||
|
|
||||||
|
return (value == 1);
|
||||||
|
}
|
||||||
|
|
||||||
DisplayError Debug::GetMixerResolution(uint32_t *width, uint32_t *height) {
|
DisplayError Debug::GetMixerResolution(uint32_t *width, uint32_t *height) {
|
||||||
char value[64] = {};
|
char value[64] = {};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user