From: Seung-Woo Kim Date: Fri, 18 Jul 2014 08:40:12 +0000 (+0900) Subject: s5p-mfc: fix handling for MPEG2 decoding with IOMMU X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b1c84155794566148f376135655c158bdf9c319f;p=platform%2Fkernel%2Flinux-3.10.git s5p-mfc: fix handling for MPEG2 decoding with IOMMU The command S5P_FIMV_H2R_MPEG2_PADDING causes unrecoveralble error 0x47, ALLOC_DPB_SIZE_NOT_SUFFICIENT for MPEG2 decoding. Change-Id: Ia691ebec9b76cb6491223372bf835e1da6aaa707 Signed-off-by: Seung-Woo Kim --- diff --git a/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c b/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c index 3d8a6e8..9a6efd6 100644 --- a/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c +++ b/drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c @@ -93,8 +93,6 @@ static int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx) break; case S5P_MFC_CODEC_MPEG2_DEC: h2r_args.arg[0] = S5P_FIMV_CODEC_MPEG2_DEC; - if (mfc_is_iommu_used(ctx)) - h2r_args.arg[0] |= S5P_FIMV_H2R_MPEG2_PADDING; break; case S5P_MFC_CODEC_H263_DEC: h2r_args.arg[0] = S5P_FIMV_CODEC_H263_DEC;