]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/ast: sil164: Transparently handle BMC support
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 15 Aug 2024 15:18:51 +0000 (17:18 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 22 Aug 2024 07:13:14 +0000 (09:13 +0200)
commitd20c2f8464280550aeabd2766728590cf0ca8a4d
treeaf6e0b04a121324ff2b6fbe189057a880649f40a
parent44a37ba12857c78389cda176c093967406250cfe
drm/ast: sil164: Transparently handle BMC support

Permanently set the connector status to 'connected'. Return BMC modes
for connector if no display is attached to the physical DP connector.
Otherwise use EDID modes as before.

If the status of the physical connector changes, the driver still
generates a hotplug event. DRM clients will then reconfigure their
output to a mode appropriate for either physical display or BMC.

v3:
- use struct ast_connector.physical_status to handle BMC

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240815151953.184679-10-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_sil164.c