diff options
| author | Jeevan Shriram <jshriram@codeaurora.org> | 2014-10-14 17:19:28 -0700 |
|---|---|---|
| committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:35:02 -0700 |
| commit | 42633fc85d8b8db37c514b4c31b551244280c2cb (patch) | |
| tree | 53d8c26ff60851b7086965abdd7bf56a4ab2a840 /drivers/video/fbdev | |
| parent | 678db305dee87437916e56b54ea8a6557b52c4d8 (diff) | |
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>
Diffstat (limited to 'drivers/video/fbdev')
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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"); |
