libgralloc: Enable UBWC output buffers for Writeback displays

While allocating output buffers for writeback display, check MDP
support for writeback UBWC format before assigning the format.

Change-Id: I97bb320ec89d60453c4c7e3dc5a2b5c2a18394dd
This commit is contained in:
Jeykumar Sankaran
2015-12-14 18:36:27 -08:00
committed by Gerrit - the friendly Code Review server
parent 13f964b7b8
commit 9bc1a783bf
5 changed files with 20 additions and 5 deletions

View File

@@ -101,6 +101,7 @@ static bool useUncached(const int& usage) {
MDPCapabilityInfo :: MDPCapabilityInfo() {
qdutils::querySDEInfo(HAS_MACRO_TILE, &isMacroTileSupported);
qdutils::querySDEInfo(HAS_UBWC, &isUBwcSupported);
qdutils::querySDEInfo(HAS_WB_UBWC, &isWBUBWCSupported);
}
//------------- AdrenoMemInfo-----------------------//