diff options
author | Ingrid Gallardo <ingridg@codeaurora.org> | 2014-12-22 16:45:13 -0800 |
---|---|---|
committer | David Keitel <dkeitel@codeaurora.org> | 2016-03-23 20:36:45 -0700 |
commit | 24794eeebd30d5f516147bd2c124966f322cf710 (patch) | |
tree | 931b8d1983678f6b0ad4fd7bc66c0f821a5bc200 | |
parent | 4aad673e5dd90dd819a5736155813b1134776b39 (diff) |
msm: mdss: expose performance capabilities to user space
Add maximum bandwidth per pipe, maximum mdp clock rate
and mdp clock fudge factor to the capabilities exposed
to the display driver user space.
Change-Id: I3266bcaf7df8caa127cbeebc8430e7b3a6e3ecf7
Signed-off-by: Ingrid Gallardo <ingridg@codeaurora.org>
-rw-r--r-- | drivers/video/fbdev/msm/mdss_mdp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_mdp.c b/drivers/video/fbdev/msm/mdss_mdp.c index b671591bc207..edcf233944a1 100644 --- a/drivers/video/fbdev/msm/mdss_mdp.c +++ b/drivers/video/fbdev/msm/mdss_mdp.c @@ -1391,6 +1391,13 @@ static ssize_t mdss_mdp_show_capabilities(struct device *dev, 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); + if (mdata->max_bw_per_pipe) + SPRINT("max_pipe_bw=%u\n", mdata->max_bw_per_pipe); + if (mdata->max_mdp_clk_rate) + SPRINT("max_mdp_clk=%u\n", mdata->max_mdp_clk_rate); + if (mdata->clk_factor.numer) + SPRINT("clk_fudge_factor=%u,%u\n", mdata->clk_factor.numer, + mdata->clk_factor.denom); SPRINT("features="); if (mdata->has_bwc) SPRINT(" bwc"); |