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

Commit daa7c9ec authored by Shubhashree Dhar's avatar Shubhashree Dhar Committed by raghavendra ambadas
Browse files

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



Fix the Writeback feature enabled validation to check if
WB feature bit set in the writeback feature flag.

Change-Id: I65ebd8523c269062ca8cbc524bfa0df612039f2a
Signed-off-by: default avatarShubhashree Dhar <dhar@codeaurora.org>
parent b75bf7f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -388,7 +388,7 @@ int sde_wb_connector_set_info_blob(struct drm_connector *connector,
			wb_dev->wb_cfg->sblk->maxlinewidth);

	sde_kms_info_start(info, "features");
	if (wb_dev->wb_cfg && (wb_dev->wb_cfg->features & SDE_WB_UBWC))
	if (wb_dev->wb_cfg && (wb_dev->wb_cfg->features & BIT(SDE_WB_UBWC)))
		sde_kms_info_append(info, "wb_ubwc");
	sde_kms_info_stop(info);