drm: Make vblank_inmodeset unsigned
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 4 Oct 2013 11:53:34 +0000 (14:53 +0300)
committerDave Airlie <airlied@redhat.com>
Wed, 9 Oct 2013 05:55:30 +0000 (15:55 +1000)
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>
include/drm/drmP.h

index 06cb8f785d0eef4308ec6783850bd360fddbd496..e73809b380f8b14bd354146ed056ae0bcbe08631 100644 (file)
@@ -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;