]> git.baikalelectronics.ru Git - kernel.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)
commit069af4b1130cd27b343265b7fe5cc9a7d22e7767
tree4969542be25424df1d986c02ccf5e4067487ad95
parent6a19d37fd92ca74b18dbb6a6aa569188af98fadc
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