Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310578
b: refs/heads/master
c: 5736603
h: refs/heads/master
v: v3
  • Loading branch information
Seung-Woo Kim authored and Inki Dae committed Jun 5, 2012
1 parent 30f4f34 commit 35189ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f56fdcef4d8991b0906461fec6494d7f9d401ef3
refs/heads/master: 5736603bef2383b6bb07f88596ccc8c387d91121
10 changes: 6 additions & 4 deletions trunk/drivers/gpu/drm/exynos/exynos_mixer.c
Original file line number Diff line number Diff line change
Expand Up @@ -601,18 +601,20 @@ static void mixer_win_reset(struct mixer_context *ctx)
mixer_reg_write(res, MXR_BG_COLOR2, 0x008080);

/* setting graphical layers */

val = MXR_GRP_CFG_COLOR_KEY_DISABLE; /* no blank key */
val |= MXR_GRP_CFG_WIN_BLEND_EN;
val |= MXR_GRP_CFG_BLEND_PRE_MUL;
val |= MXR_GRP_CFG_PIXEL_BLEND_EN;
val |= MXR_GRP_CFG_ALPHA_VAL(0xff); /* non-transparent alpha */

/* the same configuration for both layers */
mixer_reg_write(res, MXR_GRAPHIC_CFG(0), val);

val |= MXR_GRP_CFG_BLEND_PRE_MUL;
val |= MXR_GRP_CFG_PIXEL_BLEND_EN;
mixer_reg_write(res, MXR_GRAPHIC_CFG(1), val);

/* setting video layers */
val = MXR_GRP_CFG_ALPHA_VAL(0);
mixer_reg_write(res, MXR_VIDEO_CFG, val);

/* configuration of Video Processor Registers */
vp_win_reset(ctx);
vp_default_filter(res);
Expand Down

0 comments on commit 35189ad

Please sign in to comment.