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

Commit c5818705 authored by Ingrid Gallardo's avatar Ingrid Gallardo
Browse files

msm: mdss: expose prefill factors to user space



Add factors for prefill calculations to the
capabilities exposed to the display driver
user space.

Change-Id: Ib479a5514978c8dec2376be4f2510bafb460af10
Signed-off-by: default avatarIngrid Gallardo <ingridg@codeaurora.org>
parent 222b2621
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -1411,6 +1411,20 @@ static ssize_t mdss_mdp_show_capabilities(struct device *dev,
	SPRINT("smp_mb_per_pipe=%d\n", mdata->smp_mb_per_pipe);
	SPRINT("max_downscale_ratio=%d\n", MAX_DOWNSCALE_RATIO);
	SPRINT("max_upscale_ratio=%d\n", MAX_UPSCALE_RATIO);

	if (test_bit(MDSS_QOS_SIMPLIFIED_PREFILL, mdata->mdss_qos_map)) {
		SPRINT("fmt_mt_nv12_factor=%d\n",
			mdata->prefill_data.prefill_factors.fmt_mt_nv12_factor);
		SPRINT("fmt_mt_factor=%d\n",
			mdata->prefill_data.prefill_factors.fmt_mt_factor);
		SPRINT("fmt_linear_factor=%d\n",
			mdata->prefill_data.prefill_factors.fmt_linear_factor);
		SPRINT("scale_factor=%d\n",
			mdata->prefill_data.prefill_factors.scale_factor);
		SPRINT("xtra_ff_factor=%d\n",
			mdata->prefill_data.prefill_factors.xtra_ff_factor);
	}

	if (mdata->props)
		SPRINT("props=%d", mdata->props);
	if (mdata->max_bw_low)