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

Commit 1a03efe8 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 SMP parameters into hw capabilites"

parents 5614da47 96ac9f08
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -2278,6 +2278,10 @@ static int mdss_fb_get_hw_caps(struct msm_fb_data_type *mfd,
		caps->features |= MDP_BWC_EN;
	if (mdata->has_decimation)
		caps->features |= MDP_DECIMATION_EN;

	caps->max_smp_cnt = mdss_res->smp_mb_cnt;
	caps->smp_per_pipe = mdata->smp_mb_per_pipe;

	return 0;
}

+2 −0
Original line number Diff line number Diff line
@@ -975,6 +975,8 @@ struct mdss_hw_caps {
	uint8_t rgb_pipes;
	uint8_t vig_pipes;
	uint8_t dma_pipes;
	uint8_t max_smp_cnt;
	uint8_t smp_per_pipe;
	uint32_t features;
};