summaryrefslogtreecommitdiff
path: root/include/drm/drm_modes.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2020-04-28 20:19:31 +0300
committerVille Syrjälä <ville.syrjala@linux.intel.com>2020-05-27 14:31:42 +0300
commit6a494eab2cf981eaa6a5f814dd65b35b652e123a (patch)
tree59af25aa1f7ef313f8b31e46747c7788ecee1d45 /include/drm/drm_modes.h
parent3542cc54a1bb17fed85f1503b6978a95107c2ba8 (diff)
drm: Make mode->flags u32
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
Diffstat (limited to 'include/drm/drm_modes.h')
-rw-r--r--include/drm/drm_modes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h
index 0e74e3761182..5266d890c4b0 100644
--- a/include/drm/drm_modes.h
+++ b/include/drm/drm_modes.h
@@ -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: