Home
last modified time | relevance | path

Searched refs:mtk_v4l2_debug (Results 1 – 13 of 13) sorted by relevance

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
Dmtk_vcodec_dec_stateful.c64 mtk_v4l2_debug(3, "[%d]", ctx->id); in get_display_buffer()
72 mtk_v4l2_debug(3, "No display frame buffer"); in get_display_buffer()
81 mtk_v4l2_debug(2, "[%d]status=%x queue id=%d to done_list %d", in get_display_buffer()
112 mtk_v4l2_debug(3, " No free frame buffer"); in get_free_buffer()
116 mtk_v4l2_debug(3, "[%d] tmp_frame_addr = 0x%p", ctx->id, in get_free_buffer()
134 mtk_v4l2_debug(2, "[%d]status=%x queue id=%d to rdy_queue %d", in get_free_buffer()
149 mtk_v4l2_debug(2, in get_free_buffer()
164 mtk_v4l2_debug(3, "[%d]status=%x err queue id=%d %d %d", in get_free_buffer()
194 mtk_v4l2_debug(1, "[%d]", ctx->id); in mtk_vdec_queue_res_chg_event()
224 mtk_v4l2_debug(1, "Update cap fourcc(%d -> %d)", in mtk_vdec_update_fmt()
[all …]
Dmtk_vcodec_util.c43 mtk_v4l2_debug(3, "[%d] - va = %p", ctx->id, mem->va); in mtk_vcodec_mem_alloc()
44 mtk_v4l2_debug(3, "[%d] - dma = 0x%lx", ctx->id, in mtk_vcodec_mem_alloc()
46 mtk_v4l2_debug(3, "[%d] size = 0x%lx", ctx->id, size); in mtk_vcodec_mem_alloc()
65 mtk_v4l2_debug(3, "[%d] - va = %p", ctx->id, mem->va); in mtk_vcodec_mem_free()
66 mtk_v4l2_debug(3, "[%d] - dma = 0x%lx", ctx->id, in mtk_vcodec_mem_free()
68 mtk_v4l2_debug(3, "[%d] size = 0x%lx", ctx->id, size); in mtk_vcodec_mem_free()
Dmtk_vcodec_dec_stateless.c143 mtk_v4l2_debug(2, "free frame buffer id:%d to done list", in mtk_vdec_stateless_cap_to_disp()
162 mtk_v4l2_debug(1, "[%d] dst_buf empty!!", ctx->id); in vdec_get_cap_buffer()
180 mtk_v4l2_debug(1, "id=%d Framebuf pfb=%p VA=%p Y_DMA=%pad C_DMA=%pad Size=%zx frame_count = %d", in vdec_get_cap_buffer()
211 mtk_v4l2_debug(1, "[%d] no available source buffer", ctx->id); in mtk_vdec_worker()
220 mtk_v4l2_debug(3, "[%d] (%d) id=%d, vb=%p", ctx->id, in mtk_vdec_worker()
233 mtk_v4l2_debug(3, "[%d] Bitstream VA=%p DMA=%pad Size=%zx vb=%p", in mtk_vdec_worker()
272 mtk_v4l2_debug(3, "[%d] (%d) id=%d, vb=%p", ctx->id, vb->vb2_queue->type, vb->index, vb); in vb2ops_vdec_stateless_buf_queue()
283 mtk_v4l2_debug(1, "Init driver from init to header."); in vb2ops_vdec_stateless_buf_queue()
285 mtk_v4l2_debug(3, "[%d] already init driver %d", ctx->id, ctx->state); in vb2ops_vdec_stateless_buf_queue()
330 mtk_v4l2_debug(1, "No buffer provided with the request"); in fops_media_request_validate()
[all …]
Dmtk_vcodec_enc.c54 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_BITRATE_MODE val= %d", in vidioc_venc_s_ctrl()
62 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_BITRATE val = %d", in vidioc_venc_s_ctrl()
68 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_B_FRAMES val = %d", in vidioc_venc_s_ctrl()
73 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_FRAME_RC_ENABLE val = %d", in vidioc_venc_s_ctrl()
78 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_H264_MAX_QP val = %d", in vidioc_venc_s_ctrl()
83 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_HEADER_MODE val = %d", in vidioc_venc_s_ctrl()
88 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_MB_RC_ENABLE val = %d", in vidioc_venc_s_ctrl()
93 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_H264_PROFILE val = %d", in vidioc_venc_s_ctrl()
98 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_H264_LEVEL val = %d", in vidioc_venc_s_ctrl()
103 mtk_v4l2_debug(2, "V4L2_CID_MPEG_VIDEO_H264_I_PERIOD val = %d", in vidioc_venc_s_ctrl()
[all …]
Dvdec_msg_queue.c75 mtk_v4l2_debug(3, "enqueue buf type: %d addr: 0x%p num: %d", in vdec_msg_queue_qbuf()
103 mtk_v4l2_debug(3, "queue is NULL, type:%d num: %d", in vdec_msg_queue_dqbuf()
132 mtk_v4l2_debug(3, "dqueue buf type:%d addr: 0x%p num: %d", in vdec_msg_queue_dqbuf()
143 mtk_v4l2_debug(3, "update ube rprt (0x%llx)", ube_rptr); in vdec_msg_queue_update_ube_rptr()
151 mtk_v4l2_debug(3, "update ube wprt: (0x%llx 0x%llx) offset: 0x%llx", in vdec_msg_queue_update_ube_wptr()
167 mtk_v4l2_debug(3, "success to get lat buf: %d", in vdec_msg_queue_wait_lat_buf_full()
225 mtk_v4l2_debug(3, "re-schedule to decode for core: %d", in vdec_msg_queue_core_work()
Dmtk_vcodec_util.h39 #define mtk_v4l2_debug(level, fmt, args...) pr_debug(fmt, ##args) macro
41 #define mtk_v4l2_debug_enter() mtk_v4l2_debug(3, "+")
42 #define mtk_v4l2_debug_leave() mtk_v4l2_debug(3, "-")
Dmtk_vcodec_dec_drv.c74 mtk_v4l2_debug(3, in mtk_vcodec_dec_irq_handler()
99 mtk_v4l2_debug(2, "reg[%d] base=%p", i, dev->reg_base[i]); in mtk_vcodec_get_reg_bases()
212 mtk_v4l2_debug(0, "decoder capability %x", dev->dec_capability); in fops_vcodec_open()
220 mtk_v4l2_debug(0, "%s decoder [%d]", dev_name(&dev->plat_dev->dev), in fops_vcodec_open()
243 mtk_v4l2_debug(0, "[%d] decoder", ctx->id); in fops_vcodec_release()
431 mtk_v4l2_debug(0, "media registered as /dev/media%d", vfd_dec->minor); in mtk_vcodec_probe()
434 mtk_v4l2_debug(0, "decoder registered as /dev/video%d", vfd_dec->minor); in mtk_vcodec_probe()
Dmtk_vcodec_dec.c103 mtk_v4l2_debug(1, "decoder cmd=%u", cmd->cmd); in vidioc_decoder_cmd()
111 mtk_v4l2_debug(1, "Output stream is off. No need to flush."); in vidioc_decoder_cmd()
115 mtk_v4l2_debug(1, "Capture stream is off. No need to flush."); in vidioc_decoder_cmd()
309 mtk_v4l2_debug(0, in vidioc_try_fmt()
453 mtk_v4l2_debug(3, "[%d]", ctx->id); in vidioc_vdec_s_fmt()
561mtk_v4l2_debug(2, "[%d] vdec_if_init() num_plane = %d wxh=%dx%d pic wxh=%dx%d sz[0]=0x%x sz[1]=0x%… in vidioc_vdec_s_fmt()
591 mtk_v4l2_debug(1, "%x, %d %d %d %d %d %d", in vidioc_enum_framesizes()
733 mtk_v4l2_debug(1, "[%d] type=%d state=%d Format information could not be read, not ready yet!", in vidioc_vdec_g_fmt()
770 mtk_v4l2_debug(1, in vb2ops_vdec_queue_setup()
784 mtk_v4l2_debug(3, "[%d] (%d) id=%d", in vb2ops_vdec_buf_prepare()
[all …]
Dmtk_vcodec_enc_drv.c97 mtk_v4l2_debug(1, "id=%d coreid:%d", ctx->id, dev->venc_pdata->core_id); in mtk_vcodec_enc_irq_handler()
172 mtk_v4l2_debug(0, "encoder capability %x", dev->enc_capability); in fops_vcodec_open()
175 mtk_v4l2_debug(2, "Create instance [%d]@%p m2m_ctx=%p ", in fops_vcodec_open()
181 mtk_v4l2_debug(0, "%s encoder [%d]", dev_name(&dev->plat_dev->dev), in fops_vcodec_open()
204 mtk_v4l2_debug(1, "[%d] encoder", ctx->id); in fops_vcodec_release()
356 mtk_v4l2_debug(0, "encoder %d registered as /dev/video%d", in mtk_vcodec_probe()
Dmtk_vcodec_fw_vpu.c64 mtk_v4l2_debug(0, "[%d] Change to state MTK_STATE_ABORT", in mtk_vcodec_vpu_reset_handler()
Dmtk_vcodec_dec_hw.c96 mtk_v4l2_debug(3, "wake up ctx %d, dec_done_status=%x", in mtk_vdec_hw_irq_handler()
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_req_if.c192 mtk_v4l2_debug(3, "size = 0x%x", buf_sz); in alloc_mv_buf()
248 mtk_v4l2_debug(1, "ResChg: (%d %d) : old(%d, %d) -> new(%d, %d)", in get_pic_info()
Dvdec_h264_req_multi_if.c297 mtk_v4l2_debug(3, "cur poc = %d\n", dec_params->bottom_field_order_cnt); in vdec_h264_slice_fill_decode_reflist()
317 mtk_v4l2_debug(3, "size = 0x%x", buf_sz); in vdec_h264_slice_alloc_mv_buf()
375 mtk_v4l2_debug(1, "resChg: (%d %d) : old(%d, %d) -> new(%d, %d)", in vdec_h264_slice_get_pic_info()