summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-10-04 15:53:33 +0400
committerDave Airlie <airlied@redhat.com>2013-10-09 09:55:30 +0400
commitba0bf1200ec75722c558c56f58c596ff42a3b494 (patch)
treecc43f0514713de1793cd1ad7ae66fbc58192bc29 /include/drm
parent55e9edeb57ed9dd9be6773c5230187d701b14a46 (diff)
downloadlinux-ba0bf1200ec75722c558c56f58c596ff42a3b494.tar.xz
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ä <ville.syrjala@linux.intel.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
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 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) */