diff options
author | Gowtham Tammana | 2017-11-01 21:48:59 -0500 |
---|---|---|
committer | Vishal Mahaveer | 2017-11-03 17:37:04 -0500 |
commit | 6df274e979a0ab55fdde16b0718da5f5bd9ff58a (patch) | |
tree | 7e57f37cf8b3e1b912ec1d8f53d1f8c30bce8d96 | |
parent | a4de3a3d0208870b0ef77fb4258a6003e734da3e (diff) | |
download | android-hardware-ti-dra7xx-6df274e979a0ab55fdde16b0718da5f5bd9ff58a.tar.gz android-hardware-ti-dra7xx-6df274e979a0ab55fdde16b0718da5f5bd9ff58a.tar.xz android-hardware-ti-dra7xx-6df274e979a0ab55fdde16b0718da5f5bd9ff58a.zip |
hwc: Skip dss composition for single NV12 layer
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) | |||
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)) |