mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
![]() As amd_uvd_resume() accesses the uvd ring, it must be initialised first or else we trigger errors like: [ 5.595963] [drm] Found UVD firmware Version: 1.87 Family ID: 17 [ 5.595969] [drm] PSP loading UVD firmware [ 5.596266] ------------[ cut here ]------------ [ 5.596268] ODEBUG: assert_init not available (active state 0) object type: timer_list hint: (null) [ 5.596285] WARNING: CPU: 0 PID: 507 at lib/debugobjects.c:329 debug_print_object+0x6a/0x80 [ 5.596286] Modules linked in: amdgpu(+) hid_logitech_hidpp(+) chash gpu_sched amd_iommu_v2 ttm drm_kms_helper crc32c_intel drm hid_sony ff_memless igb hid_logitech_dj nvme dca i2c_algo_bit nvme_core wmi pinctrl_amd uas usb_storage [ 5.596299] CPU: 0 PID: 507 Comm: systemd-udevd Tainted: G W 4.20.0-0.rc1.git4.1.fc30.x86_64 #1 [ 5.596301] Hardware name: System manufacturer System Product Name/ROG STRIX X470-I GAMING, BIOS 0901 07/23/2018 [ 5.596303] RIP: 0010:debug_print_object+0x6a/0x80 [ 5.596305] Code: 8b 43 10 83 c2 01 8b 4b 14 4c 89 e6 89 15 e6 82 b0 02 4c 8b 45 00 48 c7 c7 60 fd 34 a6 48 8b 14 c5 a0 da 08 a6 e8 6a 6a b8 ff <0f> 0b 5b 83 05 d0 45 3e 01 01 5d 41 5c c3 83 05 c5 45 3e 01 01 c3 [ 5.596306] RSP: 0018:ffffa02ac863f8c0 EFLAGS: 00010282 [ 5.596307] RAX: 0000000000000000 RBX: ffffa02ac863f8e0 RCX: 0000000000000006 [ 5.596308] RDX: 0000000000000007 RSI: ffff9160e9a7bfe8 RDI: ffff9160f91d6c60 [ 5.596310] RBP: ffffffffa6742740 R08: 0000000000000002 R09: 0000000000000000 [ 5.596311] R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffa634ff69 [ 5.596312] R13: 00000000000b79d0 R14: ffffffffa80f76d8 R15: 0000000000266000 [ 5.596313] FS: 00007f762abf7940(0000) GS:ffff9160f9000000(0000) knlGS:0000000000000000 [ 5.596314] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 5.596315] CR2: 000055fdc593f000 CR3: 00000007e999c000 CR4: 00000000003406f0 [ 5.596317] Call Trace: [ 5.596321] debug_object_assert_init+0x14a/0x180 [ 5.596327] del_timer+0x2e/0x90 [ 5.596383] amdgpu_fence_process+0x47/0x100 [amdgpu] [ 5.596430] amdgpu_uvd_resume+0xf6/0x120 [amdgpu] [ 5.596475] uvd_v7_0_sw_init+0xe0/0x280 [amdgpu] [ 5.596523] amdgpu_device_init.cold.30+0xf97/0x14b6 [amdgpu] [ 5.596563] ? amdgpu_driver_load_kms+0x53/0x330 [amdgpu] [ 5.596604] amdgpu_driver_load_kms+0x86/0x330 [amdgpu] [ 5.596614] drm_dev_register+0x115/0x150 [drm] [ 5.596654] amdgpu_pci_probe+0xbd/0x120 [amdgpu] [ 5.596658] local_pci_probe+0x41/0x90 [ 5.596661] pci_device_probe+0x188/0x1a0 [ 5.596666] really_probe+0xf8/0x3b0 [ 5.596669] driver_probe_device+0xb3/0xf0 [ 5.596672] __driver_attach+0xe1/0x110 [ 5.596674] ? driver_probe_device+0xf0/0xf0 [ 5.596676] bus_for_each_dev+0x79/0xc0 [ 5.596679] bus_add_driver+0x155/0x230 [ 5.596681] ? 0xffffffffc07d9000 [ 5.596683] driver_register+0x6b/0xb0 [ 5.596685] ? 0xffffffffc07d9000 [ 5.596688] do_one_initcall+0x5d/0x2be [ 5.596691] ? rcu_read_lock_sched_held+0x79/0x80 [ 5.596693] ? kmem_cache_alloc_trace+0x264/0x290 [ 5.596695] ? do_init_module+0x22/0x210 [ 5.596698] do_init_module+0x5a/0x210 [ 5.596701] load_module+0x2137/0x2430 [ 5.596703] ? lockdep_hardirqs_on+0xed/0x180 [ 5.596714] ? __do_sys_init_module+0x150/0x1a0 [ 5.596715] __do_sys_init_module+0x150/0x1a0 [ 5.596722] do_syscall_64+0x60/0x1f0 [ 5.596725] entry_SYSCALL_64_after_hwframe+0x49/0xbe [ 5.596726] RIP: 0033:0x7f762b877dee [ 5.596728] Code: 48 8b 0d 9d 20 0c 00 f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 49 89 ca b8 af 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 6a 20 0c 00 f7 d8 64 89 01 48 [ 5.596729] RSP: 002b:00007ffc777b8558 EFLAGS: 00000246 ORIG_RAX: 00000000000000af [ 5.596730] RAX: ffffffffffffffda RBX: 000055fdc48da320 RCX: 00007f762b877dee [ 5.596731] RDX: 00007f762b9f284d RSI: 00000000006c5fc6 RDI: 000055fdc527a060 [ 5.596732] RBP: 00007f762b9f284d R08: 0000000000000003 R09: 0000000000000002 [ 5.596733] R10: 000055fdc48ad010 R11: 0000000000000246 R12: 000055fdc527a060 [ 5.596734] R13: 000055fdc48dca20 R14: 0000000000020000 R15: 0000000000000000 [ 5.596740] irq event stamp: 134618 [ 5.596743] hardirqs last enabled at (134617): [<ffffffffa513d52e>] console_unlock+0x45e/0x610 [ 5.596744] hardirqs last disabled at (134618): [<ffffffffa50037e8>] trace_hardirqs_off_thunk+0x1a/0x1c [ 5.596746] softirqs last enabled at (133146): [<ffffffffa5e00365>] __do_softirq+0x365/0x47c [ 5.596748] softirqs last disabled at (133139): [<ffffffffa50c64f9>] irq_exit+0x119/0x120 [ 5.596749] ---[ end trace eaee508abfebccdc ]--- Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108709 Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |
||
---|---|---|
.. | ||
amdgpu.h | ||
amdgpu_acp.c | ||
amdgpu_acp.h | ||
amdgpu_acpi.c | ||
amdgpu_afmt.c | ||
amdgpu_amdkfd.c | ||
amdgpu_amdkfd.h | ||
amdgpu_amdkfd_fence.c | ||
amdgpu_amdkfd_gfx_v7.c | ||
amdgpu_amdkfd_gfx_v8.c | ||
amdgpu_amdkfd_gfx_v9.c | ||
amdgpu_amdkfd_gpuvm.c | ||
amdgpu_atombios.c | ||
amdgpu_atombios.h | ||
amdgpu_atomfirmware.c | ||
amdgpu_atomfirmware.h | ||
amdgpu_atpx_handler.c | ||
amdgpu_benchmark.c | ||
amdgpu_bios.c | ||
amdgpu_bo_list.c | ||
amdgpu_bo_list.h | ||
amdgpu_cgs.c | ||
amdgpu_connectors.c | ||
amdgpu_connectors.h | ||
amdgpu_cs.c | ||
amdgpu_csa.c | ||
amdgpu_csa.h | ||
amdgpu_ctx.c | ||
amdgpu_ctx.h | ||
amdgpu_debugfs.c | ||
amdgpu_debugfs.h | ||
amdgpu_device.c | ||
amdgpu_display.c | ||
amdgpu_display.h | ||
amdgpu_doorbell.h | ||
amdgpu_dpm.c | ||
amdgpu_dpm.h | ||
amdgpu_drv.c | ||
amdgpu_drv.h | ||
amdgpu_encoders.c | ||
amdgpu_fb.c | ||
amdgpu_fence.c | ||
amdgpu_gart.c | ||
amdgpu_gart.h | ||
amdgpu_gds.h | ||
amdgpu_gem.c | ||
amdgpu_gem.h | ||
amdgpu_gfx.c | ||
amdgpu_gfx.h | ||
amdgpu_gmc.c | ||
amdgpu_gmc.h | ||
amdgpu_gtt_mgr.c | ||
amdgpu_i2c.c | ||
amdgpu_i2c.h | ||
amdgpu_ib.c | ||
amdgpu_ids.c | ||
amdgpu_ids.h | ||
amdgpu_ih.c | ||
amdgpu_ih.h | ||
amdgpu_ioc32.c | ||
amdgpu_irq.c | ||
amdgpu_irq.h | ||
amdgpu_job.c | ||
amdgpu_job.h | ||
amdgpu_kms.c | ||
amdgpu_mn.c | ||
amdgpu_mn.h | ||
amdgpu_mode.h | ||
amdgpu_object.c | ||
amdgpu_object.h | ||
amdgpu_pll.c | ||
amdgpu_pll.h | ||
amdgpu_pm.c | ||
amdgpu_pm.h | ||
amdgpu_prime.c | ||
amdgpu_psp.c | ||
amdgpu_psp.h | ||
amdgpu_ring.c | ||
amdgpu_ring.h | ||
amdgpu_rlc.c | ||
amdgpu_rlc.h | ||
amdgpu_sa.c | ||
amdgpu_sched.c | ||
amdgpu_sched.h | ||
amdgpu_sdma.c | ||
amdgpu_sdma.h | ||
amdgpu_sync.c | ||
amdgpu_sync.h | ||
amdgpu_test.c | ||
amdgpu_trace.h | ||
amdgpu_trace_points.c | ||
amdgpu_ttm.c | ||
amdgpu_ttm.h | ||
amdgpu_ucode.c | ||
amdgpu_ucode.h | ||
amdgpu_uvd.c | ||
amdgpu_uvd.h | ||
amdgpu_vce.c | ||
amdgpu_vce.h | ||
amdgpu_vcn.c | ||
amdgpu_vcn.h | ||
amdgpu_vf_error.c | ||
amdgpu_vf_error.h | ||
amdgpu_virt.c | ||
amdgpu_virt.h | ||
amdgpu_vm.c | ||
amdgpu_vm.h | ||
amdgpu_vram_mgr.c | ||
amdgpu_xgmi.c | ||
amdgpu_xgmi.h | ||
atom.c | ||
atom.h | ||
atombios_crtc.c | ||
atombios_crtc.h | ||
atombios_dp.c | ||
atombios_dp.h | ||
atombios_encoders.c | ||
atombios_encoders.h | ||
atombios_i2c.c | ||
atombios_i2c.h | ||
ci_dpm.c | ||
ci_dpm.h | ||
ci_smc.c | ||
cik.c | ||
cik.h | ||
cik_dpm.h | ||
cik_ih.c | ||
cik_ih.h | ||
cik_sdma.c | ||
cik_sdma.h | ||
cikd.h | ||
clearstate_ci.h | ||
clearstate_defs.h | ||
clearstate_gfx9.h | ||
clearstate_si.h | ||
clearstate_vi.h | ||
cz_ih.c | ||
cz_ih.h | ||
dce_v6_0.c | ||
dce_v6_0.h | ||
dce_v8_0.c | ||
dce_v8_0.h | ||
dce_v10_0.c | ||
dce_v10_0.h | ||
dce_v11_0.c | ||
dce_v11_0.h | ||
dce_virtual.c | ||
dce_virtual.h | ||
df_v1_7.c | ||
df_v1_7.h | ||
df_v3_6.c | ||
df_v3_6.h | ||
emu_soc.c | ||
gfx_v6_0.c | ||
gfx_v6_0.h | ||
gfx_v7_0.c | ||
gfx_v7_0.h | ||
gfx_v8_0.c | ||
gfx_v8_0.h | ||
gfx_v9_0.c | ||
gfx_v9_0.h | ||
gfxhub_v1_0.c | ||
gfxhub_v1_0.h | ||
gfxhub_v1_1.c | ||
gfxhub_v1_1.h | ||
gmc_v6_0.c | ||
gmc_v6_0.h | ||
gmc_v7_0.c | ||
gmc_v7_0.h | ||
gmc_v8_0.c | ||
gmc_v8_0.h | ||
gmc_v9_0.c | ||
gmc_v9_0.h | ||
iceland_ih.c | ||
iceland_ih.h | ||
iceland_sdma_pkt_open.h | ||
Kconfig | ||
kv_dpm.c | ||
kv_dpm.h | ||
kv_smc.c | ||
Makefile | ||
mmhub_v1_0.c | ||
mmhub_v1_0.h | ||
mmsch_v1_0.h | ||
mxgpu_ai.c | ||
mxgpu_ai.h | ||
mxgpu_vi.c | ||
mxgpu_vi.h | ||
nbio_v6_1.c | ||
nbio_v6_1.h | ||
nbio_v7_0.c | ||
nbio_v7_0.h | ||
nbio_v7_4.c | ||
nbio_v7_4.h | ||
ObjectID.h | ||
ppsmc.h | ||
psp_gfx_if.h | ||
psp_v3_1.c | ||
psp_v3_1.h | ||
psp_v10_0.c | ||
psp_v10_0.h | ||
psp_v11_0.c | ||
psp_v11_0.h | ||
r600_dpm.h | ||
sdma_v2_4.c | ||
sdma_v2_4.h | ||
sdma_v3_0.c | ||
sdma_v3_0.h | ||
sdma_v4_0.c | ||
sdma_v4_0.h | ||
si.c | ||
si.h | ||
si_dma.c | ||
si_dma.h | ||
si_dpm.c | ||
si_dpm.h | ||
si_enums.h | ||
si_ih.c | ||
si_ih.h | ||
si_smc.c | ||
sid.h | ||
sislands_smc.h | ||
soc15.c | ||
soc15.h | ||
soc15_common.h | ||
soc15d.h | ||
ta_xgmi_if.h | ||
tonga_ih.c | ||
tonga_ih.h | ||
tonga_sdma_pkt_open.h | ||
uvd_v4_2.c | ||
uvd_v4_2.h | ||
uvd_v5_0.c | ||
uvd_v5_0.h | ||
uvd_v6_0.c | ||
uvd_v6_0.h | ||
uvd_v7_0.c | ||
uvd_v7_0.h | ||
vce_v2_0.c | ||
vce_v2_0.h | ||
vce_v3_0.c | ||
vce_v3_0.h | ||
vce_v4_0.c | ||
vce_v4_0.h | ||
vcn_v1_0.c | ||
vcn_v1_0.h | ||
vega10_ih.c | ||
vega10_ih.h | ||
vega10_reg_init.c | ||
vega10_sdma_pkt_open.h | ||
vega20_reg_init.c | ||
vi.c | ||
vi.h | ||
vi_dpm.h | ||
vid.h |