Tested with latest amd-staging-drm-next + VCN patch on top. VCN dec tests pass but when modprobing amdgpu I get a few warnings and BUG_ONs - log attached. UVD is not enabled so can't test the UVD patch.


Thanks,

Andrey


On 02/09/2018 07:31 AM, Christian König wrote:
Question is rather can somebody please test this on Raven?

Thanks,
Christian.

  13.776970] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery 
directory
[   13.777673] NFSD: starting 90-second grace period (net f0000099)
[   13.816720] IPv6: ADDRCONF(NETDEV_UP): enp1s0f0: link is not ready
[   13.901818] r8169 0000:01:00.0 enp1s0f0: link down
[   13.901821] r8169 0000:01:00.0 enp1s0f0: link down
[   13.902102] IPv6: ADDRCONF(NETDEV_UP): enp1s0f0: link is not ready
[   17.237890] r8169 0000:01:00.0 enp1s0f0: link up
[   17.237903] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0f0: link becomes ready
[   32.797329] amdgpu: loading out-of-tree module taints kernel.
[   32.802872] amdgpu: module verification failed: signature and/or required 
key missing - tainting kernel
[   32.903501] [drm] amdgpu kernel modesetting enabled.
[   32.909609] [drm] initializing kernel modesetting (RAVEN 0x1002:0x15DD 
0x1002:0x0123 0xC1).
[   32.909718] [drm] register mmio base: 0xE0700000
[   32.909719] [drm] register mmio size: 524288
[   32.909818] [drm] add ip block number 0 <soc15_common>
[   32.909819] [drm] add ip block number 1 <gmc_v9_0>
[   32.909821] [drm] add ip block number 2 <vega10_ih>
[   32.909822] [drm] add ip block number 3 <psp>
[   32.909823] [drm] add ip block number 4 <amdgpu_powerplay>
[   32.909824] [drm] add ip block number 5 <dm>
[   32.909826] [drm] add ip block number 6 <gfx_v9_0>
[   32.909827] [drm] add ip block number 7 <sdma_v4_0>
[   32.909828] [drm] add ip block number 8 <vcn_v1_0>
[   32.915527] [drm] probing gen 2 caps for device 1022:15db = 700d03/e
[   32.915531] [drm] probing mlw for device 1022:15db = 700d03
[   32.933726] [drm] VCN decode is enabled in VM mode
[   32.933728] [drm] VCN encode is enabled in VM mode
[   32.959101] [drm] BIOS signature incorrect 20 7
[   32.959203] resource sanity check: requesting [mem 0x000c0000-0x000dffff], 
which spans more than PCI Bus 0000:00 [mem 0x000c0000-0x000c3fff window]
[   32.959209] caller pci_map_rom+0x96/0x170 mapping multiple BARs
[   32.959354] ATOM BIOS: 113-RAVEN-028
[   32.961340] [drm] vm size is 262144 GB, 4 levels, block size is 9-bit, 
fragment size is 9-bit
[   32.961440] amdgpu 0000:02:00.0: VRAM: 1024M 0x000000F400000000 - 
0x000000F43FFFFFFF (1024M used)
[   32.961443] amdgpu 0000:02:00.0: GTT: 1024M 0x000000F500000000 - 
0x000000F53FFFFFFF
[   32.961482] [drm] Detected VRAM RAM=1024M, BAR=1024M
[   32.961483] [drm] RAM width 128bits UNKNOWN
[   32.962934] [TTM] Zone  kernel: Available graphics memory: 6354980 kiB
[   32.962936] [TTM] Zone   dma32: Available graphics memory: 2097152 kiB
[   32.962936] [TTM] Initializing pool allocator
[   32.963257] [TTM] Initializing DMA pool allocator
[   32.964073] [drm] amdgpu: 1024M of VRAM memory ready
[   32.964110] [drm] amdgpu: 3072M of GTT memory ready.
[   32.964763] [drm] GART: num cpu pages 262144, num gpu pages 262144
[   32.966810] [drm] PCIE GART of 1024M enabled (table at 0x000000F400800000).
[   33.003827] [drm] use_doorbell being set to: [true]
[   33.007278] [drm] Found VCN firmware Version: 1.24 Family ID: 18
[   33.188105] [drm] Display Core initialized with v3.1.32!
[   33.287083] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   33.287086] [drm] Driver supports precise vblank timestamp query.
[   33.310070] [drm] VCN decode and encode initialized successfully.
[   33.314271] WARNING: CPU: 0 PID: 1119 at 
./include/drm/ttm/ttm_bo_driver.h:908 amdgpu_bo_create_reserved+0x2bc/0x340 
[amdgpu]
[   33.314274] Modules linked in: amdgpu(OE+) chash gpu_sched ttm 
drm_kms_helper drm i2c_algo_bit fb_sys_fops syscopyarea sysfillrect sysimgblt 
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel 
edac_mce_amd snd_hda_codec snd_hda_core kvm_amd snd_hwdep kvm snd_pcm irqbypass 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq_midi 
snd_seq_midi_event snd_rawmidi joydev snd_seq aesni_intel aes_x86_64 
crypto_simd glue_helper snd_seq_device cryptd snd_timer serio_raw snd soundcore 
ipmi_si(+) i2c_piix4 shpchp mac_hid binfmt_misc nfsd auth_rpcgss nfs_acl lockd 
parport_pc grace ppdev sunrpc lp parport autofs4 ahci libahci r8169 mii video 
hid_generic usbhid hid
[   33.314335] CPU: 0 PID: 1119 Comm: modprobe Tainted: G           OE    
4.15.0-rc4.main+ #12
[   33.314336] Hardware name: AMD Tambourine/Tambourine, BIOS 
WMD7504N_Weekly_17_05_0 05/04/2017
[   33.314523] RIP: 0010:amdgpu_bo_create_reserved+0x2bc/0x340 [amdgpu]
[   33.314525] RSP: 0018:ffff8803c5c772d8 EFLAGS: 00010246
[   33.314528] RAX: 0000000000000000 RBX: ffff8803c5c77400 RCX: ffffffffa0c04b5a
[   33.314530] RDX: 0000000000000003 RSI: dffffc0000000000 RDI: ffff8803c6c64d08
[   33.314532] RBP: 0000000000001000 R08: ffff8803c5c77400 R09: 0000000000000000
[   33.314534] R10: 0000000020cda035 R11: fffffbfff05f26f6 R12: 1ffff10078b8ee5f
[   33.314536] R13: ffff8803c5e70000 R14: ffff8803c6c64c80 R15: 0000000000000000
[   33.314539] FS:  00007f8be7637700(0000) GS:ffff8803e6600000(0000) 
knlGS:0000000000000000
[   33.314541] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   33.314543] CR2: 00007f4357660028 CR3: 00000003d4f45000 CR4: 00000000003406f0
[   33.314544] Call Trace:
[   33.314733]  ? amdgpu_bo_pin+0x20/0x20 [amdgpu]
[   33.314921]  ? amdgpu_sa_bo_free+0x8c/0x170 [amdgpu]
[   33.315104]  ? amdgpu_device_wb_free+0x18/0x30 [amdgpu]
[   33.315311]  amdgpu_vcn_dec_ring_test_ib+0x23c/0x440 [amdgpu]
[   33.315517]  ? amdgpu_vcn_dec_ring_test_ring+0x390/0x390 [amdgpu]
[   33.315524]  ? __debugfs_create_file+0x155/0x1a0
[   33.315529]  ? mutex_lock+0xe/0x30
[   33.315724]  amdgpu_ib_ring_tests+0x8e/0x120 [amdgpu]
[   33.315913]  amdgpu_device_init+0x1cc7/0x20c0 [amdgpu]
[   33.316124]  ? amdgpu_device_has_dc_support+0x30/0x30 [amdgpu]
[   33.316130]  ? create_object+0x3a8/0x470
[   33.316134]  ? kmemleak_disable+0x70/0x70
[   33.316139]  ? kasan_unpoison_shadow+0x31/0x40
[   33.316142]  ? kasan_kmalloc_large+0x63/0xb0
[   33.316147]  ? bdi_register_va.part.10+0x24e/0x280
[   33.316151]  ? kmalloc_order_trace+0x1d/0xa0
[   33.316339]  amdgpu_driver_load_kms+0xa8/0x3a0 [amdgpu]
[   33.316386]  drm_dev_register+0x1d3/0x2f0 [drm]
[   33.316574]  amdgpu_pci_probe+0x1bf/0x290 [amdgpu]
[   33.316763]  ? amdgpu_pmops_runtime_idle+0xf0/0xf0 [amdgpu]
[   33.316768]  local_pci_probe+0x74/0xe0
[   33.316772]  pci_device_probe+0x1dc/0x2d0
[   33.316776]  ? pci_device_remove+0x100/0x100
[   33.316783]  ? driver_sysfs_add+0xce/0x120
[   33.316786]  driver_probe_device+0x40b/0x6b0
[   33.316790]  ? driver_probe_device+0x6b0/0x6b0
[   33.316793]  __driver_attach+0x116/0x120
[   33.316798]  bus_for_each_dev+0xd8/0x130
[   33.316802]  ? subsys_dev_iter_exit+0x10/0x10
[   33.316805]  ? bus_add_driver+0x81/0x3a0
[   33.316810]  ? klist_node_init+0x51/0x70
[   33.316815]  bus_add_driver+0x31a/0x3a0
[   33.316819]  driver_register+0xc6/0x170
[   33.316823]  ? 0xffffffffa0898000
[   33.316827]  do_one_initcall+0x82/0x1d0
[   33.316832]  ? do_init_module+0x35/0x333
[   33.316835]  ? initcall_blacklisted+0x120/0x120
[   33.316839]  ? kasan_kmalloc+0xa6/0xd0
[   33.316842]  ? do_init_module+0x35/0x333
[   33.316846]  ? kasan_unpoison_shadow+0x31/0x40
[   33.316850]  ? __asan_register_globals+0x82/0xa0
[   33.316854]  do_init_module+0xe7/0x333
[   33.316859]  load_module+0x410c/0x4b40
[   33.316868]  ? module_frob_arch_sections+0x20/0x20
[   33.316872]  ? vfs_read+0x132/0x190
[   33.316876]  ? kernel_read+0x74/0xa0
[   33.316882]  ? SYSC_finit_module+0x14d/0x180
[   33.316884]  SYSC_finit_module+0x14d/0x180
[   33.316888]  ? SYSC_init_module+0x1b0/0x1b0
[   33.316891]  ? vfs_statx_fd+0x49/0x80
[   33.316894]  ? SYSC_newfstat+0x70/0xa0
[   33.316898]  ? __fget+0xa0/0xf0
[   33.316901]  ? syscall_trace_enter+0x1eb/0x4e0
[   33.316907]  ? vtime_user_exit+0x91/0xa0
[   33.316910]  ? SyS_init_module+0x10/0x10
[   33.316914]  do_syscall_64+0xe1/0x270
[   33.316919]  entry_SYSCALL64_slow_path+0x25/0x25
[   33.316921] RIP: 0033:0x7f8be716a4d9
[   33.316923] RSP: 002b:00007fffbf1a7cb8 EFLAGS: 00000246 ORIG_RAX: 
0000000000000139
[   33.316927] RAX: ffffffffffffffda RBX: 000055c92dbfaa80 RCX: 00007f8be716a4d9
[   33.316928] RDX: 0000000000000000 RSI: 000055c92ceb026b RDI: 000000000000000d
[   33.316930] RBP: 000055c92ceb026b R08: 0000000000000000 R09: 0000000000000000
[   33.316932] R10: 000000000000000d R11: 0000000000000246 R12: 0000000000000000
[   33.316934] R13: 000055c92dbf3720 R14: 0000000000040000 R15: 0000000000040000
[   33.316936] Code: 3b 5f 6f e0 4c 8b 33 e9 e8 fd ff ff 4c 89 ef e8 2b 5f 6f 
e0 49 8b 7d 00 89 ea 48 c7 c6 a0 19 e8 a0 e8 59 da c5 e0 e9 cf fe ff ff <0f> ff 
e9 e6 fd ff ff 3d 00 fe ff ff 74 2c 48 8b 44 24 18 48 8d 
[   33.316979] ---[ end trace 5435e2be926803a3 ]---
[   33.319275] ------------[ cut here ]------------
[   33.319282] Kernel BUG at 0000000029fa1674 [verbose debug info unavailable]
[   33.828201] ------------[ cut here ]------------
[   33.828204] kernel BUG at drivers/gpu/drm/ttm/ttm_bo.c:146!
[   33.828353] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC KASAN
[   33.828488] Modules linked in: amdgpu(OE+) chash gpu_sched ttm 
drm_kms_helper drm i2c_algo_bit fb_sys_fops syscopyarea sysfillrect sysimgblt 
snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel 
edac_mce_amd snd_hda_codec snd_hda_core kvm_amd snd_hwdep kvm snd_pcm irqbypass 
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel pcbc snd_seq_midi 
snd_seq_midi_event snd_rawmidi joydev snd_seq aesni_intel aes_x86_64 
crypto_simd glue_helper snd_seq_device cryptd snd_timer serio_raw snd soundcore 
ipmi_si(+) i2c_piix4 shpchp mac_hid binfmt_misc nfsd auth_rpcgss nfs_acl lockd 
parport_pc grace ppdev sunrpc lp parport autofs4 ahci libahci r8169 mii video 
hid_generic usbhid hid
[   33.829230] CPU: 0 PID: 318 Comm: kworker/0:2 Tainted: G        W  OE    
4.15.0-rc4.main+ #12
[   33.829337] Hardware name: AMD Tambourine/Tambourine, BIOS 
WMD7504N_Weekly_17_05_0 05/04/2017
[   33.829459] Workqueue: events ttm_bo_delayed_workqueue [ttm]
[   33.829557] RIP: 0010:ttm_bo_release_list+0x21e/0x230 [ttm]
[   33.829640] RSP: 0018:ffff8803deaa7cf0 EFLAGS: 00010286
[   33.829722] RAX: 00000000c0000000 RBX: ffff8803c6c64d98 RCX: ffffffffa086ae2f
[   33.829817] RDX: 0000000000000003 RSI: dffffc0000000000 RDI: ffff8803c6c64d08
[   33.829918] RBP: ffff8803c6c64d0c R08: ffff88036f53c000 R09: 0000000000000070
[   33.830018] R10: 000000001cb98ca4 R11: fffffbfff05a794b R12: ffff8803c5e72da8
[   33.830118] R13: ffff8803c5e72da8 R14: ffff8803c6c64cd8 R15: ffff8803c5e726e0
[   33.830219] FS:  0000000000000000(0000) GS:ffff8803e6600000(0000) 
knlGS:0000000000000000
[   33.830332] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   33.830420] CR2: 00007f4357660028 CR3: 00000003d4f45000 CR4: 00000000003406f0
[   33.830520] Call Trace:
[   33.830598]  ? ttm_bo_cleanup_refs+0x1da/0x240 [ttm]
[   33.830695]  ttm_bo_delayed_delete+0x298/0x2d0 [ttm]
[   33.830791]  ? ttm_bo_cleanup_refs+0x240/0x240 [ttm]
[   33.830887]  ttm_bo_delayed_workqueue+0x17/0x50 [ttm]
[   33.830976]  process_one_work+0x2a2/0x6d0
[   33.831054]  worker_thread+0x87/0x770
[   33.831130]  kthread+0x174/0x1c0
[   33.831201]  ? process_one_work+0x6d0/0x6d0
[   33.831280]  ? kthread_associate_blkcg+0x130/0x130
[   33.831367]  ret_from_fork+0x1f/0x30
[   33.831439] Code: 5d 41 5c 41 5d 41 5e 41 5f e9 af d0 ff ff e8 ba 95 06 e1 
eb 82 e8 b3 95 06 e1 e9 fb fe ff ff e8 a9 95 06 e1 e9 18 ff ff ff 0f 0b <0f> 0b 
0f 0b 0f 0b 0f 0b 0f 0b 0f 1f 84 00 00 00 00 00 0f 1f 44 
[   33.831691] RIP: ttm_bo_release_list+0x21e/0x230 [ttm] RSP: ffff8803deaa7cf0
[   33.831792] ---[ end trace 5435e2be926803a4 ]---
[   33.844123] [drm] fb mappable at 0x91000000
[   33.844213] [drm] vram apper at 0x90000000
[   33.844290] [drm] size 19906560
[   33.844359] [drm] fb depth is 24
[   33.844428] [drm]    pitch is 13824
[   33.846361] fbcon: amdgpudrmfb (fb0) is primary device
[   33.856714] amdgpu: [powerplay] smu firmware version too old, can not set 
dpm level
[   33.894333] amdgpu: [powerplay] smu firmware version too old, can not set 
dpm level
[   33.958365] Console: switching to colour frame buffer device 430x90
[   34.008662] amdgpu 0000:02:00.0: fb0: amdgpudrmfb frame buffer device
[   34.036251] amdgpu 0000:02:00.0: ring 0(gfx) uses VM inv eng 4 on hub 0
[   34.036375] amdgpu 0000:02:00.0: ring 1(comp_1.0.0) uses VM inv eng 5 on hub 0
[   34.036497] amdgpu 0000:02:00.0: ring 2(comp_1.1.0) uses VM inv eng 6 on hub 0
[   34.036619] amdgpu 0000:02:00.0: ring 3(comp_1.2.0) uses VM inv eng 7 on hub 0
[   34.036740] amdgpu 0000:02:00.0: ring 4(comp_1.3.0) uses VM inv eng 8 on hub 0
[   34.036861] amdgpu 0000:02:00.0: ring 5(comp_1.0.1) uses VM inv eng 9 on hub 0
[   34.036982] amdgpu 0000:02:00.0: ring 6(comp_1.1.1) uses VM inv eng 10 on 
hub 0
[   34.037106] amdgpu 0000:02:00.0: ring 7(comp_1.2.1) uses VM inv eng 11 on 
hub 0
[   34.037228] amdgpu 0000:02:00.0: ring 8(comp_1.3.1) uses VM inv eng 12 on 
hub 0
[   34.037349] amdgpu 0000:02:00.0: ring 9(kiq_2.1.0) uses VM inv eng 13 on hub 0
[   34.037468] amdgpu 0000:02:00.0: ring 10(sdma0) uses VM inv eng 4 on hub 1
[   34.037581] amdgpu 0000:02:00.0: ring 11(vcn_dec) uses VM inv eng 5 on hub 1
[   34.037698] amdgpu 0000:02:00.0: ring 12(vcn_enc0) uses VM inv eng 6 on hub 1
[   34.037816] amdgpu 0000:02:00.0: ring 13(vcn_enc1) uses VM inv eng 7 on hub 1
[   34.037986] amdgpu: [powerplay] smu firmware version too old, can not set 
dpm level
[   34.065922] [drm] Initialized amdgpu 3.25.0 20150101 for 0000:02:00.0 on 
minor 0
[  113.132477] ipmi_si 0000:01:00.3: There appears to be no BMC at this location

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to