]> git.baikalelectronics.ru Git - kernel.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)
commit8c34aad2bd106b336251869877f91b1e1109d077
tree08ff1fd73c55c3b781047415e816aeb3a3b45de4
parent51818749defb6df5438f9d628569259ae9ce2a09
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