OSDN Git Service

drm/udl: Drop unneeded alignment
authorTakashi Iwai <tiwai@suse.de>
Thu, 8 Sep 2022 09:51:10 +0000 (11:51 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sat, 10 Sep 2022 19:45:52 +0000 (21:45 +0200)
commitaeb76f97fcf5bf6c094c62ac5cc22a1949751236
treeb19ddb654d1fcbcde37e81ca11130ca44a9a7d1a
parent2a07a5ddb135e4bd15bf6468b7d2daa4deeaf07d
drm/udl: Drop unneeded alignment

The alignment of damaged area was needed for the original udlfb driver
that tried to trim the superfluous copies between front and backend
buffers and handle data in long int.  It's not the case for udl DRM
driver, hence we can omit the whole unneeded alignment, as well as the
dead code.

Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20220908095115.23396-8-tiwai@suse.de
drivers/gpu/drm/udl/udl_modeset.c
drivers/gpu/drm/udl/udl_transfer.c