We do not need INIT_BUF_OPT_STRIDE_SIZE_ALIGN option when P010 format,
because this option should be only 8+2 format for G2D.
Dithering option is also needed only for 8+2 format.
Dithering option are intended to be applied
when the display device doesn't support 10bit.
Change-Id: I132bf84d569c4488bda5386e3e817cd3ad96d4d8
Signed-off-by: Ayoung Sim <a.sim@samsung.com>
mfc_debug(2, "Notcoded frame copy mode start\n");
}
/* Enable 10bit Dithering */
- if (ctx->is_10bit) {
+ if (ctx->is_10bit && !dev->pdata->P010_decoding) {
reg |= (0x1 << MFC_REG_D_INIT_BUF_OPT_DITHERING_EN_SHIFT);
/* 64byte align, It is vaid only for VP9 */
reg |= (0x1 << MFC_REG_D_INIT_BUF_OPT_STRIDE_SIZE_ALIGN);