vpp: clean vpp print log [1/1]

PD#SWPL-140737

Problem:
clean vpp print log

Solution:
complete it

Verify:
txhd2

Change-Id: Ic2a066113a880621f22c5c719755626c8c5c3113
Signed-off-by: yuhua.lin <yuhua.lin@amlogic.com>
This commit is contained in:
yuhua.lin
2023-09-27 10:39:55 +08:00
committed by gerrit autosubmit
parent 33b84981a4
commit 32cf877a2d
4 changed files with 9 additions and 10 deletions
@@ -836,14 +836,14 @@ static int __init codec_io_probe(struct platform_device *pdev)
pr_err("cannot map codec_io registers\n");
return -ENOMEM;
}
pr_err("codec map io source 0x%lx,size=%d to 0x%lx\n",
pr_debug("codec map io source 0x%lx,size=%d to 0x%lx\n",
(unsigned long)res.start,
(int)resource_size(&res),
(unsigned long)codecio_reg_map[i]);
} else {
codecio_reg_map[i] = 0;
codecio_reg_start[i] = 0;
pr_err("ignore io source start %lx,size=%d\n",
pr_debug("ignore io source start %lx,size=%d\n",
(unsigned long)res.start, (int)resource_size(&res));
}
@@ -854,7 +854,7 @@ static int __init codec_io_probe(struct platform_device *pdev)
}
set_cpu_type_from_media(codecio_meson_dev.cpu_id);
pr_debug("%s success, cpu_type=0x%x\n", __func__, get_cpu_type());
pr_info("%s success, cpu_type=0x%x\n", __func__, get_cpu_type());
return 0;
}
+1 -1
View File
@@ -560,7 +560,7 @@ int rdma_register(struct rdma_op_s *rdma_op, void *op_arg, int table_size)
(ulong)(dma_handle);
info->rdma_ins[i].reg_buf =
kmalloc(table_size, GFP_KERNEL);
pr_info("%s, rdma_table_addr %lx phy: %lx reg_buf %lx\n",
pr_debug("%s, rdma_table_addr %lx phy: %lx reg_buf %lx\n",
__func__,
(unsigned long)
info->rdma_ins[i].rdma_table_addr,
@@ -6379,7 +6379,6 @@ int register_osd_func(int (*get_osd_enable_status)(enum OSD_INDEX index))
{
pr_info("register osd enable status func\n");
get_osd_status = get_osd_enable_status;
pr_info("%s %d\n", __func__, __LINE__);
return 0;
}
EXPORT_SYMBOL(register_osd_func);
+5 -5
View File
@@ -5554,7 +5554,7 @@ static int __init osd_probe(struct platform_device *pdev)
osd_log_err("cannot get viu irq resource\n");
goto failed1;
} else {
osd_log_info("viu vsync irq: %d\n", int_viu_vsync);
osd_log_dbg(MODULE_BASE, "viu vsync irq: %d\n", int_viu_vsync);
}
if (osd_meson_dev.has_viu2 || osd_meson_dev.has_vpp1) {
int_viu2_vsync = platform_get_irq_byname(pdev, "viu2-vsync");
@@ -5562,7 +5562,7 @@ static int __init osd_probe(struct platform_device *pdev)
osd_log_err("cannot get viu2 irq resource\n");
goto failed1;
} else {
osd_log_info("viu2 vsync irq: %d\n", int_viu2_vsync);
osd_log_dbg(MODULE_BASE, "viu2 vsync irq: %d\n", int_viu2_vsync);
}
}
if (osd_meson_dev.has_vpp2) {
@@ -5571,7 +5571,7 @@ static int __init osd_probe(struct platform_device *pdev)
osd_log_err("cannot get viu2 irq resource\n");
goto failed1;
} else {
osd_log_info("viu3 vsync irq: %d\n", int_viu3_vsync);
osd_log_dbg(MODULE_BASE, "viu3 vsync irq: %d\n", int_viu3_vsync);
}
}
@@ -5677,7 +5677,7 @@ static int __init osd_probe(struct platform_device *pdev)
}
} else {
base_addr = osd_mem_res.start;
osd_log_info("logo reserved memory size:%d\n",
osd_log_info("logo reserved memory size:0x%x\n",
fb_memsize[0]);
}
#endif
@@ -5761,7 +5761,7 @@ static int __init osd_probe(struct platform_device *pdev)
var_screeninfo[3];
fb_def_var[index].bits_per_pixel =
var_screeninfo[4];
osd_log_info("init fbdev bpp is:%d\n",
osd_log_dbg(MODULE_BASE, "init fbdev bpp is:%d\n",
fb_def_var[index].bits_per_pixel);
if (fb_def_var[index].bits_per_pixel > 32)
fb_def_var[index].bits_per_pixel = 32;