summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Lofthouse <a0741364@ti.com>2012-03-13 15:00:52 -0500
committerDaniel Levin <dendy@ti.com>2012-11-28 21:16:22 +0200
commit71f17d0e941736639b0ab5cc3040437c95fab54f (patch)
tree1bb0c50ee298f69cb2cfae2c9d37ef5a0f9af1ac
parent0630f61351a21ccd699dc979f1c0439386476a01 (diff)
downloadhardware_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.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index 6277685..5341868 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -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) {