mtk_vdec_debug
mtk_vdec_debug(instance->ctx, "reset seg %d\n", vsi->slot_id);
mtk_vdec_debug(instance->ctx, "// tile buf %d pos(%dx%d) offset 0x%x\n",
mtk_vdec_debug(instance->ctx, "// %08x %08x %08x %08x\n",
mtk_vdec_debug(instance->ctx, "// %08x %08x %08x %08x\n",
mtk_vdec_debug(instance->ctx, "frame %u LAT CRC 0x%08x, output size is %d\n",
mtk_vdec_debug(instance->ctx, "frame %u Y_CRC %08x %08x %08x %08x\n",
mtk_vdec_debug(instance->ctx, "frame %u C_CRC %08x %08x %08x %08x\n",
mtk_vdec_debug(ctx, "vsi 0x%p core_vsi 0x%llx 0x%p, inneracing_mode %d\n",
mtk_vdec_debug(instance->ctx, "h_vdec 0x%p\n", h_vdec);
mtk_vdec_debug(instance->ctx, "flush ...\n");
mtk_vdec_debug(ctx, "w %u h %u\n", ctx->picinfo.pic_w, ctx->picinfo.pic_h);
mtk_vdec_debug(ctx, "l=%d, t=%d, w=%d, h=%d\n",
mtk_vdec_debug(ctx, "lat dma 1 0x%pad 0x%pad\n",
mtk_vdec_debug(ctx, "core dma_addr_end 0x%pad\n",
mtk_vdec_debug(ctx, "map cdf table to 0x%p\n", remote_cdf_table);
mtk_vdec_debug(ctx, "map iq table to 0x%p\n", remote_iq_table);
mtk_vdec_debug(ctx, "resolution level changed from %u to %u, %ux%u",
mtk_vdec_debug(inst->ctx, "[FB] put fb into free_list @(%p, %llx)",
mtk_vdec_debug(inst->ctx, "pic(%d, %d), buf(%d, %d)",
mtk_vdec_debug(inst->ctx, "fb size: Y(%d), C(%d)", pic->fb_sz[0], pic->fb_sz[1]);
mtk_vdec_debug(inst->ctx, "l=%d, t=%d, w=%d, h=%d", cr->left, cr->top,
mtk_vdec_debug(inst->ctx, "sz=%d", *dpb_sz);
mtk_vdec_debug(ctx, "H264 Instance >> %p", inst);
mtk_vdec_debug(inst->ctx, "+ [%d] FB y_dma=%llx c_dma=%llx va=%p",
mtk_vdec_debug(inst->ctx, "\n + NALU[%d] type %d +\n", inst->num_nalu,
mtk_vdec_debug(inst->ctx, "- resolution changed -");
mtk_vdec_debug(inst->ctx, "\n - NALU[%d] type=%d -\n", inst->num_nalu, nal_type);
mtk_vdec_debug(inst->ctx, "[FB] there is no %s fb", disp_list ? "disp" : "free");
mtk_vdec_debug(inst->ctx, "[FB] get %s fb st=%d poc=%d %llx",
mtk_vdec_debug(inst->ctx, "pic(%d, %d), buf(%d, %d)",
mtk_vdec_debug(inst->ctx, "Y/C(%d, %d)", ctx->picinfo.fb_sz[0],
mtk_vdec_debug(inst->ctx, "l=%d, t=%d, w=%d, h=%d",
mtk_vdec_debug(inst->ctx, "sz=%d", *dpb_sz);
mtk_vdec_debug(ctx, "struct size = %zu,%zu,%zu,%zu\n",
mtk_vdec_debug(ctx, "H264 Instance >> %p", inst);
mtk_vdec_debug(inst->ctx, "+ [%d] FB y_dma=%llx c_dma=%llx va=%p",
mtk_vdec_debug(inst->ctx, "- resolution changed -");
mtk_vdec_debug(inst->ctx, "\n - NALU[%d]", inst->num_nalu);
mtk_vdec_debug(inst->ctx, "[h264-dec] [%d] y_dma=%llx c_dma=%llx",
mtk_vdec_debug(inst->ctx, "- resolution changed -");
mtk_vdec_debug(inst->ctx, "pic[%d] crc: 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
mtk_vdec_debug(inst->ctx, "[h264-dec] [%d] y_dma=%llx c_dma=%llx",
mtk_vdec_debug(inst->ctx, "- resolution changed -");
mtk_vdec_debug(inst->ctx, "pic[%d] crc: 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
mtk_vdec_debug(ctx, "lat struct size = %d,%d,%d,%d vsi: %d\n",
mtk_vdec_debug(ctx, "lat H264 instance >> %p, codec_type = 0x%x",
mtk_vdec_debug(ctx, "pic(%d, %d), buf(%d, %d)",
mtk_vdec_debug(ctx, "Y/C(%d, %d)", ctx->picinfo.fb_sz[0],
mtk_vdec_debug(inst->ctx, "l=%d, t=%d, w=%d, h=%d",
mtk_vdec_debug(ctx, "[h264-core] y/c addr = 0x%llx 0x%llx", y_fb_dma, c_fb_dma);
mtk_vdec_debug(ctx, "pic[%d] crc: 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
mtk_vdec_debug(ctx, "core decode done err=%d", err);
mtk_vdec_debug(ctx, "[h264-core] y/c addr = 0x%llx 0x%llx", y_fb_dma, c_fb_dma);
mtk_vdec_debug(ctx, "pic[%d] crc: 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
mtk_vdec_debug(ctx, "core decode done err=%d", err);
mtk_vdec_debug(inst->ctx, "failed to get lat buffer");
mtk_vdec_debug(inst->ctx, "- resolution changed -");
mtk_vdec_debug(inst->ctx, "lat:trans(0x%llx 0x%lx) err:0x%llx",
mtk_vdec_debug(inst->ctx, "slice(0x%llx 0x%lx) rprt((0x%llx 0x%llx))",
mtk_vdec_debug(inst->ctx, "lat decode err: %d", err);
mtk_vdec_debug(inst->ctx, "dec num: %d lat crc: 0x%x 0x%x 0x%x", inst->slice_dec_num,
mtk_vdec_debug(inst->ctx, "failed to get lat buffer");
mtk_vdec_debug(inst->ctx, "- resolution changed -");
mtk_vdec_debug(inst->ctx, "lat:trans(0x%llx 0x%llx) err:0x%llx",
mtk_vdec_debug(inst->ctx, "slice(0x%llx 0x%llx) rprt((0x%llx 0x%llx))",
mtk_vdec_debug(inst->ctx, "lat decode err: %d", err);
mtk_vdec_debug(inst->ctx, "dec num: %d lat crc: 0x%x 0x%x 0x%x", inst->slice_dec_num,
mtk_vdec_debug(inst->ctx, "lat decode err: %d", err);
mtk_vdec_debug(inst->ctx, "dec num: %d lat crc: 0x%x 0x%x 0x%x", inst->slice_dec_num,
mtk_vdec_debug(ctx, "pic(%d, %d), buf(%d, %d)",
mtk_vdec_debug(ctx, "Y/C(%d, %d)", ctx->picinfo.fb_sz[0],
mtk_vdec_debug(inst->ctx, "l=%d, t=%d, w=%d, h=%d",
mtk_vdec_debug(inst->ctx, "- resolution changed -");
mtk_vdec_debug(inst->ctx, "lat: ube addr/size(0x%llx 0x%llx) err:0x%llx",
mtk_vdec_debug(inst->ctx, "slice addr/size(0x%llx 0x%llx) trans start/end((0x%llx 0x%llx))",
mtk_vdec_debug(inst->ctx, "[hevc-core] y/c addr = 0x%llx 0x%llx", y_fb_dma, c_fb_dma);
mtk_vdec_debug(ctx, "lat struct size = %d,%d,%d,%d vsi: %d\n",
mtk_vdec_debug(ctx, "lat hevc instance >> %p, codec_type = 0x%x",
mtk_vdec_debug(ctx, "[hevc-core] vdec_hevc core decode");
mtk_vdec_debug(ctx, "pic[%d] crc: 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
mtk_vdec_debug(ctx, "core decode done err=%d", err);
mtk_vdec_debug(inst->ctx, "failed to get lat buffer");
mtk_vdec_debug(inst->ctx, "pic(%d, %d), buf(%d, %d)",
mtk_vdec_debug(inst->ctx, "fb size: Y(%d), C(%d)",
mtk_vdec_debug(inst->ctx, "prev fb base dma=%llx", prev_y_dma);
mtk_vdec_debug(ctx, "VP8 Instance >> %p", inst);
mtk_vdec_debug(inst->ctx, "+ [%d] FB y_dma=%llx c_dma=%llx fb=%p",
mtk_vdec_debug(inst->ctx, "\n + FRAME[%d] +\n", inst->frm_cnt);
mtk_vdec_debug(inst->ctx, "wait key frame !");
mtk_vdec_debug(inst->ctx, "- resolution_changed -");
mtk_vdec_debug(inst->ctx, "\n - FRAME[%d] - show=%d\n", inst->frm_cnt, dec->show_frame);
mtk_vdec_debug(inst->ctx, "[FB] get disp fb %p st=%d", node->fb, fb->status);
mtk_vdec_debug(inst->ctx, "[FB] there is no disp fb");
mtk_vdec_debug(inst->ctx, "[FB] get free fb %p st=%d", node->fb, fb->status);
mtk_vdec_debug(inst->ctx, "[FB] there is no free fb");
mtk_vdec_debug(inst->ctx, "get crop info l=%d, t=%d, w=%d, h=%d",
mtk_vdec_debug(inst->ctx, "pic(%d, %d), buf(%d, %d)",
mtk_vdec_debug(inst->ctx, "fb size: Y(%d), C(%d)",
mtk_vdec_debug(ctx, "vp8 struct size = %d vsi: %d\n",
mtk_vdec_debug(ctx, "vp8:%p, codec_type = 0x%x vsi: 0x%p",
mtk_vdec_debug(inst->ctx, "frame[%d] bs(%zu 0x%llx) y/c(0x%llx 0x%llx)",
mtk_vdec_debug(inst->ctx, "vp8 dec start err!");
mtk_vdec_debug(inst->ctx, "- resolution_changed -");
mtk_vdec_debug(inst->ctx, "vp8 dec error timeout:%d err: %d pic_%d",
mtk_vdec_debug(inst->ctx, "pic[%d] crc: 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x 0x%x",
mtk_vdec_debug(inst->ctx, "No need to get vp8 crop information.");
mtk_vdec_debug(inst->ctx, "No free fb node");
mtk_vdec_debug(inst->ctx, "BUF CHG(%d): w/h/sb_w/sb_h=%d/%d/%d/%d",
mtk_vdec_debug(inst->ctx, "Decode Ok @%d (%d/%d)", vsi->frm_num,
mtk_vdec_debug(inst->ctx, "Decode Ok @%d (show_existing_frame)", vsi->frm_num);
mtk_vdec_debug(inst->ctx, "[FB] get disp fb %p st=%d", node->fb, fb->status);
mtk_vdec_debug(inst->ctx, "[FB] there is no disp fb");
mtk_vdec_debug(inst->ctx, "fb == NULL");
mtk_vdec_debug(inst->ctx, "pic(%d, %d), buf(%d, %d)",
mtk_vdec_debug(inst->ctx, "fb size: Y(%d), C(%d)", pic->fb_sz[0], pic->fb_sz[1]);
mtk_vdec_debug(inst->ctx, "[FB] get free fb %p st=%d", node->fb, fb->status);
mtk_vdec_debug(inst->ctx, "[FB] there is no free fb");
mtk_vdec_debug(inst->ctx, "[EOS]");
mtk_vdec_debug(inst->ctx, "Input BS Size = %zu", bs->size);
mtk_vdec_debug(inst->ctx, "[#pic %d]", vsi->frm_num);
mtk_vdec_debug(inst->ctx,
mtk_vdec_debug(inst->ctx,
mtk_vdec_debug(inst->ctx, "VDEC_ST_RESOLUTION_CHANGED");
mtk_vdec_debug(inst->ctx, "get crop info l=%d, t=%d, w=%d, h=%d\n",
mtk_vdec_debug(instance->ctx, "ctx dirty %u idx %d\n",
mtk_vdec_debug(instance->ctx, "reset seg\n");
mtk_vdec_debug(instance->ctx, "Frame %u Y_CRC %08x %08x %08x %08x\n",
mtk_vdec_debug(instance->ctx, "Frame %u C_CRC %08x %08x %08x %08x\n",
mtk_vdec_debug(instance->ctx, "Frame %u LAT CRC 0x%08x %lx %lx\n",
mtk_vdec_debug(instance->ctx, "Frame %u Y_CRC %08x %08x %08x %08x\n",
mtk_vdec_debug(instance->ctx, "Frame %u C_CRC %08x %08x %08x %08x\n",
mtk_vdec_debug(instance->ctx, "flush ...\n");
mtk_vdec_debug(instance->ctx, "w %u h %u\n", ctx->picinfo.pic_w, ctx->picinfo.pic_h);
mtk_vdec_debug(instance->ctx, "No need to get vp9 crop information.");
mtk_vdec_debug(ctx, "Failed to get VP9 lat buf\n");
mtk_vdec_debug(ctx, "lat dma addr: 0x%lx 0x%lx\n",
mtk_vdec_debug(ctx, "core dma_addr_end 0x%lx\n",
mtk_vdec_debug(ctx, "resolution level changed, from %u to %u, %ux%u",
mtk_vdec_debug(vpu->ctx, "id=%X", msgid);
mtk_vdec_debug(vpu->ctx, "+ ap_inst_addr = 0x%llx", msg->ap_inst_addr);
mtk_vdec_debug(vpu->ctx, "+ id=%X", msg_id);
mtk_vdec_debug(vpu->ctx, "- id=%X ret=%d", msg_id, err);
mtk_vdec_debug(vpu->ctx, "vdec_inst=%p", vpu);
mtk_vdec_debug(vpu->ctx, "- ret=%d", err);
mtk_vdec_debug(vpu->ctx, "- vpu_inst_addr = 0x%x", vpu->inst_addr);
mtk_vdec_debug(vpu->ctx, "- ret=%d", err);
mtk_vdec_debug(vpu->ctx, "- ret=%d", err);
mtk_vdec_debug(vpu->ctx, "firmware version 0x%x\n", vpu->fw_abi_version);
mtk_vdec_debug(vpu->ctx, "+ ap_inst_addr = 0x%llx", msg->ap_inst_addr);