summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVishal Mahaveer2017-11-14 17:28:50 -0600
committerVishal Mahaveer2017-11-14 17:28:50 -0600
commit3ef51f882bf0ed8a1048762fe87550ac13914f4c (patch)
treea92adc528f4d91e83626549a7749b65bc1f309e3
parentca7cbb3f8113149782ee9c7be90b9bfe4219ffee (diff)
parent6df274e979a0ab55fdde16b0718da5f5bd9ff58a (diff)
downloadhardware-ti-dra7xx-6AO.1.0.tar.gz
hardware-ti-dra7xx-6AO.1.0.tar.xz
hardware-ti-dra7xx-6AO.1.0.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.c2
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))