summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2014-07-18 17:40:12 +0900
committerSeung-Woo Kim <sw0312.kim@samsung.com>2014-07-18 17:48:18 +0900
commitc89a3a67fe6306233af800cc87640c61545a987e (patch)
treeb32a7981d7b9ba9a12a6a40ff20214f7fb46ba3f
parent4073d217b9f6c44ce6c3faf9eead5ef643e27025 (diff)
downloadlinux-3.10-c89a3a67fe6306233af800cc87640c61545a987e.tar.gz
linux-3.10-c89a3a67fe6306233af800cc87640c61545a987e.tar.bz2
linux-3.10-c89a3a67fe6306233af800cc87640c61545a987e.zip
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 <sw0312.kim@samsung.com>
-rw-r--r--drivers/media/platform/s5p-mfc/s5p_mfc_cmd_v5.c2
1 files changed, 0 insertions, 2 deletions
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 bbcf68b6f81..ad4f1df0a18 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;