/linux-6.1.9/drivers/media/platform/mediatek/vcodec/ |
D | mtk_vcodec_dec_drv.c | 36 mtk_v4l2_err("hw arch %d not supported", dev->vdec_pdata->hw_arch); in mtk_vcodec_get_hw_count() 55 mtk_v4l2_err("DEC ISR, VDEC active is not 0x0 (0x%08x)", in mtk_vcodec_dec_irq_handler() 179 mtk_v4l2_err("Failed to setup mt vcodec controls"); in fops_vcodec_open() 186 mtk_v4l2_err("Failed to v4l2_m2m_ctx_init() (%d)", in fops_vcodec_open() 205 mtk_v4l2_err("failed to load firmware!"); in fops_vcodec_open() 297 mtk_v4l2_err("Could not get vdec IPI device"); in mtk_vcodec_probe() 318 mtk_v4l2_err("Failed to create core workqueue"); in mtk_vcodec_probe() 327 mtk_v4l2_err("Failed to set mask"); in mtk_vcodec_probe() 342 mtk_v4l2_err("v4l2_device_register err=%d", ret); in mtk_vcodec_probe() 350 mtk_v4l2_err("Failed to allocate video device"); in mtk_vcodec_probe() [all …]
|
D | mtk_vcodec_dec_pm.c | 35 mtk_v4l2_err("Failed to get vdec clock count"); in mtk_vcodec_init_dec_clk() 44 mtk_v4l2_err("Failed to get clock name id = %d", i); in mtk_vcodec_init_dec_clk() 50 mtk_v4l2_err("devm_clk_get (%d)%s fail", i, in mtk_vcodec_init_dec_clk() 66 mtk_v4l2_err("pm_runtime_resume_and_get fail %d", ret); in mtk_vcodec_dec_pw_on() 77 mtk_v4l2_err("pm_runtime_put_sync fail %d", ret); in mtk_vcodec_dec_pw_off() 89 mtk_v4l2_err("clk_prepare_enable %d %s fail %d", i, in mtk_vcodec_dec_clock_on() 123 mtk_v4l2_err("Failed to get hw dev\n"); in mtk_vcodec_dec_enable_irq() 141 mtk_v4l2_err("Failed to get hw dev\n"); in mtk_vcodec_dec_disable_irq() 188 mtk_v4l2_err("Failed to get hw dev\n"); in mtk_vcodec_dec_get_pm()
|
D | mtk_vcodec_util.c | 22 mtk_v4l2_err("Invalid arguments, reg_idx=%d", reg_idx); in mtk_vcodec_get_reg_addr() 38 mtk_v4l2_err("%s dma_alloc size=%ld failed!", dev_name(dev), in mtk_vcodec_mem_alloc() 60 mtk_v4l2_err("%s dma_free size=%ld failed!", dev_name(dev), in mtk_vcodec_mem_free() 80 mtk_v4l2_err("hw idx is out of range:%d", hw_idx); in mtk_vcodec_get_hw_dev() 98 mtk_v4l2_err("Failed to get hw dev"); in mtk_vcodec_set_curr_ctx() 121 mtk_v4l2_err("Failed to get hw dev"); in mtk_vcodec_get_curr_ctx()
|
D | mtk_vcodec_dec_stateful.c | 67 mtk_v4l2_err("[%d]Cannot get param : GET_PARAM_DISP_FRAME_BUFFER", ctx->id); in get_display_buffer() 108 mtk_v4l2_err("[%d] Error!! Cannot get param", ctx->id); in get_free_buffer() 205 mtk_v4l2_err("DecodeFinal failed, ret=%d", ret); in mtk_vdec_flush_decoder() 231 mtk_v4l2_err("Cannot get fourcc(%d), using init value", pixelformat); in mtk_vdec_update_fmt() 241 mtk_v4l2_err("[%d]Error!! Cannot get param : GET_PARAM_PICTURE_INFO ERR", ctx->id); in mtk_vdec_pic_info_update() 249 mtk_v4l2_err("Cannot get correct pic info"); in mtk_vdec_pic_info_update() 269 mtk_v4l2_err("Incorrect dpb size, ret=%d", ret); in mtk_vdec_pic_info_update() 353 mtk_v4l2_err("[%d] id=%d src_addr is NULL!!", ctx->id, in mtk_vdec_worker() 369 …mtk_v4l2_err(" <===[%d], src_buf[%d] sz=0x%zx pts=%llu dst_buf[%d] vdec_if_decode() ret=%d res_chg… in mtk_vdec_worker() 458 mtk_v4l2_err("No src buffer"); in vb2ops_vdec_stateful_buf_queue() [all …]
|
D | mtk_vcodec_enc_pm.c | 38 mtk_v4l2_err("Failed to get venc clock count"); in mtk_vcodec_init_enc_clk() 47 mtk_v4l2_err("venc failed to get clk name %d", i); in mtk_vcodec_init_enc_clk() 53 mtk_v4l2_err("venc devm_clk_get (%d)%s fail", i, in mtk_vcodec_init_enc_clk() 70 mtk_v4l2_err("venc clk_prepare_enable %d %s fail %d", i, in mtk_vcodec_enc_clock_on()
|
D | vdec_msg_queue.c | 61 mtk_v4l2_err("fail to qbuf: %d", msg_ctx->hardware_index); in vdec_msg_queue_qbuf() 126 mtk_v4l2_err("fail to dqbuf: %d", msg_ctx->hardware_index); in vdec_msg_queue_dqbuf() 171 mtk_v4l2_err("failed with lat buf isn't full: %d", in vdec_msg_queue_wait_lat_buf_full() 250 mtk_v4l2_err("failed to allocate wdma_addr buf"); in vdec_msg_queue_init() 262 mtk_v4l2_err("failed to allocate wdma_err_addr buf[%d]", i); in vdec_msg_queue_init() 269 mtk_v4l2_err("failed to allocate wdma_addr buf[%d]", i); in vdec_msg_queue_init() 283 mtk_v4l2_err("failed to qbuf buf[%d]", i); in vdec_msg_queue_init()
|
D | mtk_vcodec_enc_drv.c | 138 mtk_v4l2_err("Failed to setup controls() (%d)", in fops_vcodec_open() 146 mtk_v4l2_err("Failed to v4l2_m2m_ctx_init() (%d)", in fops_vcodec_open() 166 mtk_v4l2_err("vpu_load_firmware failed!"); in fops_vcodec_open() 250 mtk_v4l2_err("Could not get venc IPI device"); in mtk_vcodec_probe() 302 mtk_v4l2_err("v4l2_device_register err=%d", ret); in mtk_vcodec_probe() 311 mtk_v4l2_err("Failed to allocate video device"); in mtk_vcodec_probe() 332 mtk_v4l2_err("Failed to init mem2mem enc device"); in mtk_vcodec_probe() 342 mtk_v4l2_err("Failed to create encode workqueue"); in mtk_vcodec_probe() 352 mtk_v4l2_err("Failed to register video device"); in mtk_vcodec_probe()
|
D | mtk_vcodec_enc.c | 57 mtk_v4l2_err("Unsupported bitrate mode =%d", ctrl->val); in vidioc_venc_s_ctrl() 399 mtk_v4l2_err("Unsupported fourcc =%d", q_data_src->fmt->fourcc); in mtk_venc_set_param() 438 mtk_v4l2_err("fail to get vq"); in vidioc_venc_s_fmt_cap() 443 mtk_v4l2_err("queue busy"); in vidioc_venc_s_fmt_cap() 471 mtk_v4l2_err("venc_if_init failed=%d, codec type=%x", in vidioc_venc_s_fmt_cap() 493 mtk_v4l2_err("fail to get vq"); in vidioc_venc_s_fmt_out() 498 mtk_v4l2_err("queue busy"); in vidioc_venc_s_fmt_out() 673 mtk_v4l2_err("[%d] Call on QBUF after unrecoverable error", in vidioc_venc_qbuf() 688 mtk_v4l2_err("[%d] Call on QBUF after unrecoverable error", in vidioc_venc_dqbuf() 727 mtk_v4l2_err("[%d] Call to CMD after unrecoverable error", in vidioc_encoder_cmd() [all …]
|
D | mtk_vcodec_intr.c | 28 mtk_v4l2_err("[%d] cmd=%d, type=%d, dec timeout=%ums (%d %d)", in mtk_vcodec_wait_for_done_ctx() 33 mtk_v4l2_err("[%d] cmd=%d, type=%d, dec inter fail (%d %d)", in mtk_vcodec_wait_for_done_ctx()
|
D | mtk_vcodec_dec_stateless.c | 146 mtk_v4l2_err("dst buffer is NULL"); in mtk_vdec_stateless_cap_to_disp() 228 mtk_v4l2_err("[%d] id=%d source buffer is NULL", ctx->id, in mtk_vdec_worker() 240 mtk_v4l2_err("vb2 buffer media request is NULL"); in mtk_vdec_worker() 244 mtk_v4l2_err(" <===[%d], src_buf[%d] sz=0x%zx pts=%llu vdec_if_decode() ret=%d res_chg=%d===>", in mtk_vdec_worker() 302 mtk_v4l2_err("v4l2_ctrl_handler_init failed\n"); in mtk_vcodec_dec_ctrls_setup() 311 mtk_v4l2_err("Adding control %d failed %d", i, ctx->ctrl_hdl.error); in mtk_vcodec_dec_ctrls_setup() 377 mtk_v4l2_err("Can not add unsupported format type"); in mtk_vcodec_add_formats()
|
D | mtk_vcodec_dec.c | 193 mtk_v4l2_err("[%d] Call on QBUF after unrecoverable error", in vidioc_vdec_qbuf() 207 mtk_v4l2_err("[%d] Call on DQBUF after unrecoverable error", in vidioc_vdec_dqbuf() 365 mtk_v4l2_err("sizeimage of output format must be given"); in vidioc_try_fmt_vid_out_mplane() 467 mtk_v4l2_err("out_q_ctx buffers already requested"); in vidioc_vdec_s_fmt() 477 mtk_v4l2_err("cap_q_ctx buffers already requested"); in vidioc_vdec_s_fmt() 512 mtk_v4l2_err("[%d]: vdec_if_init() fail ret=%d", in vidioc_vdec_s_fmt() 536 mtk_v4l2_err("[%d]Error!! Get GET_PARAM_PICTURE_INFO Fail", in vidioc_vdec_s_fmt() 662 mtk_v4l2_err("no vb2 queue for type=%d", f->type); in vidioc_vdec_g_fmt() 751 mtk_v4l2_err("vq->type=%d err\n", vq->type); in vb2ops_vdec_queue_setup() 791 mtk_v4l2_err("data will not fit into plane %d (%lu < %d)", in vb2ops_vdec_buf_prepare() [all …]
|
D | mtk_vcodec_fw_vpu.c | 59 mtk_v4l2_err("Watchdog timeout!!"); in mtk_vcodec_vpu_reset_handler() 99 mtk_v4l2_err("firmware device is not ready"); in mtk_vcodec_fw_vpu_init()
|
D | vdec_drv_if.c | 70 mtk_v4l2_err("bs dma_addr should 64 byte align"); in vdec_if_decode() 78 mtk_v4l2_err("frame buffer dma_addr should 512 byte align"); in vdec_if_decode()
|
D | mtk_vcodec_util.h | 31 #define mtk_v4l2_err(fmt, args...) \ macro
|
D | mtk_vcodec_fw.c | 18 mtk_v4l2_err("invalid vcodec fw type"); in mtk_vcodec_fw_select()
|
D | mtk_vcodec_fw_scp.c | 63 mtk_v4l2_err("could not get vdec scp handle"); in mtk_vcodec_fw_scp_init()
|
D | mtk_vcodec_dec_hw.c | 80 mtk_v4l2_err("vdec active is not 0x0 (0x%08x)", in mtk_vdec_hw_irq_handler()
|
D | vdec_vpu_if.c | 95 mtk_v4l2_err("ap_inst_addr is NULL, did the SCP hang or crash?"); in vpu_dec_ipi_handler()
|