[PATCH 3/7] drm/amdgpu: Include <asm/cpu_device_id.h> unconditionally
From: Pavel Popov
Date: Wed Nov 11 2026 - 18:55:26 EST
<asm/cpu_device_id.h> now has a generic version, so the #ifdef
CONFIG_X86 around the include is no longer needed.
<asm/intel-family.h> is included by <asm/cpu_device_id.h>.
Signed-off-by: Pavel Popov <pavel.e.popov@xxxxxxxxx>
---
Depends on <asm-generic/cpu_device_id.h> from [1]; please apply after
it is in mainline.
[1] https://lore.kernel.org/r/20261111234439.4098-1-pavel.e.popov@xxxxxxxxx
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 19a566187df..fc4e7273630 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -88,10 +88,7 @@
#include <drm/drm_drv.h>
-#if IS_ENABLED(CONFIG_X86)
-#include <asm/intel-family.h>
#include <asm/cpu_device_id.h>
-#endif
MODULE_FIRMWARE("amdgpu/vega10_gpu_info.bin");
MODULE_FIRMWARE("amdgpu/vega12_gpu_info.bin");
--
2.54.0