<div>Dear All,</div><div>I use AMD GPU wx5100 for rendering and sometimes some processes enter the D state , </div><div>I checked the dmesg log and the first error log show it is waiting for the fence:</div><div><div>2019-07-02T06:46:12.144409+08:00|err|kernel[-]|[1748923.714105] INFO: task Binder:2577_7:147603 blocked for more than 120 seconds.</div><div>2019-07-02T06:46:12.144434+08:00|err|kernel[-]|[1748923.714107] Tainted: P OE 4.19.36-1.2.159.aarch64 #1</div><div>2019-07-02T06:46:12.144460+08:00|err|kernel[-]|[1748923.714108] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.</div><div>2019-07-02T06:46:12.144484+08:00|info|kernel[-]|[1748923.714110] Binder:2577_7 D 0 147603 240764 0x0040002d</div><div>2019-07-02T06:46:12.144508+08:00|warning|kernel[-]|[1748923.714114] Call trace:</div><div>2019-07-02T06:46:12.144531+08:00|warning|kernel[-]|[1748923.714115] __switch_to+0x94/0xe8</div><div>2019-07-02T06:46:12.144568+08:00|warning|kernel[-]|[1748923.714119] __schedule+0x28c/0x940</div><div>2019-07-02T06:46:12.144593+08:00|warning|kernel[-]|[1748923.714120] schedule+0x2c/0x88</div><div>2019-07-02T06:46:12.144616+08:00|warning|kernel[-]|[1748923.714122] schedule_timeout+0x22c/0x468</div><div>2019-07-02T06:46:12.144639+08:00|warning|kernel[-]|[1748923.714126] dma_fence_wait_any_timeout+0x234/0x2d0</div><div>2019-07-02T06:46:12.144663+08:00|warning|kernel[-]|[1748923.714201] amdgpu_sa_bo_new+0x3b0/0x548 [amdgpu]</div><div>2019-07-02T06:46:12.144687+08:00|warning|kernel[-]|[1748923.714263] amdgpu_ib_get+0x60/0xc8 [amdgpu]</div><div>2019-07-02T06:46:12.144711+08:00|warning|kernel[-]|[1748923.714329] amdgpu_job_alloc_with_ib+0x70/0xb0 [amdgpu]</div><div>2019-07-02T06:46:12.144735+08:00|warning|kernel[-]|[1748923.714390] amdgpu_vm_bo_update_mapping+0x2c0/0x3b0 [amdgpu]</div><div>2019-07-02T06:46:12.144763+08:00|warning|kernel[-]|[1748923.714453] amdgpu_vm_clear_freed+0xd8/0x1c8 [amdgpu]</div><div>2019-07-02T06:46:12.144787+08:00|warning|kernel[-]|[1748923.714513] amdgpu_gem_object_close+0x178/0x1d0 [amdgpu]</div><div>2019-07-02T06:46:12.144810+08:00|warning|kernel[-]|[1748923.714538] drm_gem_object_release_handle+0x3c/0x98 [drm]</div><div>2019-07-02T06:46:12.144834+08:00|warning|kernel[-]|[1748923.714542] idr_for_each+0x70/0x128</div><div><div>2019-07-02T06:46:12.144908+08:00|warning|kernel[-]|[1748923.714610] drm_release+0xb0/0x138 [drm]</div><div>2019-07-02T06:46:12.144931+08:00|warning|kernel[-]|[1748923.714612] __fput+0xac/0x218</div><div>2019-07-02T06:46:12.144955+08:00|warning|kernel[-]|[1748923.714614] ____fput+0x20/0x30</div><div>2019-07-02T06:46:12.144978+08:00|warning|kernel[-]|[1748923.714617] task_work_run+0xc0/0xf8</div><div>2019-07-02T06:46:12.145006+08:00|warning|kernel[-]|[1748923.714619] do_exit+0x300/0x5b0</div><div>2019-07-02T06:46:12.145030+08:00|warning|kernel[-]|[1748923.714621] do_group_exit+0x3c/0xe0</div><div>2019-07-02T06:46:12.145054+08:00|warning|kernel[-]|[1748923.714623] get_signal+0x12c/0x6e0</div><div>2019-07-02T06:46:12.145077+08:00|warning|kernel[-]|[1748923.714625] do_signal+0x180/0x288</div><div>2019-07-02T06:46:12.145101+08:00|warning|kernel[-]|[1748923.714628] do_notify_resume+0x100/0x188</div><div>2019-07-02T06:46:12.145124+08:00|warning|kernel[-]|[1748923.714630] work_pending+0x8/0x10</div></div><div><br></div><div>Before this log , there is no any error log like "gfx timeout" or other, so , maybe it is not a GPU hang?</div><div><br></div><div><div>My software's version:</div><div>Ubuntu18.04.1</div><div>Mesa:18.3.4</div><div>LLVM:7.0</div><div>Kernel:4.19.36</div></div><div><br></div><div>Can you explain this , or how to debug this problem?</div><div><br></div><div>Thanks!</div><div></div></div>