Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8773554c authored by Jin Li's avatar Jin Li
Browse files

drm/sde: don't set inv_alpha_sel when alpha blending is disabled



By default, when alpha blending is disabled, driver shouldn't set
inv_alpha_sel for background, otherwise, it becomes transparent.

Change-Id: I130b73ce8f391ce4ff1fbcc67787aaaa921df831
Signed-off-by: default avatarJin Li <jinl@codeaurora.org>
parent 3f00fb4a
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -150,7 +150,6 @@ static void sde_crtc_get_blend_cfg(struct sde_hw_blend_cfg *cfg,
			break;
		}
	} else {
		cfg->bg.inv_alpha_sel = 1;
		/* force 100% alpha */
		cfg->fg.const_alpha = 0xFF;
		cfg->bg.const_alpha = 0x00;