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:
committed by
Gerrit - the friendly Code Review server
parent
13f964b7b8
commit
9bc1a783bf
@@ -61,11 +61,12 @@ int querySDEInfo(HWQueryType type, int *value) {
|
||||
case HAS_MACRO_TILE:
|
||||
featureName = "tile_format";
|
||||
break;
|
||||
|
||||
case HAS_UBWC:
|
||||
featureName = "ubwc";
|
||||
break;
|
||||
|
||||
case HAS_WB_UBWC:
|
||||
featureName = "wb_ubwc";
|
||||
break;
|
||||
default:
|
||||
ALOGE("Invalid query type %d", type);
|
||||
return -EINVAL;
|
||||
|
||||
Reference in New Issue
Block a user