Skip to content

Commit 7b7aa62

Browse files
mszyprowdaeinki
authored andcommitted
drm/exynos: decon5433: Fix WINCONx reset value
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 <[email protected]> Signed-off-by: Inki Dae <[email protected]>
1 parent ab337fc commit 7b7aa62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/exynos/exynos5433_drm_decon.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ static void decon_win_set_pixfmt(struct decon_context *ctx, unsigned int win,
265265
unsigned long val;
266266

267267
val = readl(ctx->addr + DECON_WINCONx(win));
268-
val &= ~WINCONx_BPPMODE_MASK;
268+
val &= WINCONx_ENWIN_F;
269269

270270
switch (fb->format->format) {
271271
case DRM_FORMAT_XRGB1555:

0 commit comments

Comments
 (0)