Commit 54edf9ae authored by Ville Syrjälä's avatar Ville Syrjälä Committed by Dave Airlie

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: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent ba0bf120
...@@ -1163,7 +1163,7 @@ struct drm_device { ...@@ -1163,7 +1163,7 @@ struct drm_device {
/* for wraparound handling */ /* for wraparound handling */
int *vblank_enabled; /* so we don't call enable more than int *vblank_enabled; /* so we don't call enable more than
once per disable */ 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 */ u32 *last_vblank_wait; /* Last vblank seqno waited per CRTC */
struct timer_list vblank_disable_timer; struct timer_list vblank_disable_timer;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment