Skip to content

Commit

Permalink
drm/exynos: decon5433: Fix WINCONx reset value
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
  • Loading branch information
mszyprow authored and daeinki committed Jun 29, 2018
1 parent ab337fc commit 7b7aa62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/exynos/exynos5433_drm_decon.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ static void decon_win_set_pixfmt(struct decon_context *ctx, unsigned int win,
unsigned long val;

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

switch (fb->format->format) {
case DRM_FORMAT_XRGB1555:
Expand Down

0 comments on commit 7b7aa62

Please sign in to comment.