You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--- /boot/config-5.10.110-rockchip-rk3588 2023-05-29 09:59:52.000000000 +0800+++ .config 2023-11-16 19:30:16.311801176 +0800@@ -2,9 +2,9 @@
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 5.10.110 Kernel Configuration
#
-CONFIG_CC_VERSION_TEXT="aarch64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0"+CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
CONFIG_CC_IS_GCC=y
-CONFIG_GCC_VERSION=110300+CONFIG_GCC_VERSION=110400
CONFIG_LD_VERSION=238000000
CONFIG_CLANG_VERSION=0
CONFIG_LLD_VERSION=0
@@ -952,6 +952,7 @@
# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not set
# CONFIG_IDLE_PAGE_TRACKING is not set
CONFIG_ARCH_HAS_PTE_DEVMAP=y
+CONFIG_HMM_MIRROR=y
CONFIG_FRAME_VECTOR=y
CONFIG_ARCH_USES_HIGH_VMA_FLAGS=y
# CONFIG_PERCPU_STATS is not set
@@ -4977,7 +4978,11 @@
# CONFIG_DRM_FBDEV_LEAK_PHYS_SMEM is not set
CONFIG_DRM_LOAD_EDID_FIRMWARE=y
# CONFIG_DRM_DP_CEC is not set
+CONFIG_DRM_TTM=m+CONFIG_DRM_TTM_DMA_PAGE_POOL=y
CONFIG_DRM_GEM_CMA_HELPER=y
+CONFIG_DRM_VM=y+CONFIG_DRM_SCHED=m
#
# I2C encoder or helper chips
@@ -4997,8 +5002,34 @@
# end of ARM devices
# CONFIG_DRM_RADEON is not set
-# CONFIG_DRM_AMDGPU is not set-# CONFIG_DRM_NOUVEAU is not set+CONFIG_DRM_AMDGPU=m+CONFIG_DRM_AMDGPU_SI=y+CONFIG_DRM_AMDGPU_CIK=y+CONFIG_DRM_AMDGPU_USERPTR=y+CONFIG_DRM_AMDGPU_GART_DEBUGFS=y++#+# ACP (Audio CoProcessor) Configuration+#+CONFIG_DRM_AMD_ACP=y+# end of ACP (Audio CoProcessor) Configuration++#+# Display Engine Configuration+#+CONFIG_DRM_AMD_DC=y+# CONFIG_DRM_AMD_DC_HDCP is not set+# CONFIG_DRM_AMD_DC_SI is not set+# end of Display Engine Configuration++CONFIG_HSA_AMD=y+CONFIG_DRM_NOUVEAU=m+CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT=y+CONFIG_NOUVEAU_DEBUG=5+CONFIG_NOUVEAU_DEBUG_DEFAULT=3+# CONFIG_NOUVEAU_DEBUG_MMU is not set+# CONFIG_NOUVEAU_DEBUG_PUSH is not set+CONFIG_DRM_NOUVEAU_BACKLIGHT=y
# CONFIG_DRM_VGEM is not set
# CONFIG_DRM_VKMS is not set
CONFIG_DRM_ROCKCHIP=y
@@ -5154,7 +5185,12 @@
# CONFIG_DRM_LIMA is not set
# CONFIG_DRM_PANFROST is not set
# CONFIG_DRM_TIDSS is not set
-# CONFIG_DRM_LEGACY is not set+CONFIG_DRM_LEGACY=y+# CONFIG_DRM_TDFX is not set+# CONFIG_DRM_R128 is not set+# CONFIG_DRM_MGA is not set+# CONFIG_DRM_VIA is not set+# CONFIG_DRM_SAVAGE is not set
CONFIG_DRM_PANEL_ORIENTATION_QUIRKS=y
CONFIG_MALI400=y
CONFIG_MALI450=y
Kernel log
After build kernel with AMDGPU modules
[ 5.342520] amdgpu: Topology: Add CPU node
[ 5.342692] amdgpu 0000:01:00.0: enabling device (0000 -> 0003)
[ 5.342705] [drm] initializing kernel modesetting (POLARIS12 0x1002:0x699F 0x1458:0x22F2 0xC7).
[ 5.342708] amdgpu 0000:01:00.0: amdgpu: Trusted Memory Zone (TMZ) feature not supported
[ 5.342720] [drm] register mmio base: 0xF0200000
[ 5.342721] [drm] register mmio size: 262144
[ 5.342723] [drm] PCIE atomic ops is not supported
[ 5.342734] [drm] add ip block number 0 <vi_common>
[ 5.342736] [drm] add ip block number 1 <gmc_v8_0>
[ 5.342738] [drm] add ip block number 2 <tonga_ih>
[ 5.342739] [drm] add ip block number 3 <gfx_v8_0>
[ 5.342741] [drm] add ip block number 4 <sdma_v3_0>
[ 5.342742] [drm] add ip block number 5 <powerplay>
[ 5.342744] [drm] add ip block number 6 <dm>
[ 5.342746] [drm] add ip block number 7 <uvd_v6_0>
[ 5.342747] [drm] add ip block number 8 <vce_v3_0>
[ 5.561336] amdgpu 0000:01:00.0: amdgpu: Fetched VBIOS from ROM BAR
[ 5.561341] amdgpu: ATOM BIOS: xxx-xxx-xxx
[ 5.561408] [drm] UVD is enabled in VM mode
[ 5.561414] [drm] UVD ENC is enabled in VM mode
[ 5.561422] [drm] VCE enabled in VM mode
[ 5.561446] [drm] GPU posting now...
[ 5.682722] amdgpu 0000:01:00.0: Direct firmware load for amdgpu/polaris12_mc.bin failed with error -2
[ 5.682724] amdgpu: mc: Failed to load firmware "amdgpu/polaris12_mc.bin"
[ 5.682918] [drm:gmc_v8_0_sw_init [amdgpu]] *ERROR* Failed to load mc firmware!
[ 5.683095] [drm:amdgpu_device_init [amdgpu]] *ERROR* sw_init of IP block <gmc_v8_0> failed -2
[ 5.683096] amdgpu 0000:01:00.0: amdgpu: amdgpu_device_ip_init failed
[ 5.683099] amdgpu 0000:01:00.0: amdgpu: Fatal error during GPU init
[ 5.683101] amdgpu 0000:01:00.0: amdgpu: amdgpu: finishing device.
[ 5.686549] Call trace:
[ 5.686551] dump_backtrace+0x0/0x1b4
[ 5.686553] show_stack+0x24/0x30
[ 5.686555] dump_stack_lvl+0xc8/0xf8
[ 5.686557] dump_stack+0x18/0x34
[ 5.686559] spin_bug+0x90/0xb4
[ 5.686561] do_raw_spin_lock+0x44/0xe0
[ 5.686564] _raw_spin_lock_irqsave+0x30/0x44
[ 5.686741] amdgpu_irq_disable_all+0x50/0x118 [amdgpu]
[ 5.686915] amdgpu_device_fini+0x8c/0x464 [amdgpu]
[ 5.687089] amdgpu_driver_unload_kms+0x60/0x70 [amdgpu]
[ 5.687262] amdgpu_driver_load_kms+0x58/0x1a8 [amdgpu]
[ 5.687436] amdgpu_pci_probe+0x180/0x208 [amdgpu]
[ 5.687439] pci_device_probe+0xc0/0x130
[ 5.687441] really_probe+0x2dc/0x46c
[ 5.687443] driver_probe_device+0x138/0x148
[ 5.687445] device_driver_attach+0x50/0x7c
[ 5.687446] __driver_attach+0x150/0x154
[ 5.687448] bus_for_each_dev+0x7c/0xc8
[ 5.687450] driver_attach+0x30/0x3c
[ 5.687452] bus_add_driver+0x1b4/0x1fc
[ 5.687453] driver_register+0xc0/0xf8
[ 5.687455] __pci_register_driver+0x70/0x80
[ 5.687629] amdgpu_init+0x88/0x1000 [amdgpu]
[ 5.687631] do_one_initcall+0xa0/0x1e8
[ 5.687633] do_init_module+0x58/0x1f4
[ 5.687635] load_module+0x1d1c/0x22e4
[ 5.687637] __do_sys_finit_module+0xe0/0x100
[ 5.687639] __arm64_sys_finit_module+0x28/0x34
[ 5.687641] el0_svc_common.constprop.0+0x13c/0x1ec
[ 5.687643] do_el0_svc+0x90/0x9c
[ 5.687645] el0_svc+0x20/0x30
[ 5.687647] el0_sync_handler+0xbc/0x158
[ 5.687649] el0_sync+0x1a0/0x1c0
[ 5.687718] amdgpu: probe of 0000:01:00.0 failed with error -2
The text was updated successfully, but these errors were encountered:
Information
lspci
Kernel config
Kernel log
After build kernel with AMDGPU modules
The text was updated successfully, but these errors were encountered: