diff options
author | Vishal Mahaveer | 2017-11-14 17:28:50 -0600 |
---|---|---|
committer | Vishal Mahaveer | 2017-11-14 17:28:50 -0600 |
commit | 3ef51f882bf0ed8a1048762fe87550ac13914f4c (patch) | |
tree | a92adc528f4d91e83626549a7749b65bc1f309e3 | |
parent | ca7cbb3f8113149782ee9c7be90b9bfe4219ffee (diff) | |
parent | 6df274e979a0ab55fdde16b0718da5f5bd9ff58a (diff) | |
download | hardware-ti-dra7xx-3ef51f882bf0ed8a1048762fe87550ac13914f4c.tar.gz hardware-ti-dra7xx-3ef51f882bf0ed8a1048762fe87550ac13914f4c.tar.xz hardware-ti-dra7xx-3ef51f882bf0ed8a1048762fe87550ac13914f4c.zip |
Merge remote-tracking branch 'omap-mirror/d-marshmallow-mr3-release' into d-oreo-r6-release6AO.1.0
* omap-mirror/d-marshmallow-mr3-release:
hwc: Skip dss composition for single NV12 layer
-rw-r--r-- | hwcomposer/hwc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hwcomposer/hwc.c b/hwcomposer/hwc.c index 18df5e8..343778f 100644 --- a/hwcomposer/hwc.c +++ b/hwcomposer/hwc.c | |||
@@ -162,7 +162,7 @@ static void hwc_check_dss_composition(omap_hwc_device_t *hwc_dev, int disp) | |||
162 | hwc_layer_1_t *layer = NULL; | 162 | hwc_layer_1_t *layer = NULL; |
163 | uint32_t i, j; | 163 | uint32_t i, j; |
164 | 164 | ||
165 | if (disp || list->numHwLayers == 1 || comp->use_blitter) | 165 | if (disp || list->numHwLayers <= 2 || comp->use_blitter) |
166 | return; | 166 | return; |
167 | 167 | ||
168 | if (!property_get_bool("persist.hwc.dss.comp", 1)) | 168 | if (!property_get_bool("persist.hwc.dss.comp", 1)) |