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

Commit 7be9ad76 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 27d08b28 7d154a0a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3563,7 +3563,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)