]> git.karo-electronics.de Git - linux-beck.git/commit
drm: use monotonic time in drm_calc_vbltimestamp_from_scanoutpos
authorImre Deak <imre.deak@intel.com>
Tue, 23 Oct 2012 18:53:25 +0000 (18:53 +0000)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Nov 2012 06:06:15 +0000 (16:06 +1000)
commite62f2f5acba1d466da047983ae16f6b96b68b310
tree08ff1fd73c55c3b781047415e816aeb3a3b45de4
parent11e686855c81c2e5e647b3dcfabd2a4e473c46f0
drm: use monotonic time in drm_calc_vbltimestamp_from_scanoutpos

For measuring duration we want to avoid that our start/end timestamps
jump, so use monotonic instead of real time for that.

Signed-off-by: Imre Deak <imre.deak@intel.com>
Reviewed-by: mario.kleiner
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_irq.c