drm/ast: Move DP501-based connector code into separate helpers
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 7 Feb 2022 14:15:43 +0000 (15:15 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 8 Feb 2022 12:40:18 +0000 (13:40 +0100)
commit3ab26eddc67a67579a2b52f908b69cbc253f5ff3
tree38d9cd201f75cc5c564d53359d25c5cf94aeb724
parentf665147cda30928ce79045a13953eb709fa3dcbc
drm/ast: Move DP501-based connector code into separate helpers

Add helpers for DP501-based connectors. DP501 provides output via
DisplayPort. This used to be handled by the VGA connector code.

If a DP501 chip has been detected, ast will now create a DisplayPort
connector instead of a VGA connector.

Remove the DP501 code from ast_vga_connector_helper_get_modes(). Also
remove the call to drm_connector_update_edid_property(), which is
performed by drm_get_edid().

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-9-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_mode.c