All of lore.kernel.org
 help / color / mirror / Atom feed
* imx-drm: vblank wait timed out
@ 2017-03-31 10:44 ` Christian Gmeiner
  0 siblings, 0 replies; 14+ messages in thread
From: Christian Gmeiner @ 2017-03-31 10:44 UTC (permalink / raw)
  To: LKML; +Cc: DRI mailing list, Philipp Zabel

Hi

I get this from time to time on a 4.9.17 kernel:

[    3.353387] ------------[ cut here ]------------
[    3.353408] WARNING: CPU: 0 PID: 1 at
drivers/gpu/drm/drm_atomic_helper.c:1140
drm_atomic_helper_wait_for_vblanks+0x240/0x244
[    3.353412] [CRTC:24] vblank wait timed out
[    3.353420] Modules linked in:
[    3.353431] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.17 #1
[    3.353435] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[    3.353442] Backtrace:
[    3.353458] [<c010d324>] (dump_backtrace) from [<c010d654>]
(show_stack+0x20/0x24)
[    3.353468]  r6:c0c47dac r5:60000013 r4:00000000 r3:00040911
[    3.353483] [<c010d634>] (show_stack) from [<c0408488>]
(dump_stack+0x90/0xa4)
[    3.353499] [<c04083f8>] (dump_stack) from [<c0124d48>] (__warn+0xf8/0x110)
[    3.353507]  r7:00000009 r6:c099d51c r5:00000000 r4:ef0b3670
[    3.353517] [<c0124c50>] (__warn) from [<c0124da8>]
(warn_slowpath_fmt+0x48/0x50)
[    3.353526]  r9:d9164c18 r8:d9164400 r7:00000000 r6:d9169c00
r5:d91520c0 r4:c099d638
[    3.353536] [<c0124d64>] (warn_slowpath_fmt) from [<c04bdd0c>]
(drm_atomic_helper_wait_for_vblanks+0x240/0x244)
[    3.353542]  r3:00000018 r2:c099d638
[    3.353546]  r4:00000000
[    3.353559] [<c04bdacc>] (drm_atomic_helper_wait_for_vblanks) from
[<c04e9804>] (imx_drm_atomic_commit_tail+0x58/0x68)
[    3.353568]  r10:d9164400 r9:ef378d80 r8:c0c63991 r7:d9164400
r6:00000000 r5:d9164400
[    3.353572]  r4:d91520c0
[    3.353584] [<c04e97ac>] (imx_drm_atomic_commit_tail) from
[<c04be48c>] (commit_tail+0x50/0x6c)
[    3.353589]  r5:c0c4fff4 r4:d91520c0
[    3.353600] [<c04be43c>] (commit_tail) from [<c04c0444>]
(drm_atomic_helper_commit+0x9c/0xe4)
[    3.353605]  r5:00000000 r4:d91520c0
[    3.353614] [<c04c03a8>] (drm_atomic_helper_commit) from
[<c04e9920>] (imx_drm_atomic_commit+0x10c/0x148)
[    3.353622]  r7:d91520c0 r6:ef2f2400 r5:d91520c0 r4:00000006
[    3.353636] [<c04e9814>] (imx_drm_atomic_commit) from [<c04e071c>]
(drm_atomic_commit+0x64/0x68)
[    3.353646]  r10:d9164400 r9:ef378d80 r8:d916463c r7:d91520c0
r6:d9164400 r5:d91520c0
[    3.353650]  r4:00000000
[    3.353662] [<c04e06b8>] (drm_atomic_commit) from [<c04c3cf0>]
(restore_fbdev_mode+0x150/0x298)
[    3.353670]  r6:00000004 r5:0000003f r4:000000a0 r3:00000004
[    3.353682] [<c04c3ba0>] (restore_fbdev_mode) from [<c04c439c>]
(drm_fb_helper_restore_fbdev_mode_unlocked+0x40/0x84)
[    3.353692]  r10:c0c4898c r9:ef024800 r8:d916ac00 r7:c0cf03bc
r6:d9164400 r5:d9165c00
[    3.353696]  r4:ef378d80
[    3.353707] [<c04c435c>]
(drm_fb_helper_restore_fbdev_mode_unlocked) from [<c04c4254>]
(drm_fb_helper_set_par+0x40/0x70)
[    3.353715]  r6:00000000 r5:d9165c00 r4:00000000 r3:00000000
[    3.353730] [<c04c4214>] (drm_fb_helper_set_par) from [<c044de40>]
(fbcon_init+0x574/0x5c0)
[    3.353736]  r4:ef024800 r3:00000002
[    3.353749] [<c044d8cc>] (fbcon_init) from [<c0491914>]
(visual_init+0xd0/0x118)
[    3.353760]  r10:00000000 r9:c0994d34 r8:ef024800 r7:c0cf302c
r6:ef024918 r5:00000000
[    3.353763]  r4:ef024800
[    3.353776] [<c0491844>] (visual_init) from [<c0493998>]
(do_bind_con_driver+0x184/0x3b8)
[    3.353782]  r6:c0cf2f18 r5:00000000 r4:c0837c20 r3:c0cf302c
[    3.353792] [<c0493814>] (do_bind_con_driver) from [<c0493ffc>]
(do_take_over_console+0x180/0x1f4)
[    3.353802]  r10:c0cf2f28 r9:00000001 r8:0000003e r7:00000000
r6:00000000 r5:c0c4bb9c
[    3.353806]  r4:00000000
[    3.353816] [<c0493e7c>] (do_take_over_console) from [<c044df20>]
(do_fbcon_takeover+0x94/0xf0)
[    3.353825]  r10:d9165e2c r9:d902c44c r8:00000000 r7:c0cf23b4
r6:c0c4898c r5:c0cf23b4
[    3.353828]  r4:c0c4898c
[    3.353838] [<c044de8c>] (do_fbcon_takeover) from [<c044ed68>]
(fbcon_event_notify+0x938/0x974)
[    3.353846]  r6:00000005 r5:ef0b3a28 r4:c0c4898c r3:00000000
[    3.353861] [<c044e430>] (fbcon_event_notify) from [<c0146d74>]
(notifier_call_chain+0x54/0x94)
[    3.353870]  r10:d9165e2c r9:d902c44c r8:00000000 r7:ffffffff
r6:00000005 r5:ef0b3a28
[    3.353873]  r4:ffffffff
[    3.353885] [<c0146d20>] (notifier_call_chain) from [<c01471f4>]
(__blocking_notifier_call_chain+0x58/0x70)
[    3.353895]  r9:d9165c0c r8:c0cf21e0 r7:00000005 r6:ef0b3a28
r5:c0c48c4c r4:ffffffff
[    3.353905] [<c014719c>] (__blocking_notifier_call_chain) from
[<c0147234>] (blocking_notifier_call_chain+0x28/0x30)
[    3.353911]  r7:00000000 r6:c0c04b24 r5:d9165c00 r4:c0c04b24
[    3.353924] [<c014720c>] (blocking_notifier_call_chain) from
[<c0452af8>] (fb_notifier_call_chain+0x2c/0x30)
[    3.353936] [<c0452acc>] (fb_notifier_call_chain) from [<c0454890>]
(register_framebuffer+0x1f8/0x2b4)
[    3.353948] [<c0454698>] (register_framebuffer) from [<c04c4640>]
(drm_fb_helper_initial_config+0x260/0x410)
[    3.353958]  r10:d9130940 r9:ef6eaf54 r8:ef378ee0 r7:d9165c00
r6:00000004 r5:c0c4f754
[    3.353962]  r4:ef378d80
[    3.353973] [<c04c43e0>] (drm_fb_helper_initial_config) from
[<c04c4f98>] (drm_fbdev_cma_init_with_funcs+0x90/0x108)
[    3.353982]  r9:ef6eaf54 r8:00000010 r7:00000004 r6:d9164400
r5:00000000 r4:ef378d80
[    3.353993] [<c04c4f08>] (drm_fbdev_cma_init_with_funcs) from
[<c04c5038>] (drm_fbdev_cma_init+0x28/0x30)
[    3.354002]  r8:d914a990 r7:ef21f810 r6:00000000 r5:c0c4fea0
r4:d9164400 r3:00000004
[    3.354012] [<c04c5010>] (drm_fbdev_cma_init) from [<c04e9aa4>]
(imx_drm_bind+0x100/0x19c)
[    3.354026] [<c04e99a4>] (imx_drm_bind) from [<c04f9dec>]
(try_to_bring_up_master+0x230/0x294)
[    3.354036]  r8:c0c50330 r7:d9130910 r6:00000008 r5:000000a0
r4:d91309c0 r3:c04e99a4
[    3.354045] [<c04f9bbc>] (try_to_bring_up_master) from [<c04f9f14>]
(component_add+0xc4/0x174)
[    3.354053]  r10:00000000 r9:c0cf4344 r8:00000000 r7:d914a640
r6:c0c50328 r5:00000000
[    3.354058]  r4:d9130940
[    3.354070] [<c04f9e50>] (component_add) from [<c04eb854>]
(ipu_drm_probe+0x68/0x74)
[    3.354077]  r7:00000000 r6:ffffffff r5:d9168810 r4:d9168920
[    3.354088] [<c04eb7ec>] (ipu_drm_probe) from [<c05012b8>]
(platform_drv_probe+0x5c/0xc0)
[    3.354095]  r7:fffffdfb r6:c0c50084 r5:d9168810 r4:c0cf4368
[    3.354111] [<c050125c>] (platform_drv_probe) from [<c04ff5b0>]
(driver_probe_device+0x234/0x438)
[    3.354118]  r7:00000000 r6:c0c50084 r5:d9168810 r4:c0cf4368
[    3.354131] [<c04ff37c>] (driver_probe_device) from [<c04ff9b8>]
(__device_attach_driver+0xac/0x10c)
[    3.354140]  r8:00000000 r7:ef0b3c60 r6:c0c50084 r5:d9168810 r4:00000001
[    3.354153] [<c04ff90c>] (__device_attach_driver) from [<c04fd380>]
(bus_for_each_drv+0x74/0xa8)
[    3.354159]  r7:00000001 r6:c04ff90c r5:ef0b3c60 r4:00000000
[    3.354171] [<c04fd30c>] (bus_for_each_drv) from [<c04ff1e0>]
(__device_attach+0xc0/0x144)
[    3.354178]  r6:c0c50638 r5:d9168844 r4:d9168810
[    3.354189] [<c04ff120>] (__device_attach) from [<c04ffb84>]
(device_initial_probe+0x1c/0x20)
[    3.354197]  r7:d9168810 r6:c0c50638 r5:d9168810 r4:d9168818
[    3.354209] [<c04ffb68>] (device_initial_probe) from [<c04fe5f4>]
(bus_probe_device+0x94/0x9c)
[    3.354221] [<c04fe560>] (bus_probe_device) from [<c04fc3b4>]
(device_add+0x448/0x5e8)
[    3.354228]  r6:c0c0300c r5:ef21f610 r4:d9168818 r3:00000001
[    3.354239] [<c04fbf6c>] (device_add) from [<c0500f58>]
(platform_device_add+0xbc/0x258)
[    3.354248]  r10:c0c501fc r9:d9164010 r8:00000008 r7:00000003
r6:d9168810 r5:d9168800
[    3.354251]  r4:00000000
[    3.354266] [<c0500e9c>] (platform_device_add) from [<c04ef428>]
(ipu_probe+0x9c4/0xb44)
[    3.354273]  r7:00000003 r6:d9168800 r5:ef21f610 r4:ef6f4a54
[    3.354284] [<c04eea64>] (ipu_probe) from [<c05012b8>]
(platform_drv_probe+0x5c/0xc0)
[    3.354293]  r10:00000000 r9:c0b3872c r8:00000000 r7:fffffdfb
r6:c0c5013c r5:ef21f610
[    3.354297]  r4:c0cf4368
[    3.354307] [<c050125c>] (platform_drv_probe) from [<c04ff5b0>]
(driver_probe_device+0x234/0x438)
[    3.354314]  r7:00000000 r6:c0c5013c r5:ef21f610 r4:c0cf4368
[    3.354326] [<c04ff37c>] (driver_probe_device) from [<c04ff8b8>]
(__driver_attach+0x104/0x110)
[    3.354334]  r8:c0c0300c r7:00000000 r6:c0c5013c r5:ef21f610 r4:ef21f644
[    3.354345] [<c04ff7b4>] (__driver_attach) from [<c04fd2ac>]
(bus_for_each_dev+0x7c/0xb0)
[    3.354352]  r6:c04ff7b4 r5:c0c5013c r4:00000000 r3:c04ff7b4
[    3.354361] [<c04fd230>] (bus_for_each_dev) from [<c04fee50>]
(driver_attach+0x2c/0x30)
[    3.354368]  r6:d9144400 r5:c0c50638 r4:c0c5013c
[    3.354378] [<c04fee24>] (driver_attach) from [<c04fe8f0>]
(bus_add_driver+0x1a8/0x288)
[    3.354389] [<c04fe748>] (bus_add_driver) from [<c04fffe8>]
(driver_register+0x88/0x108)
[    3.354396]  r7:c0c87000 r6:c0c87000 r5:00000006 r4:c0c5013c
[    3.354405] [<c04fff60>] (driver_register) from [<c0501208>]
(__platform_driver_register+0x50/0x58)
[    3.354410]  r5:00000006 r4:c0b7acbc
[    3.354423] [<c05011b8>] (__platform_driver_register) from
[<c0b38748>] (imx_ipu_driver_init+0x1c/0x20)
[    3.354438] [<c0b3872c>] (imx_ipu_driver_init) from [<c0101c5c>]
(do_one_initcall+0x60/0x1a4)
[    3.354449] [<c0101bfc>] (do_one_initcall) from [<c0b00f54>]
(kernel_init_freeable+0x1dc/0x280)
[    3.354458]  r10:c0b53834 r9:c0b00614 r8:000000b2 r7:c0c87000
r6:c0c87000 r5:00000006
[    3.354463]  r4:c0b7acbc
[    3.354478] [<c0b00d78>] (kernel_init_freeable) from [<c0726304>]
(kernel_init+0x18/0x124)
[    3.354489]  r10:00000000 r9:00000000 r8:00000000 r7:00000000
r6:00000000 r5:c07262ec
[    3.354492]  r4:00000000
[    3.354505] [<c07262ec>] (kernel_init) from [<c0108cb8>]
(ret_from_fork+0x14/0x3c)
[    3.354512]  r4:00000000 r3:ef0b2000
[    3.354522] ---[ end trace c989c9799ce50c81 ]---
[   13.933409] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   24.173410] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   24.175555] Console: switching to colour frame buffer device 80x30
[   34.413391] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   35.599871] imx-drm display-subsystem: fb0:  frame buffer device
[   35.644112] imx-ipuv3 2800000.ipu: IPUv3H probed
[   35.668348] loop: module loaded

greets
--
Christian Gmeiner, MSc

https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner

^ permalink raw reply	[flat|nested] 14+ messages in thread

* imx-drm: vblank wait timed out
@ 2017-03-31 10:44 ` Christian Gmeiner
  0 siblings, 0 replies; 14+ messages in thread
From: Christian Gmeiner @ 2017-03-31 10:44 UTC (permalink / raw)
  To: LKML; +Cc: DRI mailing list

Hi

I get this from time to time on a 4.9.17 kernel:

[    3.353387] ------------[ cut here ]------------
[    3.353408] WARNING: CPU: 0 PID: 1 at
drivers/gpu/drm/drm_atomic_helper.c:1140
drm_atomic_helper_wait_for_vblanks+0x240/0x244
[    3.353412] [CRTC:24] vblank wait timed out
[    3.353420] Modules linked in:
[    3.353431] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.17 #1
[    3.353435] Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[    3.353442] Backtrace:
[    3.353458] [<c010d324>] (dump_backtrace) from [<c010d654>]
(show_stack+0x20/0x24)
[    3.353468]  r6:c0c47dac r5:60000013 r4:00000000 r3:00040911
[    3.353483] [<c010d634>] (show_stack) from [<c0408488>]
(dump_stack+0x90/0xa4)
[    3.353499] [<c04083f8>] (dump_stack) from [<c0124d48>] (__warn+0xf8/0x110)
[    3.353507]  r7:00000009 r6:c099d51c r5:00000000 r4:ef0b3670
[    3.353517] [<c0124c50>] (__warn) from [<c0124da8>]
(warn_slowpath_fmt+0x48/0x50)
[    3.353526]  r9:d9164c18 r8:d9164400 r7:00000000 r6:d9169c00
r5:d91520c0 r4:c099d638
[    3.353536] [<c0124d64>] (warn_slowpath_fmt) from [<c04bdd0c>]
(drm_atomic_helper_wait_for_vblanks+0x240/0x244)
[    3.353542]  r3:00000018 r2:c099d638
[    3.353546]  r4:00000000
[    3.353559] [<c04bdacc>] (drm_atomic_helper_wait_for_vblanks) from
[<c04e9804>] (imx_drm_atomic_commit_tail+0x58/0x68)
[    3.353568]  r10:d9164400 r9:ef378d80 r8:c0c63991 r7:d9164400
r6:00000000 r5:d9164400
[    3.353572]  r4:d91520c0
[    3.353584] [<c04e97ac>] (imx_drm_atomic_commit_tail) from
[<c04be48c>] (commit_tail+0x50/0x6c)
[    3.353589]  r5:c0c4fff4 r4:d91520c0
[    3.353600] [<c04be43c>] (commit_tail) from [<c04c0444>]
(drm_atomic_helper_commit+0x9c/0xe4)
[    3.353605]  r5:00000000 r4:d91520c0
[    3.353614] [<c04c03a8>] (drm_atomic_helper_commit) from
[<c04e9920>] (imx_drm_atomic_commit+0x10c/0x148)
[    3.353622]  r7:d91520c0 r6:ef2f2400 r5:d91520c0 r4:00000006
[    3.353636] [<c04e9814>] (imx_drm_atomic_commit) from [<c04e071c>]
(drm_atomic_commit+0x64/0x68)
[    3.353646]  r10:d9164400 r9:ef378d80 r8:d916463c r7:d91520c0
r6:d9164400 r5:d91520c0
[    3.353650]  r4:00000000
[    3.353662] [<c04e06b8>] (drm_atomic_commit) from [<c04c3cf0>]
(restore_fbdev_mode+0x150/0x298)
[    3.353670]  r6:00000004 r5:0000003f r4:000000a0 r3:00000004
[    3.353682] [<c04c3ba0>] (restore_fbdev_mode) from [<c04c439c>]
(drm_fb_helper_restore_fbdev_mode_unlocked+0x40/0x84)
[    3.353692]  r10:c0c4898c r9:ef024800 r8:d916ac00 r7:c0cf03bc
r6:d9164400 r5:d9165c00
[    3.353696]  r4:ef378d80
[    3.353707] [<c04c435c>]
(drm_fb_helper_restore_fbdev_mode_unlocked) from [<c04c4254>]
(drm_fb_helper_set_par+0x40/0x70)
[    3.353715]  r6:00000000 r5:d9165c00 r4:00000000 r3:00000000
[    3.353730] [<c04c4214>] (drm_fb_helper_set_par) from [<c044de40>]
(fbcon_init+0x574/0x5c0)
[    3.353736]  r4:ef024800 r3:00000002
[    3.353749] [<c044d8cc>] (fbcon_init) from [<c0491914>]
(visual_init+0xd0/0x118)
[    3.353760]  r10:00000000 r9:c0994d34 r8:ef024800 r7:c0cf302c
r6:ef024918 r5:00000000
[    3.353763]  r4:ef024800
[    3.353776] [<c0491844>] (visual_init) from [<c0493998>]
(do_bind_con_driver+0x184/0x3b8)
[    3.353782]  r6:c0cf2f18 r5:00000000 r4:c0837c20 r3:c0cf302c
[    3.353792] [<c0493814>] (do_bind_con_driver) from [<c0493ffc>]
(do_take_over_console+0x180/0x1f4)
[    3.353802]  r10:c0cf2f28 r9:00000001 r8:0000003e r7:00000000
r6:00000000 r5:c0c4bb9c
[    3.353806]  r4:00000000
[    3.353816] [<c0493e7c>] (do_take_over_console) from [<c044df20>]
(do_fbcon_takeover+0x94/0xf0)
[    3.353825]  r10:d9165e2c r9:d902c44c r8:00000000 r7:c0cf23b4
r6:c0c4898c r5:c0cf23b4
[    3.353828]  r4:c0c4898c
[    3.353838] [<c044de8c>] (do_fbcon_takeover) from [<c044ed68>]
(fbcon_event_notify+0x938/0x974)
[    3.353846]  r6:00000005 r5:ef0b3a28 r4:c0c4898c r3:00000000
[    3.353861] [<c044e430>] (fbcon_event_notify) from [<c0146d74>]
(notifier_call_chain+0x54/0x94)
[    3.353870]  r10:d9165e2c r9:d902c44c r8:00000000 r7:ffffffff
r6:00000005 r5:ef0b3a28
[    3.353873]  r4:ffffffff
[    3.353885] [<c0146d20>] (notifier_call_chain) from [<c01471f4>]
(__blocking_notifier_call_chain+0x58/0x70)
[    3.353895]  r9:d9165c0c r8:c0cf21e0 r7:00000005 r6:ef0b3a28
r5:c0c48c4c r4:ffffffff
[    3.353905] [<c014719c>] (__blocking_notifier_call_chain) from
[<c0147234>] (blocking_notifier_call_chain+0x28/0x30)
[    3.353911]  r7:00000000 r6:c0c04b24 r5:d9165c00 r4:c0c04b24
[    3.353924] [<c014720c>] (blocking_notifier_call_chain) from
[<c0452af8>] (fb_notifier_call_chain+0x2c/0x30)
[    3.353936] [<c0452acc>] (fb_notifier_call_chain) from [<c0454890>]
(register_framebuffer+0x1f8/0x2b4)
[    3.353948] [<c0454698>] (register_framebuffer) from [<c04c4640>]
(drm_fb_helper_initial_config+0x260/0x410)
[    3.353958]  r10:d9130940 r9:ef6eaf54 r8:ef378ee0 r7:d9165c00
r6:00000004 r5:c0c4f754
[    3.353962]  r4:ef378d80
[    3.353973] [<c04c43e0>] (drm_fb_helper_initial_config) from
[<c04c4f98>] (drm_fbdev_cma_init_with_funcs+0x90/0x108)
[    3.353982]  r9:ef6eaf54 r8:00000010 r7:00000004 r6:d9164400
r5:00000000 r4:ef378d80
[    3.353993] [<c04c4f08>] (drm_fbdev_cma_init_with_funcs) from
[<c04c5038>] (drm_fbdev_cma_init+0x28/0x30)
[    3.354002]  r8:d914a990 r7:ef21f810 r6:00000000 r5:c0c4fea0
r4:d9164400 r3:00000004
[    3.354012] [<c04c5010>] (drm_fbdev_cma_init) from [<c04e9aa4>]
(imx_drm_bind+0x100/0x19c)
[    3.354026] [<c04e99a4>] (imx_drm_bind) from [<c04f9dec>]
(try_to_bring_up_master+0x230/0x294)
[    3.354036]  r8:c0c50330 r7:d9130910 r6:00000008 r5:000000a0
r4:d91309c0 r3:c04e99a4
[    3.354045] [<c04f9bbc>] (try_to_bring_up_master) from [<c04f9f14>]
(component_add+0xc4/0x174)
[    3.354053]  r10:00000000 r9:c0cf4344 r8:00000000 r7:d914a640
r6:c0c50328 r5:00000000
[    3.354058]  r4:d9130940
[    3.354070] [<c04f9e50>] (component_add) from [<c04eb854>]
(ipu_drm_probe+0x68/0x74)
[    3.354077]  r7:00000000 r6:ffffffff r5:d9168810 r4:d9168920
[    3.354088] [<c04eb7ec>] (ipu_drm_probe) from [<c05012b8>]
(platform_drv_probe+0x5c/0xc0)
[    3.354095]  r7:fffffdfb r6:c0c50084 r5:d9168810 r4:c0cf4368
[    3.354111] [<c050125c>] (platform_drv_probe) from [<c04ff5b0>]
(driver_probe_device+0x234/0x438)
[    3.354118]  r7:00000000 r6:c0c50084 r5:d9168810 r4:c0cf4368
[    3.354131] [<c04ff37c>] (driver_probe_device) from [<c04ff9b8>]
(__device_attach_driver+0xac/0x10c)
[    3.354140]  r8:00000000 r7:ef0b3c60 r6:c0c50084 r5:d9168810 r4:00000001
[    3.354153] [<c04ff90c>] (__device_attach_driver) from [<c04fd380>]
(bus_for_each_drv+0x74/0xa8)
[    3.354159]  r7:00000001 r6:c04ff90c r5:ef0b3c60 r4:00000000
[    3.354171] [<c04fd30c>] (bus_for_each_drv) from [<c04ff1e0>]
(__device_attach+0xc0/0x144)
[    3.354178]  r6:c0c50638 r5:d9168844 r4:d9168810
[    3.354189] [<c04ff120>] (__device_attach) from [<c04ffb84>]
(device_initial_probe+0x1c/0x20)
[    3.354197]  r7:d9168810 r6:c0c50638 r5:d9168810 r4:d9168818
[    3.354209] [<c04ffb68>] (device_initial_probe) from [<c04fe5f4>]
(bus_probe_device+0x94/0x9c)
[    3.354221] [<c04fe560>] (bus_probe_device) from [<c04fc3b4>]
(device_add+0x448/0x5e8)
[    3.354228]  r6:c0c0300c r5:ef21f610 r4:d9168818 r3:00000001
[    3.354239] [<c04fbf6c>] (device_add) from [<c0500f58>]
(platform_device_add+0xbc/0x258)
[    3.354248]  r10:c0c501fc r9:d9164010 r8:00000008 r7:00000003
r6:d9168810 r5:d9168800
[    3.354251]  r4:00000000
[    3.354266] [<c0500e9c>] (platform_device_add) from [<c04ef428>]
(ipu_probe+0x9c4/0xb44)
[    3.354273]  r7:00000003 r6:d9168800 r5:ef21f610 r4:ef6f4a54
[    3.354284] [<c04eea64>] (ipu_probe) from [<c05012b8>]
(platform_drv_probe+0x5c/0xc0)
[    3.354293]  r10:00000000 r9:c0b3872c r8:00000000 r7:fffffdfb
r6:c0c5013c r5:ef21f610
[    3.354297]  r4:c0cf4368
[    3.354307] [<c050125c>] (platform_drv_probe) from [<c04ff5b0>]
(driver_probe_device+0x234/0x438)
[    3.354314]  r7:00000000 r6:c0c5013c r5:ef21f610 r4:c0cf4368
[    3.354326] [<c04ff37c>] (driver_probe_device) from [<c04ff8b8>]
(__driver_attach+0x104/0x110)
[    3.354334]  r8:c0c0300c r7:00000000 r6:c0c5013c r5:ef21f610 r4:ef21f644
[    3.354345] [<c04ff7b4>] (__driver_attach) from [<c04fd2ac>]
(bus_for_each_dev+0x7c/0xb0)
[    3.354352]  r6:c04ff7b4 r5:c0c5013c r4:00000000 r3:c04ff7b4
[    3.354361] [<c04fd230>] (bus_for_each_dev) from [<c04fee50>]
(driver_attach+0x2c/0x30)
[    3.354368]  r6:d9144400 r5:c0c50638 r4:c0c5013c
[    3.354378] [<c04fee24>] (driver_attach) from [<c04fe8f0>]
(bus_add_driver+0x1a8/0x288)
[    3.354389] [<c04fe748>] (bus_add_driver) from [<c04fffe8>]
(driver_register+0x88/0x108)
[    3.354396]  r7:c0c87000 r6:c0c87000 r5:00000006 r4:c0c5013c
[    3.354405] [<c04fff60>] (driver_register) from [<c0501208>]
(__platform_driver_register+0x50/0x58)
[    3.354410]  r5:00000006 r4:c0b7acbc
[    3.354423] [<c05011b8>] (__platform_driver_register) from
[<c0b38748>] (imx_ipu_driver_init+0x1c/0x20)
[    3.354438] [<c0b3872c>] (imx_ipu_driver_init) from [<c0101c5c>]
(do_one_initcall+0x60/0x1a4)
[    3.354449] [<c0101bfc>] (do_one_initcall) from [<c0b00f54>]
(kernel_init_freeable+0x1dc/0x280)
[    3.354458]  r10:c0b53834 r9:c0b00614 r8:000000b2 r7:c0c87000
r6:c0c87000 r5:00000006
[    3.354463]  r4:c0b7acbc
[    3.354478] [<c0b00d78>] (kernel_init_freeable) from [<c0726304>]
(kernel_init+0x18/0x124)
[    3.354489]  r10:00000000 r9:00000000 r8:00000000 r7:00000000
r6:00000000 r5:c07262ec
[    3.354492]  r4:00000000
[    3.354505] [<c07262ec>] (kernel_init) from [<c0108cb8>]
(ret_from_fork+0x14/0x3c)
[    3.354512]  r4:00000000 r3:ef0b2000
[    3.354522] ---[ end trace c989c9799ce50c81 ]---
[   13.933409] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   24.173410] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   24.175555] Console: switching to colour frame buffer device 80x30
[   34.413391] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   35.599871] imx-drm display-subsystem: fb0:  frame buffer device
[   35.644112] imx-ipuv3 2800000.ipu: IPUv3H probed
[   35.668348] loop: module loaded

