drm/udl: Simplify modesetting in CRTC's enable function
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 6 Oct 2022 09:53:47 +0000 (11:53 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Fri, 7 Oct 2022 11:46:18 +0000 (13:46 +0200)
commit890e4de83898c9f34623f67b2129edfc37277ca3
treed63e3269bdbd5d8826cc21f46b153360c9984deb
parent72d73dd3a95c7e879c18a0eae8fd2af89b5b3347
drm/udl: Simplify modesetting in CRTC's enable function

Inline a modesetting helper in the CRTC's enable function. Build the
command set directly in the USB URB's buffer and drop an intermediate
buffer. No functional changes.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221006095355.23579-9-tzimmermann@suse.de
drivers/gpu/drm/udl/udl_drv.h
drivers/gpu/drm/udl/udl_modeset.c