Loading drivers/media/platform/msm/vidc/msm_vidc_res_parse.c +11 −0 Original line number Original line Diff line number Diff line Loading @@ -1190,6 +1190,8 @@ int msm_vidc_smmu_fault_handler(struct iommu_domain *domain, struct buffer_info *temp; struct buffer_info *temp; struct internal_buf *buf; struct internal_buf *buf; int i = 0; int i = 0; bool is_decode = false; enum vidc_ports port; if (!domain || !core) { if (!domain || !core) { dprintk(VIDC_ERR, "%s - invalid param %p %p\n", dprintk(VIDC_ERR, "%s - invalid param %p %p\n", Loading @@ -1204,6 +1206,15 @@ int msm_vidc_smmu_fault_handler(struct iommu_domain *domain, mutex_lock(&core->lock); mutex_lock(&core->lock); list_for_each_entry(inst, &core->instances, list) { list_for_each_entry(inst, &core->instances, list) { is_decode = inst->session_type == MSM_VIDC_DECODER; port = is_decode ? OUTPUT_PORT : CAPTURE_PORT; dprintk(VIDC_ERR, "%s session, Codec type: %s HxW: %d x %d fps: %d bitrate: %d bit-depth: %s\n", is_decode ? "Decode" : "Encode", inst->fmts[port]->name, inst->prop.height[port], inst->prop.width[port], inst->prop.fps, inst->prop.bitrate, !inst->bit_depth ? "8" : "10"); dprintk(VIDC_ERR, dprintk(VIDC_ERR, "---Buffer details for inst: %p of type: %d---\n", "---Buffer details for inst: %p of type: %d---\n", inst, inst->session_type); inst, inst->session_type); Loading Loading
drivers/media/platform/msm/vidc/msm_vidc_res_parse.c +11 −0 Original line number Original line Diff line number Diff line Loading @@ -1190,6 +1190,8 @@ int msm_vidc_smmu_fault_handler(struct iommu_domain *domain, struct buffer_info *temp; struct buffer_info *temp; struct internal_buf *buf; struct internal_buf *buf; int i = 0; int i = 0; bool is_decode = false; enum vidc_ports port; if (!domain || !core) { if (!domain || !core) { dprintk(VIDC_ERR, "%s - invalid param %p %p\n", dprintk(VIDC_ERR, "%s - invalid param %p %p\n", Loading @@ -1204,6 +1206,15 @@ int msm_vidc_smmu_fault_handler(struct iommu_domain *domain, mutex_lock(&core->lock); mutex_lock(&core->lock); list_for_each_entry(inst, &core->instances, list) { list_for_each_entry(inst, &core->instances, list) { is_decode = inst->session_type == MSM_VIDC_DECODER; port = is_decode ? OUTPUT_PORT : CAPTURE_PORT; dprintk(VIDC_ERR, "%s session, Codec type: %s HxW: %d x %d fps: %d bitrate: %d bit-depth: %s\n", is_decode ? "Decode" : "Encode", inst->fmts[port]->name, inst->prop.height[port], inst->prop.width[port], inst->prop.fps, inst->prop.bitrate, !inst->bit_depth ? "8" : "10"); dprintk(VIDC_ERR, dprintk(VIDC_ERR, "---Buffer details for inst: %p of type: %d---\n", "---Buffer details for inst: %p of type: %d---\n", inst, inst->session_type); inst, inst->session_type); Loading