OpenCloudOS-Kernel/drivers/gpu/drm/ast
Thomas Zimmermann f1a0e42f66 drm/ast: Disconnect BMC if physical connector is connected
commit 8d6ef26501b97243ee6c16b8187c5b38cb69b77d upstream.

Many user-space compositors fail with mode setting if a CRTC has
more than one connected connector. This is the case with the BMC
on Aspeed systems. Work around this problem by setting the BMC's
connector status to disconnected when the physical connector has
a display attached. This way compositors will only see one connected
connector at a time; either the physical one or the BMC.

Suggested-by: Jocelyn Falempe <jfalempe@redhat.com>
Fixes: e329cb53b4 ("drm/ast: Add BMC virtual connector")
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Cc: <stable@vger.kernel.org> # v6.6+
Reviewed-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231116130217.22931-1-tzimmermann@suse.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-12-03 07:33:06 +01:00
..
Kconfig drm: Only select I2C_ALGOBIT for drivers that actually need it 2023-01-10 11:15:44 +01:00
Makefile drm/ast: Create the driver for ASPEED proprietory Display-Port 2022-05-03 16:04:03 +02:00
ast_dp.c drm/ast: report connection status on Display Port. 2023-07-28 17:08:28 +02:00
ast_dp501.c drm/ast: report connection status on Display Port. 2023-07-28 17:08:28 +02:00
ast_dram_tables.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_drv.c drm/ast: Use drm_aperture_remove_conflicting_pci_framebuffers 2023-04-04 14:55:50 +02:00
ast_drv.h drm/ast: Disconnect BMC if physical connector is connected 2023-12-03 07:33:06 +01:00
ast_i2c.c drm/ast: Rename to_ast_private() to to_ast_device() 2023-03-01 10:28:50 +01:00
ast_main.c drm/ast: Do not enable PCI resources multiple times 2023-07-25 20:51:41 +02:00
ast_mm.c drm/ast: Enable and unlock device access early during init 2023-06-27 14:26:32 +02:00
ast_mode.c drm/ast: Disconnect BMC if physical connector is connected 2023-12-03 07:33:06 +01:00
ast_post.c drm/ast: Distinguish among chip generations 2023-06-27 14:26:34 +02:00
ast_tables.h drm/ast: Add resolution support for 1152x864@75 2022-09-20 10:19:32 +02:00