2 Commits

Author SHA1 Message Date
thead_admin
dad1ea41f7 Linux_SDK_V1.0.3 2023-01-04 13:00:52 +08:00
thead_admin
8073b0cd53 Linux_SDK_V1.0.2 2022-11-22 15:45:06 +08:00
3 changed files with 5 additions and 5 deletions

View File

@@ -639,7 +639,7 @@ int img_mem_import(struct device *device, struct mem_ctx *ctx, int heap_id,
*buf_id = buffer->id;
mutex_unlock(&mem_man->mutex);
pr_info("%s buf_hnd %#llx heap %d (%s) buffer %d size %zu\n", __func__,
pr_debug("%s buf_hnd %#llx heap %d (%s) buffer %d size %zu\n", __func__,
buf_hnd, heap_id, get_heap_name(heap->type), *buf_id, size);
pr_debug("%s heap %d ctx %p created buffer %d (%p) size %zu\n",
__func__, heap_id, ctx, *buf_id, buffer, size);
@@ -710,7 +710,7 @@ int img_mem_export(struct device *device, struct mem_ctx *ctx, int buf_id,
mutex_unlock(&mem_man->mutex);
pr_info("%s buf_hnd %#llx heap %d (%s) buffer %d size %zu\n", __func__,
pr_debug("%s buf_hnd %#llx heap %d (%s) buffer %d size %zu\n", __func__,
*buf_hnd, heap->id, get_heap_name(heap->type), buf_id, size);
pr_debug("%s heap %d ctx %p exported buffer %d (%p) size %zu\n",
__func__, heap->id, ctx, buf_id, buffer, size);
@@ -2117,7 +2117,7 @@ static void _img_mmu_ctx_destroy(struct mmu_ctx *ctx)
map = list_first_entry(&ctx->mappings,
struct mmu_ctx_mapping, mmu_ctx_entry);
pr_info("%s: found mapped buffer %d (size %zu)\n",
pr_debug("%s: found mapped buffer %d (size %zu)\n",
__func__, map->buffer->id, map->buffer->request_size);
_img_mmu_unmap(map);
kfree(map);

View File

@@ -196,7 +196,7 @@ void _mmu_log(int err, const char *function, uint32_t line,
pr_err("ERROR: %s:%u %s", function, line, _message_);
else
/* info, debug, ... */
pr_info("%s:%u %s", function, line, _message_);
pr_debug("%s:%u %s", function, line, _message_);
}
/*

View File

@@ -95,7 +95,7 @@ static void pool_crawler(struct gen_pool *pool,
#else
unsigned long size = (chunk->end_addr - chunk->start_addr + 1);
#endif
pr_info("pool 0x%p has chunk 0x%lx to 0x%lx (size = %lu B)\n",
pr_debug("pool 0x%p has chunk 0x%lx to 0x%lx (size = %lu B)\n",
data, chunk->start_addr, chunk->end_addr, size);
}