aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2014-08-06 07:49:53 -0400
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-08-06 16:39:28 -0400
commit4ed0ce3d0bccd74416ba6beb33a8a79d1617e97b (patch)
treed8898f1d518a7141d425cccae24a23b719a2df43 /include/drm
parentffe7c73a8d4f0caeebd5d220ddbf7126a4daca1f (diff)
drm: Disable vblank interrupt immediately when drm_vblank_offdelay<0
Make drm_vblank_put() disable the vblank interrupt immediately when the refcount drops to zero and drm_vblank_offdelay<0. v2: Preserve the current drm_vblank_offdelay==0 'never disable' behaviur Reviewed-by: Matt Roper <matthew.d.roper@intel.com> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drmP.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index a57646382086..24b32d453c60 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1345,7 +1345,7 @@ extern void drm_put_dev(struct drm_device *dev);
1345extern void drm_unplug_dev(struct drm_device *dev); 1345extern void drm_unplug_dev(struct drm_device *dev);
1346extern unsigned int drm_debug; 1346extern unsigned int drm_debug;
1347 1347
1348extern unsigned int drm_vblank_offdelay; 1348extern int drm_vblank_offdelay;
1349extern unsigned int drm_timestamp_precision; 1349extern unsigned int drm_timestamp_precision;
1350extern unsigned int drm_timestamp_monotonic; 1350extern unsigned int drm_timestamp_monotonic;
1351 1351