From 8ff86a7eff01ecf10aa12d4a97e67a53acfdcce9 Mon Sep 17 00:00:00 2001 From: Cole Deck Date: Sun, 9 Aug 2020 22:47:39 +0000 Subject: [PATCH] try another idea --- bbswitch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bbswitch.c b/bbswitch.c index e5b8c98..fa4ed2f 100644 --- a/bbswitch.c +++ b/bbswitch.c @@ -436,6 +436,7 @@ static int __init bbswitch_init(void) { dev_name(&pdev->dev), (char *)buf.pointer); } else { dis_dev = pdev; + pci_d3cold_enable(pdev); dis_handle = handle; pr_info("Found discrete VGA device %s: %s\n", dev_name(&pdev->dev), (char *)buf.pointer);