diff --git a/msm/sde/sde_encoder_phys_cmd.c b/msm/sde/sde_encoder_phys_cmd.c index 1c4e43c4bfcd..d8e062c5fc01 100644 --- a/msm/sde/sde_encoder_phys_cmd.c +++ b/msm/sde/sde_encoder_phys_cmd.c @@ -1345,7 +1345,8 @@ static void sde_encoder_phys_cmd_disable(struct sde_encoder_phys *phys_enc) else if (phys_enc->hw_pp->ops.enable_tearcheck) phys_enc->hw_pp->ops.enable_tearcheck(phys_enc->hw_pp, false); - sde_encoder_helper_phys_disable(phys_enc, NULL); + if (sde_encoder_phys_cmd_is_master(phys_enc)) + sde_encoder_helper_phys_disable(phys_enc, NULL); } phys_enc->enable_state = SDE_ENC_DISABLED;