On Fri, May 30, 2025 at 05:54:30PM +0800, Yongbang Shi wrote:
From: Baihan Li <libaihan@xxxxxxxxxx>NAK. I think we discussed this when the previous patch was submitted.
If the system started with VGA connected, the desktop like GDM cannot get
DP's CRTC when DP device is plugged in, because there is only one crtc
sharing use of VGA and DP. So change VGA to disconnected when DP is
connected.
VGA and DP are independent. It should be user's choice whether to use
VGA or DP if both are connected.
Fixes: 4c962bc929f1 ("drm/hisilicon/hibmc: Add vga connector detect functions")
Signed-off-by: Baihan Li <libaihan@xxxxxxxxxx>
---
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_vdac.c | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)