]> 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)
commit65284a23034be9b5b70256c6f818419bda92a4a7
tree08ff1fd73c55c3b781047415e816aeb3a3b45de4
parent0f73b4929151e4c7b4e3788ad4eb15e407f85deb
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