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

Commit 41a1cd82 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/sde: avoid alpha fast clear on z_stage 0"

parents 3293506c 5c4f6bfa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3593,7 +3593,8 @@ static int sde_plane_sspp_atomic_check(struct drm_plane *plane,

	pstate->const_alpha_en = fmt->alpha_enable &&
		(SDE_DRM_BLEND_OP_OPAQUE !=
		 sde_plane_get_property(pstate, PLANE_PROP_BLEND_OP));
		 sde_plane_get_property(pstate, PLANE_PROP_BLEND_OP)) &&
		(pstate->stage != SDE_STAGE_0);

modeset_update:
	if (!ret)