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

Commit 1277c237 authored by Jeevan Shriram's avatar Jeevan Shriram
Browse files

msm: mdss: update sysfs node with max mixer width supported



Update the capabilities sysfs node with the max mixer width
supported to have userspace read and add checks for pipe
configurations.

Change-Id: I1431b8d06538b68d0dab4ac1698bd2a93331ad1c
Signed-off-by: default avatarJeevan Shriram <jshriram@codeaurora.org>
parent d2a8c71b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1374,6 +1374,8 @@ static ssize_t mdss_mdp_show_capabilities(struct device *dev,
		SPRINT("max_bandwidth_low=%u\n", mdata->max_bw_low);
	if (mdata->max_bw_high)
		SPRINT("max_bandwidth_high=%u\n", mdata->max_bw_high);
	if (mdata->max_mixer_width)
		SPRINT("max_mixer_width=%d\n", mdata->max_mixer_width);
	SPRINT("features=");
	if (mdata->has_bwc)
		SPRINT(" bwc");
@@ -1385,8 +1387,6 @@ static ssize_t mdss_mdp_show_capabilities(struct device *dev,
		SPRINT(" non_scalar_rgb");
	if (mdata->has_src_split)
		SPRINT(" src_split");
	if (mdata->max_mixer_width)
		SPRINT(" max_mixer_width");
	if (mdata->has_rot_dwnscale)
		SPRINT(" rotator_downscale");
	SPRINT("\n");