diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2018-05-30 12:48:10 +0200 |
---|---|---|
committer | Inki Dae <inki.dae@samsung.com> | 2018-05-31 00:57:24 +0000 |
commit | af3c3a63ecd0feee6ab435db8c77f89afe633b14 (patch) | |
tree | cf521fc9435f1c62cba881d43c1dfce577e7d0e2 | |
parent | 5231d80f81b57538144bfa5104bb7d3679353a79 (diff) | |
download | linux-exynos-af3c3a63ecd0feee6ab435db8c77f89afe633b14.tar.gz linux-exynos-af3c3a63ecd0feee6ab435db8c77f89afe633b14.tar.bz2 linux-exynos-af3c3a63ecd0feee6ab435db8c77f89afe633b14.zip |
drm/exynos: decon5433: Fix WINCONx reset valuesubmit/tizen/20180615.023254accepted/tizen/unified/20180619.141833
The only bits that should be preserved in decon_win_set_fmt() is
WINCONx_ENWIN_F. All other bits depends on the selected pixel formats and
are set by the mentioned function.
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I523af914c847a81be0d295e90f5053fd3e8ad14b
-rw-r--r-- | drivers/gpu/drm/exynos/exynos5433_drm_decon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c index b3fccb04689a..9b78bcc03a7d 100644 --- a/drivers/gpu/drm/exynos/exynos5433_drm_decon.c +++ b/drivers/gpu/drm/exynos/exynos5433_drm_decon.c @@ -279,7 +279,7 @@ static void decon_win_set_pixfmt(struct decon_context *ctx, unsigned int win) int padding; val = readl(ctx->addr + DECON_WINCONx(win)); - val &= ~WINCONx_BPPMODE_MASK; + val &= WINCONx_ENWIN_F; switch (plane->pixel_format) { case DRM_FORMAT_XRGB1555: |