]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/hisilicon/hibmc: fix dp and vga cannot show together
authorBaihan Li <libaihan@huawei.com>
Wed, 13 Aug 2025 09:42:34 +0000 (17:42 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Aug 2025 14:34:46 +0000 (16:34 +0200)
commita4e0ea587ae7d3c54359ccd15bb41015ff95ab96
tree6e637b1e3f8fb5d147833ea34c42daf970583f8f
parentccda4b7fe50dbf616f1c093871be08fe31fceeb3
drm/hisilicon/hibmc: fix dp and vga cannot show together

[ Upstream commit 3271faf42d135bcf569c3ff6af55c21858eec212 ]

If VGA and DP connected together, there will be only one can get crtc.
Add encoder possible_clones to support two connectors enable.

Fixes: 3c7623fb5bb6 ("drm/hisilicon/hibmc: Enable this hot plug detect of irq feature")
Signed-off-by: Baihan Li <libaihan@huawei.com>
Signed-off-by: Yongbang Shi <shiyongbang@huawei.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250813094238.3722345-8-shiyongbang@huawei.com
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.c