diff options
author | Gustavo Diaz Prado <a0273371@ti.com> | 2012-10-19 17:45:52 -0500 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-11-28 21:16:26 +0200 |
commit | 1a0bfc670ef124c2fdbc53cceaba9406ce15b67c (patch) | |
tree | d9df48ca933cc3b3abb61606057d1095e9afe824 /hwc | |
parent | b44a5af01a48f410a6e54f8a5c74b914a2c7c94b (diff) | |
download | hardware_ti_omap4-1a0bfc670ef124c2fdbc53cceaba9406ce15b67c.zip hardware_ti_omap4-1a0bfc670ef124c2fdbc53cceaba9406ce15b67c.tar.gz hardware_ti_omap4-1a0bfc670ef124c2fdbc53cceaba9406ce15b67c.tar.bz2 |
hwc: Compose with the blitter on hwc idle timeout when possible
Instead of using the GPU to compose all layers when the hwc idle
timeout is reached, try first to blit everything if possible,
otherwise fall back to use the GPU.
This should save power on big resolution displays and allow the
GC320 to compose video buffers with more visual quality than the
GPU.
Change-Id: Ib2a020b700ce5131cb2711e2abff197831a990eb
Signed-off-by: Gustavo Diaz Prado <a0273371@ti.com>
Diffstat (limited to 'hwc')
-rw-r--r-- | hwc/hwc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1531,8 +1531,7 @@ static void blit_reset(omap4_hwc_device_t *hwc_dev) static int blit_layers(omap4_hwc_device_t *hwc_dev, hwc_layer_list_t *list, int bufoff) { - /* Do not blit if this frame will be composed entirely by the GPU */ - if (!list || hwc_dev->force_sgx || hwc_dev->ext.mirror.enabled) + if (!list || hwc_dev->ext.mirror.enabled) goto err_out; int rgz_in_op; |