diff options
author | Tony Lofthouse <a0741364@ti.com> | 2012-03-13 15:00:52 -0500 |
---|---|---|
committer | Daniel Levin <dendy@ti.com> | 2012-11-28 21:16:22 +0200 |
commit | 71f17d0e941736639b0ab5cc3040437c95fab54f (patch) | |
tree | 1bb0c50ee298f69cb2cfae2c9d37ef5a0f9af1ac | |
parent | 0630f61351a21ccd699dc979f1c0439386476a01 (diff) | |
download | hardware_ti_omap4-71f17d0e941736639b0ab5cc3040437c95fab54f.zip hardware_ti_omap4-71f17d0e941736639b0ab5cc3040437c95fab54f.tar.gz hardware_ti_omap4-71f17d0e941736639b0ab5cc3040437c95fab54f.tar.bz2 |
hwc: save some dumpsys log real-estate
With the SurfaceFlinger/GraphicBufferAllocator and gralloc HAL state following
the HWC overlay, HWC state often scrolls off the screen. Make the layer dump use
fewer lines.
Ported from p-ics-mr1:
037dac8 hwc: save some dumpsys log real-estate
Change-Id: I15d5e411056c57721105ca47b5deddfb496392d4
Signed-off-by: Tony Lofthouse <a0741364@ti.com>
-rw-r--r-- | hwc/hwc.c | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -1778,16 +1778,13 @@ static void omap4_hwc_dump(struct hwc_composer_device *dev, char *buff, int buff struct dss2_ovl_cfg *cfg = &dsscomp->ovls[i].cfg; dump_printf(&log, " layer %d:\n", i); - dump_printf(&log, " enabled: %s\n", - cfg->enabled ? "true" : "false"); - dump_printf(&log, " buff: %p %dx%d stride: %d\n", - hwc_dev->buffers[i], cfg->width, cfg->height, cfg->stride); - dump_printf(&log, " src: (%d,%d) %dx%d\n", - cfg->crop.x, cfg->crop.y, cfg->crop.w, cfg->crop.h); - dump_printf(&log, " dst: (%d,%d) %dx%d\n", - cfg->win.x, cfg->win.y, cfg->win.w, cfg->win.h); - dump_printf(&log, " ix: %d\n", cfg->ix); - dump_printf(&log, " zorder: %d\n\n", cfg->zorder); + dump_printf(&log, " enabled:%s buff:%p %dx%d stride:%d\n", + cfg->enabled ? "true" : "false", hwc_dev->buffers[i], + cfg->width, cfg->height, cfg->stride); + dump_printf(&log, " src:(%d,%d) %dx%d dst:(%d,%d) %dx%d ix:%d zorder:%d\n", + cfg->crop.x, cfg->crop.y, cfg->crop.w, cfg->crop.h, + cfg->win.x, cfg->win.y, cfg->win.w, cfg->win.h, + cfg->ix, cfg->zorder); } if (hwc_dev->blt_policy != BLTPOLICY_DISABLED) { |