[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#881593: AMDGPU module not built for ppc64el



Package: linux-image-powerpc64le
Version:

For an unknown (historical?) reason, the AMDGPU kernel module is not built
on ppcl64el systems.  I have rebuilt the kernel and verified that it does
work on POWER9 with Linux 4.14 and an AMD Vega 64 card, so the module
build should be enabled for Debian.  Without this module there is no way
to get video out of the Vega cards on OpenPOWER machines.

I have attached a patch for the kernel configuration file that enables the
AMDGPU module.
--- .config
+++ .config
@@ -658,7 +658,10 @@
 # CONFIG_PM_TEST_SUSPEND is not set
 CONFIG_PM_SLEEP_DEBUG=y
 CONFIG_PM_OPP=y
+CONFIG_PM_GENERIC_DOMAINS=y
 # CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
+CONFIG_PM_GENERIC_DOMAINS_SLEEP=y
+CONFIG_PM_GENERIC_DOMAINS_OF=y
 CONFIG_SECCOMP=y
 CONFIG_ISA_DMA_API=y
 
@@ -4507,11 +4510,16 @@
 # CONFIG_DRM_I2C_NXP_TDA998X is not set
 CONFIG_DRM_RADEON=m
 # CONFIG_DRM_RADEON_USERPTR is not set
-# CONFIG_DRM_AMDGPU is not set
+CONFIG_DRM_AMDGPU=m
+CONFIG_DRM_AMDGPU_SI=y
+CONFIG_DRM_AMDGPU_CIK=y
+# CONFIG_DRM_AMDGPU_USERPTR is not set
+# CONFIG_DRM_AMDGPU_GART_DEBUGFS is not set
 
 #
 # ACP (Audio CoProcessor) Configuration
 #
+CONFIG_DRM_AMD_ACP=y
 CONFIG_DRM_NOUVEAU=m
 CONFIG_NOUVEAU_DEBUG=5
 CONFIG_NOUVEAU_DEBUG_DEFAULT=3

Reply to: