From: Mario Kleiner Date: Mon, 21 Feb 2011 04:42:00 +0000 (+0100) Subject: drm/vblank: Use abs64(diff_ns) for s64 diff_ns instead of abs(diff_ns) X-Git-Tag: v2.6.38-rc7~48^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4cc383915549cf14f027f374904e30c13653dac;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed