Hook up a few more bits of suspend/resume power management code. This
authorkettenis <kettenis@openbsd.org>
Fri, 16 Aug 2024 10:46:46 +0000 (10:46 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 16 Aug 2024 10:46:46 +0000 (10:46 +0000)
commitcc2e793a64b07ac2beb7dc9ae90904cb05e753d7
tree8c21875a21f7f50307f061cbfe3d71e5588561e3
parent8571a5a71f50506094a484ba40500378c39e27e8
Hook up a few more bits of suspend/resume power management code.  This
fixes S3 suspend/resume on the Lenovo ThinCentre M715q with:

  amdgpu0: RAVEN GC 9.1.0 8 CU rev 0x01

and also fixes S0 suspend/resume on various laptops with AMD graphics
provided we disable a few checks (which will be done in a separate
commit).

ok jsg@
sys/dev/pci/drm/amd/amdgpu/amdgpu_drv.c
sys/dev/pci/drm/include/linux/pci.h
sys/dev/pci/drm/include/linux/pm_runtime.h