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

Commit 1dc0d85d authored by Prabhanjan Kandula's avatar Prabhanjan Kandula
Browse files

drm/msm/sde: fix feature enable check for CWB support



Fix the Concurrent Writeback feature enabled validation
to check if CWB feature bit set in the Writeback feature flag.

Change-Id: Iffd3167b500edaa3c3338094eadcdc08606ff5c1
Signed-off-by: default avatarPrabhanjan Kandula <pkandula@codeaurora.org>
parent f6ea99ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -580,7 +580,7 @@ static void _sde_enc_phys_wb_detect_cwb(struct sde_encoder_phys *phys_enc,
	phys_enc->in_clone_mode = false;

	/* Check if WB has CWB support */
	if (!(wb_cfg->features & SDE_WB_HAS_CWB))
	if (!(wb_cfg->features & BIT(SDE_WB_HAS_CWB)))
		return;

	/* Count the number of connectors on the given crtc */