greets
--
Christian Gmeiner, MSc

https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
  2017-03-31 10:44 ` Christian Gmeiner
@ 2017-03-31 12:57   ` Philipp Zabel
  -1 siblings, 0 replies; 14+ messages in thread
From: Philipp Zabel @ 2017-03-31 12:57 UTC (permalink / raw)
  To: Christian Gmeiner; +Cc: LKML, DRI mailing list

Hi Christian,

On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner wrote:
> Hi
> 
> I get this from time to time on a 4.9.17 kernel:
> 
> [    3.353387] ------------[ cut here ]------------
> [    3.353408] WARNING: CPU: 0 PID: 1 at
> drivers/gpu/drm/drm_atomic_helper.c:1140
> drm_atomic_helper_wait_for_vblanks+0x240/0x244
> [    3.353412] [CRTC:24] vblank wait timed out
[...]

Do the four patches in
 git://git.pengutronix.de/git/pza/linux.git tags/v4.9-ipu-dp-plane-fix
fix this?

regards
Philipp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
@ 2017-03-31 12:57   ` Philipp Zabel
  0 siblings, 0 replies; 14+ messages in thread
From: Philipp Zabel @ 2017-03-31 12:57 UTC (permalink / raw)
  To: Christian Gmeiner; +Cc: LKML, DRI mailing list

Hi Christian,

On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner wrote:
> Hi
> 
> I get this from time to time on a 4.9.17 kernel:
> 
> [    3.353387] ------------[ cut here ]------------
> [    3.353408] WARNING: CPU: 0 PID: 1 at
> drivers/gpu/drm/drm_atomic_helper.c:1140
> drm_atomic_helper_wait_for_vblanks+0x240/0x244
> [    3.353412] [CRTC:24] vblank wait timed out
[...]

Do the four patches in
 git://git.pengutronix.de/git/pza/linux.git tags/v4.9-ipu-dp-plane-fix
fix this?

regards
Philipp

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
  2017-03-31 12:57   ` Philipp Zabel
@ 2017-04-03 15:16     ` Christian Gmeiner
  -1 siblings, 0 replies; 14+ messages in thread
From: Christian Gmeiner @ 2017-04-03 15:16 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: LKML, DRI mailing list

2017-03-31 14:57 GMT+02:00 Philipp Zabel <p.zabel@pengutronix.de>:
> Hi Christian,
>
> On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner wrote:
>> Hi
>>
>> I get this from time to time on a 4.9.17 kernel:
>>
>> [    3.353387] ------------[ cut here ]------------
>> [    3.353408] WARNING: CPU: 0 PID: 1 at
>> drivers/gpu/drm/drm_atomic_helper.c:1140
>> drm_atomic_helper_wait_for_vblanks+0x240/0x244
>> [    3.353412] [CRTC:24] vblank wait timed out
> [...]
>
> Do the four patches in
>  git://git.pengutronix.de/git/pza/linux.git tags/v4.9-ipu-dp-plane-fix
> fix this?
>

Sadly no - this is what I get after a warm-reboot:

[    2.797368] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops
ipu_crtc_ops)
[    2.804985] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops
ipu_crtc_ops)
[    2.812574] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops
ipu_crtc_ops)
[    2.820170] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops
ipu_crtc_ops)
[    2.828119] imx-drm display-subsystem: bound
2000000.aips-bus:ldb@020e0008 (ops imx_ldb_ops)
[   13.933401] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   24.173399] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   24.175535] Console: switching to colour frame buffer device 80x30
[   34.413391] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   34.460376] imx-drm display-subsystem: fb0:  frame buffer device
[   34.504119] imx-ipuv3 2800000.ipu: IPUv3H probed
...
[   45.933472] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   56.173522] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   66.413519] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   76.653515] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   87.533556] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   99.053496] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[  109.933532] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[  120.813541] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[  131.053513] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out

greets
--
Christian Gmeiner, MSc

https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
@ 2017-04-03 15:16     ` Christian Gmeiner
  0 siblings, 0 replies; 14+ messages in thread
From: Christian Gmeiner @ 2017-04-03 15:16 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: LKML, DRI mailing list

2017-03-31 14:57 GMT+02:00 Philipp Zabel <p.zabel@pengutronix.de>:
> Hi Christian,
>
> On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner wrote:
>> Hi
>>
>> I get this from time to time on a 4.9.17 kernel:
>>
>> [    3.353387] ------------[ cut here ]------------
>> [    3.353408] WARNING: CPU: 0 PID: 1 at
>> drivers/gpu/drm/drm_atomic_helper.c:1140
>> drm_atomic_helper_wait_for_vblanks+0x240/0x244
>> [    3.353412] [CRTC:24] vblank wait timed out
> [...]
>
> Do the four patches in
>  git://git.pengutronix.de/git/pza/linux.git tags/v4.9-ipu-dp-plane-fix
> fix this?
>

Sadly no - this is what I get after a warm-reboot:

[    2.797368] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops
ipu_crtc_ops)
[    2.804985] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops
ipu_crtc_ops)
[    2.812574] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops
ipu_crtc_ops)
[    2.820170] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops
ipu_crtc_ops)
[    2.828119] imx-drm display-subsystem: bound
2000000.aips-bus:ldb@020e0008 (ops imx_ldb_ops)
[   13.933401] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   24.173399] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   24.175535] Console: switching to colour frame buffer device 80x30
[   34.413391] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   34.460376] imx-drm display-subsystem: fb0:  frame buffer device
[   34.504119] imx-ipuv3 2800000.ipu: IPUv3H probed
...
[   45.933472] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   56.173522] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   66.413519] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   76.653515] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   87.533556] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[   99.053496] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[  109.933532] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[  120.813541] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out
[  131.053513] [drm:drm_atomic_helper_commit_cleanup_done] *ERROR*
[CRTC:24:crtc-0] flip_done timed out

greets
--
Christian Gmeiner, MSc

https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
  2017-04-03 15:16     ` Christian Gmeiner
@ 2017-04-04  8:14       ` Philipp Zabel
  -1 siblings, 0 replies; 14+ messages in thread
From: Philipp Zabel @ 2017-04-04  8:14 UTC (permalink / raw)
  To: Christian Gmeiner; +Cc: LKML, DRI mailing list

Hi Christian,

On Mon, 2017-04-03 at 17:16 +0200, Christian Gmeiner wrote:
> 2017-03-31 14:57 GMT+02:00 Philipp Zabel <p.zabel@pengutronix.de>:
> > Hi Christian,
> >
> > On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner wrote:
> >> Hi
> >>
> >> I get this from time to time on a 4.9.17 kernel:
> >>
> >> [    3.353387] ------------[ cut here ]------------
> >> [    3.353408] WARNING: CPU: 0 PID: 1 at
> >> drivers/gpu/drm/drm_atomic_helper.c:1140
> >> drm_atomic_helper_wait_for_vblanks+0x240/0x244
> >> [    3.353412] [CRTC:24] vblank wait timed out
> > [...]
> >
> > Do the four patches in
> >  git://git.pengutronix.de/git/pza/linux.git tags/v4.9-ipu-dp-plane-fix
> > fix this?
> >
> 
> Sadly no - this is what I get after a warm-reboot:

Is this on a non-plus i.MX6? Maybe are missing the LDB DI clock glitch
fixes (commits 5d283b083800, 03d576f202e8, and f13abeff2cde)?

regards
Philipp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
@ 2017-04-04  8:14       ` Philipp Zabel
  0 siblings, 0 replies; 14+ messages in thread
From: Philipp Zabel @ 2017-04-04  8:14 UTC (permalink / raw)
  To: Christian Gmeiner; +Cc: LKML, DRI mailing list

Hi Christian,

On Mon, 2017-04-03 at 17:16 +0200, Christian Gmeiner wrote:
> 2017-03-31 14:57 GMT+02:00 Philipp Zabel <p.zabel@pengutronix.de>:
> > Hi Christian,
> >
> > On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner wrote:
> >> Hi
> >>
> >> I get this from time to time on a 4.9.17 kernel:
> >>
> >> [    3.353387] ------------[ cut here ]------------
> >> [    3.353408] WARNING: CPU: 0 PID: 1 at
> >> drivers/gpu/drm/drm_atomic_helper.c:1140
> >> drm_atomic_helper_wait_for_vblanks+0x240/0x244
> >> [    3.353412] [CRTC:24] vblank wait timed out
> > [...]
> >
> > Do the four patches in
> >  git://git.pengutronix.de/git/pza/linux.git tags/v4.9-ipu-dp-plane-fix
> > fix this?
> >
> 
> Sadly no - this is what I get after a warm-reboot:

Is this on a non-plus i.MX6? Maybe are missing the LDB DI clock glitch
fixes (commits 5d283b083800, 03d576f202e8, and f13abeff2cde)?

regards
Philipp

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
  2017-04-04  8:14       ` Philipp Zabel
@ 2017-04-04 12:50         ` Christian Gmeiner
  -1 siblings, 0 replies; 14+ messages in thread
From: Christian Gmeiner @ 2017-04-04 12:50 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: LKML, DRI mailing list

2017-04-04 10:14 GMT+02:00 Philipp Zabel <p.zabel@pengutronix.de>:
> Hi Christian,
>
> On Mon, 2017-04-03 at 17:16 +0200, Christian Gmeiner wrote:
>> 2017-03-31 14:57 GMT+02:00 Philipp Zabel <p.zabel@pengutronix.de>:
>> > Hi Christian,
>> >
>> > On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner wrote:
>> >> Hi
>> >>
>> >> I get this from time to time on a 4.9.17 kernel:
>> >>
>> >> [    3.353387] ------------[ cut here ]------------
>> >> [    3.353408] WARNING: CPU: 0 PID: 1 at
>> >> drivers/gpu/drm/drm_atomic_helper.c:1140
>> >> drm_atomic_helper_wait_for_vblanks+0x240/0x244
>> >> [    3.353412] [CRTC:24] vblank wait timed out
>> > [...]
>> >
>> > Do the four patches in
>> >  git://git.pengutronix.de/git/pza/linux.git tags/v4.9-ipu-dp-plane-fix
>> > fix this?
>> >
>>
>> Sadly no - this is what I get after a warm-reboot:
>
> Is this on a non-plus i.MX6? Maybe are missing the LDB DI clock glitch
> fixes (commits 5d283b083800, 03d576f202e8, and f13abeff2cde)?
>

Yes it is a non-plus i.MX6D and all those three patches are included in
4.9.20 (which I am using right now), But maybe my dts is not that good as I
used it for a longer time without any changes to it. It is really time to get
those upstream.

At the moment I have this artifact in it:

&clks {
    assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
              <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
    assigned-clock-parents = <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>,
                 <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>;
};

I am not to 100% sure if PLL5 is what I want - need.

greets
--
Christian Gmeiner, MSc

https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
@ 2017-04-04 12:50         ` Christian Gmeiner
  0 siblings, 0 replies; 14+ messages in thread
From: Christian Gmeiner @ 2017-04-04 12:50 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: LKML, DRI mailing list

2017-04-04 10:14 GMT+02:00 Philipp Zabel <p.zabel@pengutronix.de>:
> Hi Christian,
>
> On Mon, 2017-04-03 at 17:16 +0200, Christian Gmeiner wrote:
>> 2017-03-31 14:57 GMT+02:00 Philipp Zabel <p.zabel@pengutronix.de>:
>> > Hi Christian,
>> >
>> > On Fri, 2017-03-31 at 12:44 +0200, Christian Gmeiner wrote:
>> >> Hi
>> >>
>> >> I get this from time to time on a 4.9.17 kernel:
>> >>
>> >> [    3.353387] ------------[ cut here ]------------
>> >> [    3.353408] WARNING: CPU: 0 PID: 1 at
>> >> drivers/gpu/drm/drm_atomic_helper.c:1140
>> >> drm_atomic_helper_wait_for_vblanks+0x240/0x244
>> >> [    3.353412] [CRTC:24] vblank wait timed out
>> > [...]
>> >
>> > Do the four patches in
>> >  git://git.pengutronix.de/git/pza/linux.git tags/v4.9-ipu-dp-plane-fix
>> > fix this?
>> >
>>
>> Sadly no - this is what I get after a warm-reboot:
>
> Is this on a non-plus i.MX6? Maybe are missing the LDB DI clock glitch
> fixes (commits 5d283b083800, 03d576f202e8, and f13abeff2cde)?
>

Yes it is a non-plus i.MX6D and all those three patches are included in
4.9.20 (which I am using right now), But maybe my dts is not that good as I
used it for a longer time without any changes to it. It is really time to get
those upstream.

At the moment I have this artifact in it:

&clks {
    assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
              <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
    assigned-clock-parents = <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>,
                 <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>;
};

I am not to 100% sure if PLL5 is what I want - need.

greets
--
Christian Gmeiner, MSc

https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
  2017-04-04 12:50         ` Christian Gmeiner
@ 2017-04-05 10:05           ` Philipp Zabel
  -1 siblings, 0 replies; 14+ messages in thread
From: Philipp Zabel @ 2017-04-05 10:05 UTC (permalink / raw)
  To: Christian Gmeiner; +Cc: LKML, DRI mailing list

On Tue, 2017-04-04 at 14:50 +0200, Christian Gmeiner wrote:
[...]
> > Is this on a non-plus i.MX6? Maybe are missing the LDB DI clock glitch
> > fixes (commits 5d283b083800, 03d576f202e8, and f13abeff2cde)?
> 
> Yes it is a non-plus i.MX6D and all those three patches are included in
> 4.9.20 (which I am using right now), But maybe my dts is not that good as I
> used it for a longer time without any changes to it. It is really time to get
> those upstream.

Which device tree is this? Can I see it?

> At the moment I have this artifact in it:
> 
> &clks {
>     assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
>               <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
>     assigned-clock-parents = <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>,
>                  <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>;
> };
> 
> I am not to 100% sure if PLL5 is what I want - need.

I'd use PLL5 for LVDS only if there is no other clock that can provide
the required rate, or if thee is no other display. Is LVDS the only user
of PLL5 or does this maybe conflict with HDMI?

regards
Philipp

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
@ 2017-04-05 10:05           ` Philipp Zabel
  0 siblings, 0 replies; 14+ messages in thread
From: Philipp Zabel @ 2017-04-05 10:05 UTC (permalink / raw)
  To: Christian Gmeiner; +Cc: LKML, DRI mailing list

On Tue, 2017-04-04 at 14:50 +0200, Christian Gmeiner wrote:
[...]
> > Is this on a non-plus i.MX6? Maybe are missing the LDB DI clock glitch
> > fixes (commits 5d283b083800, 03d576f202e8, and f13abeff2cde)?
> 
> Yes it is a non-plus i.MX6D and all those three patches are included in
> 4.9.20 (which I am using right now), But maybe my dts is not that good as I
> used it for a longer time without any changes to it. It is really time to get
> those upstream.

Which device tree is this? Can I see it?

> At the moment I have this artifact in it:
> 
> &clks {
>     assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
>               <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
>     assigned-clock-parents = <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>,
>                  <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>;
> };
> 
> I am not to 100% sure if PLL5 is what I want - need.

I'd use PLL5 for LVDS only if there is no other clock that can provide
the required rate, or if thee is no other display. Is LVDS the only user
of PLL5 or does this maybe conflict with HDMI?

regards
Philipp

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
  2017-04-05 10:05           ` Philipp Zabel
@ 2017-04-05 16:07             ` Christian Gmeiner
  -1 siblings, 0 replies; 14+ messages in thread
From: Christian Gmeiner @ 2017-04-05 16:07 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: LKML, DRI mailing list

2017-04-05 12:05 GMT+02:00 Philipp Zabel <p.zabel@pengutronix.de>:
> On Tue, 2017-04-04 at 14:50 +0200, Christian Gmeiner wrote:
> [...]
>> > Is this on a non-plus i.MX6? Maybe are missing the LDB DI clock glitch
>> > fixes (commits 5d283b083800, 03d576f202e8, and f13abeff2cde)?
>>
>> Yes it is a non-plus i.MX6D and all those three patches are included in
>> 4.9.20 (which I am using right now), But maybe my dts is not that good as I
>> used it for a longer time without any changes to it. It is really time to get
>> those upstream.
>
> Which device tree is this? Can I see it?
>

sure: https://hastebin.com/ekiyiticac.cpp

>> At the moment I have this artifact in it:
>>
>> &clks {
>>     assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
>>               <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
>>     assigned-clock-parents = <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>,
>>                  <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>;
>> };
>>
>> I am not to 100% sure if PLL5 is what I want - need.
>
> I'd use PLL5 for LVDS only if there is no other clock that can provide
> the required rate, or if thee is no other display. Is LVDS the only user
> of PLL5 or does this maybe conflict with HDMI?
>

No HDMI - here is clk_summary output: https://hastebin.com/ugesivojep.rb

greets
--
Christian Gmeiner, MSc

https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: imx-drm: vblank wait timed out
@ 2017-04-05 16:07             ` Christian Gmeiner
  0 siblings, 0 replies; 14+ messages in thread
From: Christian Gmeiner @ 2017-04-05 16:07 UTC (permalink / raw)
  To: Philipp Zabel; +Cc: LKML, DRI mailing list

2017-04-05 12:05 GMT+02:00 Philipp Zabel <p.zabel@pengutronix.de>:
> On Tue, 2017-04-04 at 14:50 +0200, Christian Gmeiner wrote:
> [...]
>> > Is this on a non-plus i.MX6? Maybe are missing the LDB DI clock glitch
>> > fixes (commits 5d283b083800, 03d576f202e8, and f13abeff2cde)?
>>
>> Yes it is a non-plus i.MX6D and all those three patches are included in
>> 4.9.20 (which I am using right now), But maybe my dts is not that good as I
>> used it for a longer time without any changes to it. It is really time to get
>> those upstream.
>
> Which device tree is this? Can I see it?
>

sure: https://hastebin.com/ekiyiticac.cpp

>> At the moment I have this artifact in it:
>>
>> &clks {
>>     assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
>>               <&clks IMX6QDL_CLK_LDB_DI1_SEL>;
>>     assigned-clock-parents = <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>,
>>                  <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>;
>> };
>>
>> I am not to 100% sure if PLL5 is what I want - need.
>
> I'd use PLL5 for LVDS only if there is no other clock that can provide
> the required rate, or if thee is no other display. Is LVDS the only user
> of PLL5 or does this maybe conflict with HDMI?
>

No HDMI - here is clk_summary output: https://hastebin.com/ugesivojep.rb

greets
--
Christian Gmeiner, MSc

https://www.youtube.com/user/AloryOFFICIAL
https://soundcloud.com/christian-gmeiner
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-04-05 16:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-31 10:44 imx-drm: vblank wait timed out Christian Gmeiner
2017-03-31 10:44 ` Christian Gmeiner
2017-03-31 12:57 ` Philipp Zabel
2017-03-31 12:57   ` Philipp Zabel
2017-04-03 15:16   ` Christian Gmeiner
2017-04-03 15:16     ` Christian Gmeiner
2017-04-04  8:14     ` Philipp Zabel
2017-04-04  8:14       ` Philipp Zabel
2017-04-04 12:50       ` Christian Gmeiner
2017-04-04 12:50         ` Christian Gmeiner
2017-04-05 10:05         ` Philipp Zabel
2017-04-05 10:05           ` Philipp Zabel
2017-04-05 16:07           ` Christian Gmeiner
2017-04-05 16:07             ` Christian Gmeiner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.