diff --git a/drivers/gpu/drm/loongson/lsdc_drv.c b/drivers/gpu/drm/loongson/lsdc_drv.c index d98bcabe66b55f5e3c856db4cfb76d332fa06a09..9f74f22450fd2bad13ce4ccd3f3e09e5dc43bd4e 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; }