There is only one dithering engine globally and it should always use
the settings for the root window.
BUG=chromium-os:37030
TEST=manually on daisy
Change-Id: Ic85805afc9410fc72be52da5916942b8187a07ed
Signed-off-by: Haixia Shi <hshi@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/39358
Reviewed-by: Stéphane Marchesin <marcheu@chromium.org>
val |= WINCONx_ENWIN;
writel(val, fimd_ctx->regs + WINCON(win));
- mie_set_6bit_dithering(fimd_ctx, win);
+ /* only apply dithering on hardware window 0. */
+ if (win == 0)
+ mie_set_6bit_dithering(fimd_ctx, win);
/* Enable DMA channel and unprotect windows */
val = readl(fimd_ctx->regs + SHADOWCON);