diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2014-08-06 14:49:48 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-08-06 22:39:25 +0200 |
commit | 812e7465a7decf3cca0b5f71977a25eecd9626a4 (patch) | |
tree | 165bb0652ba86940f40bab8b3cc9a9fe2afde968 /drivers/gpu/drm/drm_ioc32.c | |
parent | 13b030af54a5e307cbcccdf5479873fbc4b7f185 (diff) |
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 <matthew.d.roper@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/drm_ioc32.c')
0 files changed, 0 insertions, 0 deletions