]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ast: Initialize encoder and connector for VGA in helper function
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 7 Feb 2022 14:15:41 +0000 (15:15 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 8 Feb 2022 12:39:06 +0000 (13:39 +0100)
commit3a8441cd98909002cfee04ab5b0710eb140336be
treed4d0bcaad66f6572232312f15fd3f99eba4cf1c9
parentf94502cf8d0ece1e4347aa03b08c3c2d442218f6
drm/ast: Initialize encoder and connector for VGA in helper function

Move encoder and connector initialization into a single helper and
put all related mode-setting structures into a single place. Done in
preparation of moving transmitter code into separate helpers. No
functional changes.

v2:
* move encoder CRTC bitmask fix into separate patch (Javier)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220207141544.30015-7-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_mode.c