@@ -414,18 +414,18 @@ void etnaviv_buffer_queue(struct etnaviv_gpu *gpu, u32 exec_state,
buffer->user_size - 4);
if (drm_debug & DRM_UT_DRIVER)
- pr_info("stream link to 0x%08x @ 0x%08x %p\n",
- return_target, etnaviv_cmdbuf_get_va(cmdbuf),
- cmdbuf->vaddr);
+ dev_info(gpu->dev, "stream link to 0x%08x @ 0x%08x %p\n",
+ return_target, etnaviv_cmdbuf_get_va(cmdbuf),
+ cmdbuf->vaddr);
if (drm_debug & DRM_UT_DRIVER) {
print_hex_dump(KERN_INFO, "cmd ", DUMP_PREFIX_OFFSET, 16, 4,
cmdbuf->vaddr, cmdbuf->size, 0);
- pr_info("link op: %p\n", buffer->vaddr + waitlink_offset);
- pr_info("addr: 0x%08x\n", link_target);
- pr_info("back: 0x%08x\n", return_target);
- pr_info("event: %d\n", event);
+ dev_info(gpu->dev, "link op: %p\n", buffer->vaddr + waitlink_offset);
+ dev_info(gpu->dev, "addr: 0x%08x\n", link_target);
+ dev_info(gpu->dev, "back: 0x%08x\n", return_target);
+ dev_info(gpu->dev, "event: %d\n", event);
}
/*
dev_info() is more appropriate for printing error messages inside drivers, so switch to dev_info(). Signed-off-by: Fabio Estevam <festevam@gmail.com> --- drivers/gpu/drm/etnaviv/etnaviv_buffer.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)