From: Ville Syrjälä Date: Wed, 6 Aug 2014 11:49:48 +0000 (+0300) Subject: drm: Have the vblank counter account for the time between vblank irq disable and... X-Git-Tag: fixes-against-v3.18-rc2~73^2~39^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=812e7465a7decf3cca0b5f71977a25eecd9626a4;p=pandora-kernel.git drm: Have the vblank counter account for the time between vblank irq disable and drm_vblank_off() If the vblank irq has already been disabled (via the disable timer) when we call drm_vblank_off() sample the counter and timestamp one last time. This will make the sure that the user space visible counter will account for time between vblank irq disable and drm_vblank_off(). Reviewed-by: Matt Roper Reviewed-by: Daniel Vetter Signed-off-by: Ville Syrjälä Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed