sdm: Parse UBWC feature from MDP caps
1. Parse "ubwc" string in MDP caps feature list. 2. Add support to read system prop "sdm.debug.rotator_disable_ubwc". Change-Id: Ie43b81237960e6c1e8784801b10cd39df069cddc
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
parent
8a1686c99d
commit
b5e45c45dd
@@ -106,5 +106,12 @@ bool Debug::IsVideoModeEnabled() {
|
||||
return (value == 1);
|
||||
}
|
||||
|
||||
bool Debug::IsRotatorUbwcDisabled() {
|
||||
int value = 0;
|
||||
debug_.debug_handler_->GetProperty("sdm.debug.rotator_disable_ubwc", &value);
|
||||
|
||||
return (value == 1);
|
||||
}
|
||||
|
||||
} // namespace sdm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user