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

Commit 6fd97a9e authored by Alan Kwong's avatar Alan Kwong
Browse files

drm/msm/sde: initialize flush mask for command encoder



Flush mask is not initialized and sets random flush
bits during command encoder flush request. Initialize flush
mask to avoid incorrect flush request.

CRs-Fixed: 2009714
Change-Id: I76723f45d8fc92c9b7fa9ac496a4b34938204484
Signed-off-by: default avatarAlan Kwong <akwong@codeaurora.org>
parent 76c9d188
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -519,7 +519,7 @@ static void sde_encoder_phys_cmd_enable(struct sde_encoder_phys *phys_enc)
	struct sde_encoder_phys_cmd *cmd_enc =
		to_sde_encoder_phys_cmd(phys_enc);
	struct sde_hw_ctl *ctl;
	u32 flush_mask;
	u32 flush_mask = 0;
	int ret;

	if (!phys_enc || !phys_enc->hw_ctl) {