https://bugzilla.kernel.org/show_bug.cgi?id=194645 Bug ID: 194645 Summary: amdgpu: amdgpu_resume failed Product: Drivers Version: 2.5 Kernel Version: 4.10 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@xxxxxxxxxxxxxxxxxxxx Reporter: mlen@xxxxxxx Regression: No amdgpu fails to resume from suspend on 4.10 kernel, 4.9.11 worked fine. Steps to reproduce: # echo devices > /sys/power/pm_test # pm-suspend Network cards successfully resume, so I was able to save dmesg. [ 397.627426] PM: Suspending system (mem) [ 397.627446] Suspending console(s) (use no_console_suspend to debug) [ 397.631850] sd 5:0:0:0: [sdc] Synchronizing SCSI cache [ 397.632039] sd 4:0:0:0: [sdb] Synchronizing SCSI cache [ 397.632105] sd 5:0:0:0: [sdc] Stopping disk [ 397.632290] sd 2:0:0:0: [sda] Synchronizing SCSI cache [ 397.632330] sd 4:0:0:0: [sdb] Stopping disk [ 397.632408] sd 2:0:0:0: [sda] Stopping disk [ 397.634055] serial 00:04: disabled [ 397.634414] serial 00:03: disabled [ 397.640880] pcieport 0000:00:1c.3: System wakeup enabled by ACPI [ 397.660463] pcieport 0000:00:1c.2: System wakeup enabled by ACPI [ 398.763780] PM: suspend of devices complete after 1133.531 msecs [ 398.763783] suspend debug: Waiting for 5 second(s). [ 403.788120] sd 2:0:0:0: [sda] Starting disk [ 403.788222] sd 4:0:0:0: [sdb] Starting disk [ 403.788371] sd 5:0:0:0: [sdc] Starting disk [ 403.790105] power_meter ACPI000D:00: Found ACPI power meter. [ 403.790337] rtc_cmos 00:00: System wakeup disabled by ACPI [ 403.791949] serial 00:03: activated [ 403.793332] serial 00:04: activated [ 403.800245] pcieport 0000:00:1c.2: System wakeup disabled by ACPI [ 403.800261] pcieport 0000:00:1c.3: System wakeup disabled by ACPI [ 403.828004] [drm] PCIE GART of 8192M enabled (table at 0x0000000000040000). [ 403.831686] DPM is already running [ 403.841652] [drm] ring test on 0 succeeded in 14 usecs [ 403.860221] igb 0000:05:00.0 enp5s0: igb: enp5s0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX [ 404.100306] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 404.100332] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300) [ 404.102286] ata3.00: supports DRM functions and may not be fully accessible [ 404.105189] ata4.00: configured for UDMA/100 [ 404.107085] ata3.00: disabling queued TRIM support [ 404.107348] ata3.00: supports DRM functions and may not be fully accessible [ 404.108258] ata1: SATA link down (SStatus 0 SControl 300) [ 404.108263] ata8: SATA link down (SStatus 0 SControl 300) [ 404.108481] ata7: SATA link down (SStatus 0 SControl 300) [ 404.109098] ata2: SATA link down (SStatus 0 SControl 300) [ 404.109101] ata10: SATA link down (SStatus 0 SControl 300) [ 404.109118] ata9: SATA link down (SStatus 0 SControl 300) [ 404.109137] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 404.109165] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 404.112123] ata3.00: disabling queued TRIM support [ 404.112190] ata3.00: configured for UDMA/133 [ 405.194437] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 1 test failed (scratch(0xC040)=0xCAFEDEAD) [ 405.344148] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 2 test failed (scratch(0xC040)=0xCAFEDEAD) [ 405.493818] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 3 test failed (scratch(0xC040)=0xCAFEDEAD) [ 405.643453] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 4 test failed (scratch(0xC040)=0xCAFEDEAD) [ 405.793096] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 5 test failed (scratch(0xC040)=0xCAFEDEAD) [ 405.942823] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 6 test failed (scratch(0xC040)=0xCAFEDEAD) [ 406.092469] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 7 test failed (scratch(0xC040)=0xCAFEDEAD) [ 406.242085] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 8 test failed (scratch(0xC040)=0xCAFEDEAD) [ 406.352370] [drm:sdma_v3_0_ring_test_ring] *ERROR* amdgpu: ring 9 test failed (0xCAFEDEAD) [ 406.352375] [drm:amdgpu_resume] *ERROR* resume of IP block <sdma_v3_0> failed -22 [ 406.352378] [drm:amdgpu_device_resume] *ERROR* amdgpu_resume failed (-22). [ 407.382569] [drm:gfx_v8_0_ring_test_ib] *ERROR* amdgpu: IB test timed out. [ 407.382578] [drm:amdgpu_ib_ring_tests] *ERROR* amdgpu: failed testing IB on GFX ring (-110). [ 407.382583] [drm:amdgpu_device_resume] *ERROR* ib ring test failed (-110). [ 407.383927] amdgpu 0000:02:00.0: ffff9e2a95b8c800 pin failed [ 407.485003] [drm] PCIE GART of 8192M enabled (table at 0x0000000000040000). [ 407.488228] DPM is already running [ 407.498215] [drm] ring test on 0 succeeded in 14 usecs [ 408.812575] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 1 test failed (scratch(0xC040)=0xCAFEDEAD) [ 408.958365] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 2 test failed (scratch(0xC040)=0xCAFEDEAD) [ 409.104163] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 3 test failed (scratch(0xC040)=0xCAFEDEAD) [ 409.249957] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 4 test failed (scratch(0xC040)=0xCAFEDEAD) [ 409.302502] ata5.00: qc timeout (cmd 0x27) [ 409.302511] ata5.00: failed to read native max address (err_mask=0x4) [ 409.302512] ata5.00: HPA support seems broken, skipping HPA handling [ 409.302513] ata5.00: revalidation failed (errno=-5) [ 409.302532] ata6.00: qc timeout (cmd 0x27) [ 409.302547] ata6.00: failed to read native max address (err_mask=0x4) [ 409.302547] ata6.00: HPA support seems broken, skipping HPA handling [ 409.302549] ata6.00: revalidation failed (errno=-5) [ 409.395817] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 5 test failed (scratch(0xC040)=0xCAFEDEAD) [ 409.541885] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 6 test failed (scratch(0xC040)=0xCAFEDEAD) [ 409.612503] ata6: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 409.612522] ata5: SATA link up 6.0 Gbps (SStatus 133 SControl 300) [ 409.688150] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 7 test failed (scratch(0xC040)=0xCAFEDEAD) [ 409.833942] [drm:gfx_v8_0_ring_test_ring] *ERROR* amdgpu: ring 8 test failed (scratch(0xC040)=0xCAFEDEAD) [ 409.941052] [drm:sdma_v3_0_ring_test_ring] *ERROR* amdgpu: ring 9 test failed (0xCAFEDEAD) [ 409.941056] [drm:amdgpu_resume] *ERROR* resume of IP block <sdma_v3_0> failed -22 [ 409.941059] [drm:amdgpu_device_resume] *ERROR* amdgpu_resume failed (-22). [ 410.966532] [drm:gfx_v8_0_ring_test_ib] *ERROR* amdgpu: IB test timed out. [ 410.966538] [drm:amdgpu_ib_ring_tests] *ERROR* amdgpu: failed testing IB on GFX ring (-110). [ 410.966542] [drm:amdgpu_device_resume] *ERROR* ib ring test failed (-110). [ 412.778325] ata5.00: configured for UDMA/133 [ 413.199270] ata6.00: configured for UDMA/133 [ 413.224981] PM: resume of devices complete after 9438.159 msecs [ 413.246606] PM: Finishing wakeup. [ 413.246607] Restarting tasks ... done. [ 414.077743] amdgpu 0000:02:00.0: couldn't schedule ib on ring <sdma0> [ 414.077755] [drm:amdgpu_job_run] *ERROR* Error scheduling IBs (-22) [ 414.077757] [drm:amd_sched_main] *ERROR* Failed to run job! [ 414.077766] amdgpu 0000:02:00.0: couldn't schedule ib on ring <sdma0> [ 414.077768] [drm:amdgpu_job_run] *ERROR* Error scheduling IBs (-22) [ 414.077769] [drm:amd_sched_main] *ERROR* Failed to run job! [ 414.077940] amdgpu 0000:02:00.0: ffff9e2a95b8b000 pin failed [ 414.077948] [drm:amdgpu_crtc_page_flip_target] *ERROR* failed to pin new abo buffer before flip [ 414.078163] amdgpu 0000:02:00.0: ffff9e2a903f0800 pin failed [ 414.078167] [drm:amdgpu_crtc_page_flip_target] *ERROR* failed to pin new abo buffer before flip I have two amdgpu devices in my system: 02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] (rev c7) (prog-if 00 [VGA controller]) 02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aaf0 03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480] (rev c7) (prog-if 00 [VGA controller]) 03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device aaf0 -- You are receiving this mail because: You are watching the assignee of the bug. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel