Skip to content

Commit

Permalink
drm: Make mode->flags u32
Browse files Browse the repository at this point in the history
The mode flags are direclty exposed in the uapi as u32. Use the
same size type to store them internally.

Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200428171940.19552-8-ville.syrjala@linux.intel.com
  • Loading branch information
Ville Syrjälä committed May 27, 2020
1 parent 3542cc5 commit 6a494ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/drm/drm_modes.h
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ struct drm_display_mode {
* - DRM_MODE_FLAG_3D_SIDE_BY_SIDE_HALF: frame split into left and
* right parts.
*/
unsigned int flags;
u32 flags;

/**
* @width_mm:
Expand Down

0 comments on commit 6a494ea

Please sign in to comment.