From: jsg Date: Mon, 11 Dec 2023 05:00:24 +0000 (+0000) Subject: drm/amd: Enable PCIe PME from D3 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=54f9414e0195e8cda7f2fe7095efa643c3bac54a;p=openbsd drm/amd: Enable PCIe PME from D3 From Mario Limonciello c6088429630048661e480ed28590e69a48c102d6 in linux-6.1.y/6.1.66 6967741d26c87300a51b5e50d4acd104bc1a9759 in mainline linux --- diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c index 7776d9a3548..7523c35ec69 100644 --- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c +++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c @@ -2205,6 +2205,8 @@ retry_init: pm_runtime_mark_last_busy(ddev->dev); pm_runtime_put_autosuspend(ddev->dev); + pci_wake_from_d3(pdev, TRUE); + /* * For runpm implemented via BACO, PMFW will handle the * timing for BACO in and out: