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: Jeevan Shriram <jshriram@codeaurora.org>
This commit is contained in:
Jeevan Shriram 2014-10-14 17:19:28 -07:00 committed by David Keitel
parent 678db305de
commit 42633fc85d

View file

@ -1367,6 +1367,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");
@ -1378,8 +1380,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");