summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/amd
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-08-18 13:11:48 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-08-18 13:11:48 +0000
commit1b6babe38aa2f3ed5c9dc0fd33a2c991b58b5b3f (patch)
tree64aa6bdcfd796c72ae40ecced225c6ddd94951ac /sys/dev/pci/drm/amd
parentaa4331859f805b846029c23e6a042a4186fa186b (diff)
Implement a few Linux compat ACPI interfaces and enable the ACPI support
code in radeon(4) and amdgpu(4). ok jsg@
Diffstat (limited to 'sys/dev/pci/drm/amd')
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c
index 0dfe4041015..9035c3cdf5d 100644
--- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c
+++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_bios.c
@@ -37,10 +37,6 @@
#include <dev/isa/isavar.h>
#endif
-#ifdef __HAVE_ACPI
-#include "acpi.h"
-#endif
-
/*
* BIOS.
*/
@@ -477,10 +473,6 @@ static bool amdgpu_read_disabled_bios(struct amdgpu_device *adev)
return amdgpu_asic_read_disabled_bios(adev);
}
-#if NACPI > 0
-#define CONFIG_ACPI
-#endif
-
#ifdef CONFIG_ACPI
static bool amdgpu_acpi_vfct_bios(struct amdgpu_device *adev)
{