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

Commit 2866abf7 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: Enable dirty bits for const alpha change"

parents 9ef4c70a 990ff50f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3257,7 +3257,8 @@ static void _sde_plane_sspp_atomic_check_mode_changed(struct sde_plane *psde,

	if (!fb || !old_fb) {
		SDE_DEBUG_PLANE(psde, "can't compare fb handles\n");
	} else if (fb->pixel_format != old_fb->pixel_format) {
	} else if ((fb->pixel_format != old_fb->pixel_format) ||
			pstate->const_alpha_en != old_pstate->const_alpha_en) {
		SDE_DEBUG_PLANE(psde, "format change\n");
		pstate->dirty |= SDE_PLANE_DIRTY_FORMAT | SDE_PLANE_DIRTY_RECTS;
	} else {