From 561c25462d1821bae5960adeb7e1c28b40adc0fd Mon Sep 17 00:00:00 2001 From: Rob Herring Date: Thu, 13 Apr 2017 13:53:26 -0500 Subject: Quiet log prints changing them to verbose level Quiet down various informational tracing messages switching them to verbose log level Change-Id: I0a78a9bcb1f807dc2db060ab1551cd5f62fa3f2d Signed-off-by: Rob Herring --- gralloc.cpp | 4 ++-- gralloc_gbm.cpp | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/gralloc.cpp b/gralloc.cpp index ec7638f..606ee5f 100644 --- a/gralloc.cpp +++ b/gralloc.cpp @@ -175,7 +175,7 @@ static int gbm_mod_lock(const gralloc_module_t *mod, buffer_handle_t handle, } err = gralloc_gbm_bo_lock(bo, usage, x, y, w, h, ptr); - ALOGE("buffer %p lock usage = %08x", handle, usage); + ALOGV("buffer %p lock usage = %08x", handle, usage); unlock: pthread_mutex_unlock(&dmod->mutex); @@ -256,7 +256,7 @@ static int gbm_mod_alloc_gpu0(alloc_device_t *dev, *stride = gbm_bo_get_stride(gralloc_gbm_bo_to_gbm_bo(bo)) / gralloc_gbm_get_bpp(format); - ALOGE("buffer %p usage = %08x", *handle, usage); + ALOGV("buffer %p usage = %08x", *handle, usage); unlock: pthread_mutex_unlock(&dmod->mutex); return err; diff --git a/gralloc_gbm.cpp b/gralloc_gbm.cpp index 6b7c0b5..ea1035f 100644 --- a/gralloc_gbm.cpp +++ b/gralloc_gbm.cpp @@ -180,7 +180,7 @@ static struct gralloc_gbm_bo_t *gbm_alloc(struct gbm_device *gbm, height += handle->height / 2; } - ALOGD("create BO, size=%dx%d, fmt=%d, usage=%x", + ALOGV("create BO, size=%dx%d, fmt=%d, usage=%x", handle->width, handle->height, handle->format, usage); buf->bo = gbm_bo_create(gbm, width, height, format, usage); if (!buf->bo) { @@ -228,7 +228,7 @@ static int gbm_map(struct gralloc_gbm_bo_t *bo, int x, int y, int w, int h, flags |= GBM_BO_TRANSFER_WRITE; *addr = gbm_bo_map(bo->bo, 0, 0, x + w, y + h, flags, &stride, &bo->map_data); - ALOGE("mapped bo %p (%d, %d)-(%d, %d) at %p", bo, x, y, w, h, *addr); + ALOGV("mapped bo %p (%d, %d)-(%d, %d) at %p", bo, x, y, w, h, *addr); if (*addr == NULL) return -ENOMEM; @@ -305,7 +305,7 @@ static struct gralloc_gbm_bo_t *validate_handle(buffer_handle_t _handle, if (!gbm) return NULL; - ALOGE("handle: pfd=%d\n", handle->prime_fd); + ALOGV("handle: pfd=%d\n", handle->prime_fd); bo = gbm_import(gbm, handle); if (bo) { -- cgit v1.2.3