]> 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)
commitf74a4a8399169c4d5d01044ffc67bccfa6c92d35
tree4969542be25424df1d986c02ccf5e4067487ad95
parentbc79a3ebbb929edcb2aaec4cd8822476bc3cae23
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