summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szyprowski <m.szyprowski@samsung.com>2018-05-30 12:48:10 +0200
committerInki Dae <inki.dae@samsung.com>2018-05-31 00:57:24 +0000
commitaf3c3a63ecd0feee6ab435db8c77f89afe633b14 (patch)
treecf521fc9435f1c62cba881d43c1dfce577e7d0e2
parent5231d80f81b57538144bfa5104bb7d3679353a79 (diff)
downloadlinux-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.c2
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: