Bug 205827

Summary: drm:drm_atomic_helper_wait_for_dependencies - drm_kms_helper - flip_done timed out
Product: Drivers Reporter: sander44 (ionut_n2001)
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: RESOLVED UNREPRODUCIBLE    
Severity: normal    
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.3.13-vanilla Subsystem:
Regression: No Bisected commit-id:
Attachments: inspect dmesg logs for drm error

Description sander44 2019-12-10 17:34:35 UTC
Created attachment 286245 [details]
inspect dmesg logs for drm error

Hi,

I compiled new kernel on my machine, this version 5.3.13.
And wait 2-3 days for inspect error with dmesg and appear error with drm.

[105790.812641] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[105801.052698] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out
[157144.794587] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[157155.034746] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out
[178642.290388] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[178652.530562] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out
[215497.863723] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[215508.103790] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out
[275188.513449] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[275198.753543] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out

I use VMware ESXi for hypervisor.
Comment 1 sander44 2020-05-31 11:47:31 UTC
Hi Kernel Team,

I retested with new version kernel, and this issue appear.

dmesg | grep drm
[    4.080480] [drm] DMA map mode: Caching DMA mappings.
[    4.080866] [drm] Capabilities:
[    4.081078] [drm]   Rect copy.
[    4.081389] [drm]   Cursor.
[    4.081671] [drm]   Cursor bypass.
[    4.081673] [drm]   Cursor bypass 2.
[    4.081961] [drm]   8bit emulation.
[    4.081964] [drm]   Alpha cursor.
[    4.082213] [drm]   Extended Fifo.
[    4.082215] [drm]   Multimon.
[    4.082396] [drm]   Pitchlock.
[    4.082398] [drm]   Irq mask.
[    4.082733] [drm]   Display Topology.
[    4.082736] [drm]   GMR.
[    4.082912] [drm]   Traces.
[    4.082914] [drm]   GMR2.
[    4.083205] [drm]   Screen Object 2.
[    4.083207] [drm]   Command Buffers.
[    4.083417] [drm]   Command Buffers 2.
[    4.083419] [drm]   Guest Backed Resources.
[    4.083712] [drm]   DX Features.
[    4.083714] [drm]   HP Command Queue.
[    4.083914] [drm] Capabilities2:
[    4.084070] [drm]   Grow oTable.
[    4.084404] [drm]   IntraSurface copy.
[    4.084406] [drm] Max GMR ids is 64
[    4.084592] [drm] Max number of GMR pages is 65536
[    4.084593] [drm] Max dedicated hypervisor surface memory is 0 kiB
[    4.084888] [drm] Maximum display memory size is 16384 kiB
[    4.084890] [drm] VRAM at 0xe8000000 size is 4096 kiB
[    4.085137] [drm] MMIO at 0xfe000000 size is 256 kiB
[    4.086031] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.087545] [drm] No driver support for vblank timestamp query.
[    4.087682] [drm] Screen Target Display device initialized
[    4.087779] [drm] width 640
[    4.087827] [drm] height 480
[    4.087875] [drm] bpp 32
[    4.096688] [drm] Fifo max 0x00040000 min 0x00001000 cap 0x0000077f
[    4.097696] [drm] Using command buffers with DMA pool.
[    4.097772] [drm] DX: no.
[    4.097813] [drm] Atomic: yes.
[    4.098144] [drm] SM4_1: no.
[    4.100942] fbcon: svgadrmfb (fb0) is primary device
[    4.112518] [drm] Initialized vmwgfx 2.17.0 20200114 for 0000:00:0f.0 on minor 0
[484415.570337] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [CRTC:38:crtc-0] flip_done timed out
[484425.810398] [drm:drm_atomic_helper_wait_for_dependencies [drm_kms_helper]] *ERROR* [PLANE:34:plane-0] flip_done timed out

5.6.14-vanilla
Comment 2 sander44 2020-06-02 08:00:20 UTC
Hi Kernel Team,

I tried with the new kernel version, and the problem no longer appears.
Issue seems to be gone.
I used the new kernel version: 5.7.0

It is ok to close this ticket.

Thank you for solving it.

A good day.