diff options
| author | Ludovic Desroches <ludovic.desroches@microchip.com> | 2025-11-26 15:44:45 +0100 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2025-12-03 10:52:59 +0100 |
| commit | 4cbae3748fc479f1944e8ef2b3ed4a05cd799ce8 (patch) | |
| tree | 466866c4c0b560d71bdd7d2f71f183a36cd2813f /net/unix/af_unix.c | |
| parent | 56715b45e3bfecf82e6404df19a10699a67c3a74 (diff) | |
drm/gem-shmem: revert the 8-byte alignment constraint
Using drm_mode_size_dumb() to compute the size of dumb buffers introduced
an 8-byte alignment constraint on the pitch that wasn’t present before.
Let’s remove this constraint, which isn’t necessarily required and may
cause buffers to be allocated larger than needed.
Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Fixes: 4977dcecb931 ("drm/gem-shmem: Compute dumb-buffer sizes with drm_mode_size_dumb()")
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20251126-lcd_pitch_alignment-v1-2-991610a1e369@microchip.com
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
