From 24794eeebd30d5f516147bd2c124966f322cf710 Mon Sep 17 00:00:00 2001 From: Ingrid Gallardo Date: Mon, 22 Dec 2014 16:45:13 -0800 Subject: 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 --- drivers/video/fbdev/msm/mdss_mdp.c | 7 +++++++ 1 file changed, 7 insertions(+) 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"); -- cgit v1.2.3