summaryrefslogtreecommitdiff
path: root/hwc
diff options
context:
space:
mode:
authorTony Lofthouse <a0741364@ti.com>2012-03-13 15:00:52 -0500
committerJason Simmons <jsimmons@google.com>2012-10-22 15:29:52 -0700
commit3d32f43362ff52bdac5a83855c63e8a8274da55a (patch)
treea692196b98443430a6455f24263900b7d8249a21 /hwc
parentd5de2f43e7464783fd3168408a904c3ab646d652 (diff)
downloadomap4-aah-3d32f43362ff52bdac5a83855c63e8a8274da55a.tar.gz
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> (cherry picked from commit 8e1337a74223aef92748843b80d0886f4c4f3a29)
Diffstat (limited to 'hwc')
-rw-r--r--hwc/hwc.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/hwc/hwc.c b/hwc/hwc.c
index cb77275..0ee4455 100644
--- a/hwc/hwc.c
+++ b/hwc/hwc.c
@@ -1997,16 +1997,13 @@ static void omap4_hwc_dump(struct hwc_composer_device_1 *dev, char *buff, int bu
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) {