]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/udl: Inline DPMS code into CRTC enable and disable functions
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 10 Dec 2019 08:49:00 +0000 (09:49 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 11 Dec 2019 16:02:16 +0000 (17:02 +0100)
commit997d33c35618f12e311734b9fcd03a9945950c2b
tree4969542be25424df1d986c02ccf5e4067487ad95
parentae08b88aea6b8094c8163b753b626329542146ee
drm/udl: Inline DPMS code into CRTC enable and disable functions

DPMS functionality is only used by the CRTC's enable and disable
functions. Inline the code. The patch also adds symbolic constants
for the blank register and constants; according to udlfb, which is
a bit more detailed than DRM's udl.

v3:
* use symbolic constants for blank, according to udlfb driver

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191210084905.5570-5-tzimmermann@suse.de
drivers/gpu/drm/udl/udl_drv.h
drivers/gpu/drm/udl/udl_modeset.c