diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-04-28 20:19:30 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-05-27 14:31:42 +0300 |
commit | 3542cc54a1bb17fed85f1503b6978a95107c2ba8 (patch) | |
tree | b29545f4a005e17678c0a63498b5225326255ed7 /include/drm/drm_modes.h | |
parent | 2159e4629addf29e310c342801a2cb3fe82cc3b4 (diff) | |
download | linux-3542cc54a1bb17fed85f1503b6978a95107c2ba8.tar.xz |
drm: Shrink mode->type to u8
We only have 7 bits defined for mode->type. Shrink the storage to u8.
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200428171940.19552-7-ville.syrjala@linux.intel.com
Diffstat (limited to 'include/drm/drm_modes.h')
-rw-r--r-- | include/drm/drm_modes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/drm/drm_modes.h b/include/drm/drm_modes.h index b93b5dcda392..0e74e3761182 100644 --- a/include/drm/drm_modes.h +++ b/include/drm/drm_modes.h @@ -271,7 +271,7 @@ struct drm_display_mode { * which are stuck around for hysterical raisins only. No one has an * idea what they were meant for. Don't use. */ - unsigned int type; + u8 type; /** * @clock: |