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

Commit efb30036 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: mdss: add MDP hw revision check for msm8939 panic/robust feature"

parents d6207ed1 e9628329
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -561,7 +561,10 @@ static inline int mdss_mdp_line_buffer_width(void)
static inline int mdss_mdp_panic_signal_supported(
	struct mdss_data_type *mdata, struct mdss_mdp_pipe *pipe)
{
	return (IS_MDSS_MAJOR_MINOR_SAME(mdata->mdp_rev, MDSS_MDP_HW_REV_105) &&
	return ((IS_MDSS_MAJOR_MINOR_SAME(mdata->mdp_rev,
					MDSS_MDP_HW_REV_105) ||
		IS_MDSS_MAJOR_MINOR_SAME(mdata->mdp_rev,
					MDSS_MDP_HW_REV_108)) &&
		pipe->mixer_left &&
		pipe->mixer_left->type == MDSS_MDP_MIXER_TYPE_INTF);
}