Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e605b6a authored by Ingrid Gallardo's avatar Ingrid Gallardo
Browse files

msm: mdss: add support to set the minimum mdp transfer time



For command mode panels current code calculations adjust the mdp
clock rate based on the minimum dsi pixel clock rate. This is
wrong and can lead to power issues since this rate considers
the blanking times which are not required for the mdp clock
calculations.
This change optimize the calculations by only considering the worst
width that could be processed by the mdp without blanking periods
and consider the time expected for the transfer by adjusting
the mdp clock in order to meet the performance requested; this
time can be tuned through the panel configuration.

Change-Id: Ib25df0e8f749d3ffc1d9059d5d7eac27e0f0b81e
Signed-off-by: default avatarIngrid Gallardo <ingridg@codeaurora.org>
parent 4314ee17
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment