From 0c4e4596528239a0d41c6a1dc062783e4dc65b03 Mon Sep 17 00:00:00 2001 From: Chong Qiao Date: Fri, 2 Jun 2023 14:26:25 +0800 Subject: [PATCH] LoongArch: fix ls2k500 bmc not work when installing iso LoongArch inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I76XQZ -------------------------------- Signed-off-by: Chong Qiao Signed-off-by: Hongchen Zhang --- drivers/gpu/drm/loongson/lsdc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/loongson/lsdc_drv.c b/drivers/gpu/drm/loongson/lsdc_drv.c index d98bcabe66b5..9f74f22450fd 100644 --- a/drivers/gpu/drm/loongson/lsdc_drv.c +++ b/drivers/gpu/drm/loongson/lsdc_drv.c @@ -541,7 +541,7 @@ static int __init lsdc_drm_init(void) * This integrated video card will always be selected as * default boot device by vgaarb subsystem. */ - if (pdev->vendor != PCI_VENDOR_ID_LOONGSON) { + if (pdev->vendor != PCI_VENDOR_ID_LOONGSON || pdev->device == 0x1a05) { pr_info("Discrete graphic card detected, abort\n"); return 0; } -- GitLab