Closed
Description
Hi,
i started my Raspberry Pi Zero W (4.13-rc1) without HDMI connected and after booting i connected HDMI and get the following warning (without "drm/vc4: Fix VBLANK handling in crtc->enable() path" applied):
[ 139.445831] ------------[ cut here ]------------
[ 139.446146] WARNING: CPU: 0 PID: 3 at drivers/gpu/drm/vc4/vc4_crtc.c:628 vc4_crtc_atomic_flush+0x124/0x1b4
[ 139.446175] Modules linked in: brcmfmac brcmutil bcm2835_rng rng_core
[ 139.446309] CPU: 0 PID: 3 Comm: kworker/0:0 Not tainted 4.13.0-rc1+ #18
[ 139.446331] Hardware name: BCM2835
[ 139.446376] Workqueue: events output_poll_execute
[ 139.446456] [<c011062c>] (unwind_backtrace) from [<c010d2dc>] (show_stack+0x20/0x24)
[ 139.446501] [<c010d2dc>] (show_stack) from [<c07e4498>] (dump_stack+0x20/0x28)
[ 139.446551] [<c07e4498>] (dump_stack) from [<c0120528>] (__warn+0xe4/0x110)
[ 139.446594] [<c0120528>] (__warn) from [<c0120624>] (warn_slowpath_null+0x30/0x38)
[ 139.446639] [<c0120624>] (warn_slowpath_null) from [<c0495d98>] (vc4_crtc_atomic_flush+0x124/0x1b4)
[ 139.446700] [<c0495d98>] (vc4_crtc_atomic_flush) from [<c046a530>] (drm_atomic_helper_commit_planes+0x254/0x27c)
[ 139.446752] [<c046a530>] (drm_atomic_helper_commit_planes) from [<c049ba64>] (vc4_atomic_complete_commit+0x58/0xd4)
[ 139.446800] [<c049ba64>] (vc4_atomic_complete_commit) from [<c049bc7c>] (vc4_atomic_commit+0x19c/0x1bc)
[ 139.446862] [<c049bc7c>] (vc4_atomic_commit) from [<c0485278>] (drm_atomic_commit+0x54/0x68)
[ 139.446909] [<c0485278>] (drm_atomic_commit) from [<c046c890>] (restore_fbdev_mode+0x110/0x268)
[ 139.446956] [<c046c890>] (restore_fbdev_mode) from [<c046ef3c>] (drm_fb_helper_restore_fbdev_mode_unlocked+0x3c/0x80)
[ 139.447001] [<c046ef3c>] (drm_fb_helper_restore_fbdev_mode_unlocked) from [<c046efd0>] (drm_fb_helper_set_par+0x50/0x6c)
[ 139.447042] [<c046efd0>] (drm_fb_helper_set_par) from [<c046eeec>] (drm_fb_helper_hotplug_event+0xa0/0xb4)
[ 139.447085] [<c046eeec>] (drm_fb_helper_hotplug_event) from [<c046fa10>] (drm_fbdev_cma_hotplug_event+0x20/0x24)
[ 139.447128] [<c046fa10>] (drm_fbdev_cma_hotplug_event) from [<c049bcdc>] (vc4_output_poll_changed+0x20/0x24)
[ 139.447173] [<c049bcdc>] (vc4_output_poll_changed) from [<c0460850>] (drm_kms_helper_hotplug_event+0x34/0x38)
[ 139.447217] [<c0460850>] (drm_kms_helper_hotplug_event) from [<c0460cac>] (output_poll_execute+0x124/0x15c)
[ 139.447265] [<c0460cac>] (output_poll_execute) from [<c013af68>] (process_one_work+0x328/0x674)
[ 139.447309] [<c013af68>] (process_one_work) from [<c013c034>] (worker_thread+0x2d0/0x444)
[ 139.447359] [<c013c034>] (worker_thread) from [<c0142078>] (kthread+0x14c/0x16c)
[ 139.447412] [<c0142078>] (kthread) from [<c0108330>] (ret_from_fork+0x14/0x24)
[ 139.447444] ---[ end trace 899beaad1f7c68a5 ]---
After applying "drm/vc4: Fix VBLANK handling in crtc->enable() path" i get a different warning:
[ 139.445847] ------------[ cut here ]------------
[ 139.446168] WARNING: CPU: 0 PID: 11 at drivers/gpu/drm/vc4/vc4_crtc.c:535 vc4_crtc_update_dlist+0x50/0xd8
[ 139.446198] Modules linked in: brcmfmac brcmutil bcm2835_rng rng_core
[ 139.446332] CPU: 0 PID: 11 Comm: kworker/0:1 Not tainted 4.13.0-rc1+ #17
[ 139.446355] Hardware name: BCM2835
[ 139.446399] Workqueue: events output_poll_execute
[ 139.446477] [<c011062c>] (unwind_backtrace) from [<c010d2dc>] (show_stack+0x20/0x24)
[ 139.446522] [<c010d2dc>] (show_stack) from [<c07e44d8>] (dump_stack+0x20/0x28)
[ 139.446570] [<c07e44d8>] (dump_stack) from [<c0120528>] (__warn+0xe4/0x110)
[ 139.446613] [<c0120528>] (__warn) from [<c0120624>] (warn_slowpath_null+0x30/0x38)
[ 139.446657] [<c0120624>] (warn_slowpath_null) from [<c0495cc4>] (vc4_crtc_update_dlist+0x50/0xd8)
[ 139.446700] [<c0495cc4>] (vc4_crtc_update_dlist) from [<c0495e58>] (vc4_crtc_atomic_flush+0x10c/0x11c)
[ 139.446758] [<c0495e58>] (vc4_crtc_atomic_flush) from [<c046a530>] (drm_atomic_helper_commit_planes+0x254/0x27c)
[ 139.446812] [<c046a530>] (drm_atomic_helper_commit_planes) from [<c049baac>] (vc4_atomic_complete_commit+0x58/0xd4)
[ 139.446858] [<c049baac>] (vc4_atomic_complete_commit) from [<c049bcc4>] (vc4_atomic_commit+0x19c/0x1bc)
[ 139.446918] [<c049bcc4>] (vc4_atomic_commit) from [<c0485278>] (drm_atomic_commit+0x54/0x68)
[ 139.446964] [<c0485278>] (drm_atomic_commit) from [<c046c890>] (restore_fbdev_mode+0x110/0x268)
[ 139.447010] [<c046c890>] (restore_fbdev_mode) from [<c046ef3c>] (drm_fb_helper_restore_fbdev_mode_unlocked+0x3c/0x80)
[ 139.447051] [<c046ef3c>] (drm_fb_helper_restore_fbdev_mode_unlocked) from [<c046efd0>] (drm_fb_helper_set_par+0x50/0x6c)
[ 139.447091] [<c046efd0>] (drm_fb_helper_set_par) from [<c046eeec>] (drm_fb_helper_hotplug_event+0xa0/0xb4)
[ 139.447133] [<c046eeec>] (drm_fb_helper_hotplug_event) from [<c046fa10>] (drm_fbdev_cma_hotplug_event+0x20/0x24)
[ 139.447176] [<c046fa10>] (drm_fbdev_cma_hotplug_event) from [<c049bd24>] (vc4_output_poll_changed+0x20/0x24)
[ 139.447221] [<c049bd24>] (vc4_output_poll_changed) from [<c0460850>] (drm_kms_helper_hotplug_event+0x34/0x38)
[ 139.447263] [<c0460850>] (drm_kms_helper_hotplug_event) from [<c0460cac>] (output_poll_execute+0x124/0x15c)
[ 139.447310] [<c0460cac>] (output_poll_execute) from [<c013af68>] (process_one_work+0x328/0x674)
[ 139.447352] [<c013af68>] (process_one_work) from [<c013c034>] (worker_thread+0x2d0/0x444)
[ 139.447401] [<c013c034>] (worker_thread) from [<c0142078>] (kthread+0x14c/0x16c)
[ 139.447454] [<c0142078>] (kthread) from [<c0108330>] (ret_from_fork+0x14/0x24)
[ 139.447486] ---[ end trace 3d08db11084b457b ]---
Metadata
Metadata
Assignees
Labels
No labels