diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-04-28 20:19:34 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2020-05-27 14:31:42 +0300 |
commit | 42acb06b01b12a2205757a46d3ff75e38840968f (patch) | |
tree | ee05545505a26a094dfacff88f9939875d4bdd98 /lib/sbitmap.c | |
parent | 4ed2101cfa2df160bfe55bebbe60b7efb8522463 (diff) | |
download | linux-42acb06b01b12a2205757a46d3ff75e38840968f.tar.xz |
drm: pahole struct drm_display_mode
Reorganize drm_display_mode to eliminate all the holes.
We'll put all the actual timings to the start of the
struct and all the extra junk to the end.
Gets the size down to 136 bytes on 64bit and 120 bytes on
32bit. With a bit more work we should be able to get this
below the two cacheline mark even on 64bit.
v2: Rebase due to DRM_MODE_TYPE_USERDEF comment change
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-11-ville.syrjala@linux.intel.com
Diffstat (limited to 'lib/sbitmap.c')
0 files changed, 0 insertions, 0 deletions