mirror of
https://github.com/thead-yocto-mirror/npu-ax3386-kernel
synced 2026-06-21 17:02:23 +02:00
Compare commits
3 Commits
Linux_SDK_
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f341be53a1 | ||
|
|
dad1ea41f7 | ||
|
|
8073b0cd53 |
@@ -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);
|
||||
|
||||
@@ -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_);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user