diff options
author | 2011-02-21 05:42:00 +0100 | |
---|---|---|
committer | 2011-02-23 10:08:41 +1000 | |
commit | c4cc383915549cf14f027f374904e30c13653dac (patch) | |
tree | b1df3b52e8e4c105b3c1fb8d649d4f741cf18dc7 /kernel/hrtimer.c | |
parent | drm/radeon/kms: align height of fb allocation. (diff) | |
download | linux-dev-c4cc383915549cf14f027f374904e30c13653dac.tar.xz linux-dev-c4cc383915549cf14f027f374904e30c13653dac.zip |
drm/vblank: Use abs64(diff_ns) for s64 diff_ns instead of abs(diff_ns)
Use of abs() wrongly wrapped diff_ns to 32 bit, which gives a 1/4000
probability of a missed vblank increment at each vblank irq reenable
if the kms driver doesn't support high precision vblank timestamping.
Not a big deal in practice, but let's make it nice.
Signed-off-by: Mario Kleiner <mario.kleiner@tuebingen.mpg.de>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions