diff options
author | Shobhit Kumar <[email protected]> | 2013-12-10 12:14:57 +0530 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2013-12-11 23:52:18 +0100 |
commit | 8e1eed5aa8fe6cdd2c445b7aded42498523ad4dd (patch) | |
tree | f17c214f7711f226e9d7ab615a3b2a2bfb0dcc0e /lib/mpi/mpiutil.c | |
parent | 44d4c6eebb2ef04f698c292bb6eda5f2e80c663b (diff) |
drm/i915: Try harder to get best m, n, p values with minimal error
Basically check for both +ive and -ive deviation from target clock and
pick the one with minimal error. If we get a direct match, break from
loop to acheive some optimization.
v2: Use signed variable for target and calculated dsi clock values
Signed-off-by: Vijayakumar Balakrishnan <[email protected]>
Signed-off-by: Shobhit Kumar <[email protected]>
Reviewed-by: Jani Nikula <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions