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:
Sushil Chauhan
2015-06-12 16:50:26 -07:00
committed by Gerrit - the friendly Code Review server
parent 8a1686c99d
commit b5e45c45dd
3 changed files with 13 additions and 3 deletions

View File

@@ -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