aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVille Syrjälä <[email protected]>2013-10-04 14:53:33 +0300
committerDave Airlie <[email protected]>2013-10-09 15:55:30 +1000
commitba0bf1200ec75722c558c56f58c596ff42a3b494 (patch)
treecc43f0514713de1793cd1ad7ae66fbc58192bc29 /include
parent55e9edeb57ed9dd9be6773c5230187d701b14a46 (diff)
drm: Make vblank_disable_allowed bool
vblank_disable_allowed is only ever 0 or 1, so make it a bool. Signed-off-by: Ville Syrjälä <[email protected]> Reviewed-by: Daniel Vetter <[email protected]> Reviewed-by: Alex Deucher <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'include')
-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 2b9b033efea4..06cb8f785d0e 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1151,7 +1151,7 @@ struct drm_device {
* Once the modeset ioctl *has* been called though, we can safely
* disable them when unused.
*/
- int vblank_disable_allowed;
+ bool vblank_disable_allowed;
wait_queue_head_t *vbl_queue; /**< VBLANK wait queue */
atomic_t *_vblank_count; /**< number of VBLANK interrupts (driver must alloc the right number of counters) */