summaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-10-04 14:53:35 +0300
committerDave Airlie <airlied@redhat.com>2013-10-09 15:55:31 +1000
commitbf507d90cf0eecf5495f66f21dbb66e35e9131ae (patch)
treed1c36aa665cc03c3ba3e958e9c6c0bef9645a0b0 /include/drm
parent54edf9aec79779f85d49674580b7ccab4d6f3c4a (diff)
downloadblackbird-op-linux-bf507d90cf0eecf5495f66f21dbb66e35e9131ae.tar.gz
blackbird-op-linux-bf507d90cf0eecf5495f66f21dbb66e35e9131ae.zip
drm: Make vblank_enabled bool
vblank_enabled 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 e73809b380f8..2d390abbf550 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1161,7 +1161,7 @@ struct drm_device {
atomic_t *vblank_refcount; /* number of users of vblank interruptsper crtc */
u32 *last_vblank; /* protected by dev->vbl_lock, used */
/* for wraparound handling */
- int *vblank_enabled; /* so we don't call enable more than
+ bool *vblank_enabled; /* so we don't call enable more than
once per disable */
unsigned int *vblank_inmodeset; /* Display driver is setting mode */
u32 *last_vblank_wait; /* Last vblank seqno waited per CRTC */
OpenPOWER on IntegriCloud