From: Mario Kleiner Date: Wed, 19 Mar 2014 09:02:11 +0000 (+0100) Subject: drm/nouveau: fix small thinko in vblank timestamping. X-Git-Tag: v3.15-rc1~51^2~39^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c3252bc83155ae69d78fefdc7458aa64d8a87db;p=pandora-kernel.git drm/nouveau: fix small thinko in vblank timestamping. *hpos horizontal scanout position doesn't need to be corrected to count the pixels between hactive end and htotal negative. That is only needed for *vpos to count lines until end of vblank for the vblank timestamping. Use hpos as is without correction. Removes occassional spikes in timestamps of up to 1 scanline duration, thereby improves accuracy to about +/- 2 usecs instead of +/- 12 usecs, wrt. true onset time as measured with high precision equipment on NV-A5. Signed-off-by: Mario Kleiner Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed