summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2013-10-04 14:53:34 +0300
committerDave Airlie <airlied@redhat.com>2013-10-09 15:55:30 +1000
commit54edf9aec79779f85d49674580b7ccab4d6f3c4a (patch)
tree58cf7c07c8ae21d34d96cf13110817cc048d35b9 /include/drm
parentba0bf1200ec75722c558c56f58c596ff42a3b494 (diff)
drm: Make vblank_inmodeset unsigned
vblank_inmodeset is a bitmask, with only two bits mind you, but better make it unsigned anyway. 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 06cb8f785d0e..e73809b380f8 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -1163,7 +1163,7 @@ struct drm_device {
/* for wraparound handling */
int *vblank_enabled; /* so we don't call enable more than
once per disable */
- int *vblank_inmodeset; /* Display driver is setting mode */
+ unsigned int *vblank_inmodeset; /* Display driver is setting mode */
u32 *last_vblank_wait; /* Last vblank seqno waited per CRTC */
struct timer_list vblank_disable_timer;