diff options
author | Gowtham Tammana <g-tammana@ti.com> | 2017-11-01 21:48:59 -0500 |
---|---|---|
committer | Vishal Mahaveer <vishalm@ti.com> | 2017-11-03 17:37:04 -0500 |
commit | 6df274e979a0ab55fdde16b0718da5f5bd9ff58a (patch) | |
tree | 7e57f37cf8b3e1b912ec1d8f53d1f8c30bce8d96 | |
parent | a4de3a3d0208870b0ef77fb4258a6003e734da3e (diff) | |
download | dra7xx-6df274e979a0ab55fdde16b0718da5f5bd9ff58a.tar.gz |
hwc: Skip dss composition for single NV12 layer6AM.1.3-P1
In single NV12 layer case, it is being assigned to GFX pipe
which cannot do color-conversion. Skipping DSS composition in
this scenario.
Change-Id: I2548f2c27cf1ae0ece6350729f606ecea6fa038b
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
-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) hwc_layer_1_t *layer = NULL; uint32_t i, j; - if (disp || list->numHwLayers == 1 || comp->use_blitter) + if (disp || list->numHwLayers <= 2 || comp->use_blitter) return; if (!property_get_bool("persist.hwc.dss.comp", 1)) |