From 42633fc85d8b8db37c514b4c31b551244280c2cb Mon Sep 17 00:00:00 2001 From: Jeevan Shriram Date: Tue, 14 Oct 2014 17:19:28 -0700 Subject: 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 --- drivers/video/fbdev/msm/mdss_mdp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers') diff --git a/drivers/video/fbdev/msm/mdss_mdp.c b/drivers/video/fbdev/msm/mdss_mdp.c index 8c3d2e4da797..bc324630406f 100644 --- a/drivers/video/fbdev/msm/mdss_mdp.c +++ b/drivers/video/fbdev/msm/mdss_mdp.c @@ -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"); -- cgit v1.2.3