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>
This commit is contained in:
parent
4aad673e5d
commit
24794eeebd
1 changed files with 7 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue