]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/ast: dp501: Transparently handle BMC support
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 15 Aug 2024 15:18:50 +0000 (17:18 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 22 Aug 2024 07:13:11 +0000 (09:13 +0200)
commit44a37ba12857c78389cda176c093967406250cfe
tree9d774d3ad0057cf974aad63d5593f908187e3467
parent9e7a74a12101bb07ccc22fb180c5e44051c5a407
drm/ast: dp501: 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-9-tzimmermann@suse.de
drivers/gpu/drm/ast/ast_dp501.c