From: Imre Deak Date: Tue, 23 Oct 2012 18:53:26 +0000 (+0000) Subject: drm: add support for monotonic vblank timestamps X-Git-Tag: v3.8-rc1~82^2~169 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c61eef726a78ae77b6ce223d01ea2130f465fe5c;p=pandora-kernel.git drm: add support for monotonic vblank timestamps Jumps in the vblank and page flip event timestamps cause trouble for clients, so we should avoid them. The timestamp we get currently with gettimeofday can jump, so use instead monotonic timestamps. For backward compatibility use a module flag to revert back to using gettimeofday timestamps. Add also a DRM_CAP_TIMESTAMP_MONOTONIC flag that is simply a read only version of the module flag, so that clients can query this without depending on sysfs. Signed-off-by: Imre Deak Signed-off-by: Dave Airlie --- Reading git-diff-tree failed