diff options
author | Ville Syrjälä <[email protected]> | 2015-10-08 11:43:33 +0300 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-10-20 12:01:29 +0200 |
commit | 9afd808cf3c45810492f2e05b7c422c99edc88cc (patch) | |
tree | bd3b215864bef85ee765743983e2e672d51ebe04 /lib/mpi/mpi-cmp.c | |
parent | fa3a7340eaa174a36c12c31747dc6eccd08530b5 (diff) |
drm/edid: Round to closest when computing the CEA/HDMI alternate clock
Rounding to the closest kHz seems like the better option that round
down or up when computing the alternate clock for CEA/HDMI modes.
It'll give us a slightly more accurate clock in some cases.
Not sure why I went for the down+up approach originally. Perhaps
I was thinking we can go back and forth betwen the two frequencies
without introducing errors, but round to closest still maintains
that property.
Cc: Adam Jackson <[email protected]>
Cc: Clint Taylor <[email protected]>
Cc: Libin Yang <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Reviewed-by: Adam Jackson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions