[PATCH v4 00/22] OMAP DRM fixes and improvements

Laurent Pinchart laurent.pinchart at ideasonboard.com
Wed Dec 14 11:50:52 UTC 2016


Hi Tomi,

On Wednesday 14 Dec 2016 10:48:06 Tomi Valkeinen wrote:
> On 14/12/16 02:27, Laurent Pinchart wrote:
> > Hello,
> > 
> > Here's the fourth version of my current stack of pending patches for the
> > omapdrm driver.
> > 
> > All comments received for v3 have been considered and patches updated
> > where applicable. Patches 21/22 and 22/22 have been added, individual
> > changelogs are available in all the patches when they have been modified.
> > 
> > The most notable change in this series is still the rework of the IRQ
> > handling code (patches 06/22 to 19/22) that, beside simplifying the code,
> > ensures that the vblank count and timestamp get updated properly in order
> > to be reported to userspace.
> > 
> > The series is based on top of Dave's drm-next branch.
> 
> I got the following when unloading omapdrm modules, AM5 EVM with two
> displays:

This should be fixed by "[PATCH] drm: Move vblank cleanup from unregister to 
release" that I posted earlier today.

> 
> [  758.762147] ------------[ cut here ]------------
> [  758.767157] WARNING: CPU: 1 PID: 314 at drivers/gpu/drm/drm_irq.c:349
> drm_vblank_cleanup+0x5c/0x94 [drm] [  758.781401] Modules linked in:
> omapdrm(-) drm_kms_helper drm panel_dsi_cm panel_dpi connector_analog_tv
> connector_dvi connecto r_hdmi encoder_tpd12s015 encoder_tfp410 omapdss
> cfbfillrect cfbimgblt cfbcopyarea [last unloaded: omapdss_base] [ 
> 758.803761] CPU: 1 PID: 314 Comm: rmmod Not tainted
> 4.9.0-rc8-00106-g8df5349534c6 #53 [  758.811631] Hardware name: Generic
> DRA74X (Flattened Device Tree) [  758.817755] Backtrace:
> [  758.820240] [<c010d8e0>] (dump_backtrace) from [<c010db8c>]
> (show_stack+0x18/0x1c) [  758.827851]  r7:c0d830d8 r6:60030013 r5:00000000
> r4:c0d830d8
> [  758.833546] [<c010db74>] (show_stack) from [<c04d8668>]
> (dump_stack+0xa8/0xdc) [  758.840813] [<c04d85c0>] (dump_stack) from
> [<c013c660>] (__warn+0xdc/0x108) [  758.847814]  r9:bf1fefc0 r8:0000015d
> r7:00000009 r6:bf229b84 r5:00000000 r4:00000000 [  758.855602] [<c013c584>]
> (__warn) from [<c013c740>] (warn_slowpath_null+0x28/0x30) [  758.863230] 
> r9:0000015d r8:bf229b84 r7:ee145000 r6:00000000 r5:00000000 r4:ed22aa00 .[ 
> 758.871173] [<c013c718>] (warn_slowpath_null) from [<bf1fefc0>]
> (drm_vblank_cleanup+0x5c/0x94 [drm]) [  758.880586] [<bf1fef64>]
> (drm_vblank_cleanup [drm]) from [<bf200760>] (drm_dev_unregister+0x58/0xbc
> [drm]) [  758.890291]  r9:ed3b4000 r8:c0ddb380 r7:00000000 r6:ee145000
> r5:ee145000 r4:ee145000 [  758.898201] [<bf200708>] (drm_dev_unregister
> [drm]) from [<bf2ab26c>] (pdev_remove+0x2c/0x90 [omapdrm]) [  758.907643] 
> r7:00000000 r6:c0d0c25c r5:ed233000 r4:ee145000
> [  758.913357] [<bf2ab240>] (pdev_remove [omapdrm]) from [<c05a1918>]
> (platform_drv_remove+0x2c/0x44) [  758.922362]  r5:c0d0c228 r4:c0d0c228
> [  758.925964] [<c05a18ec>] (platform_drv_remove) from [<c059ed24>]
> (__device_release_driver+0x90/0x12c) [  758.935229]  r5:bf2b64e4
> r4:c0d0c228
> [  758.938829] [<c059ec94>] (__device_release_driver) from [<c059f9b0>]
> (driver_detach+0xc0/0xc4) [  758.947484]  r5:bf2b64e4 r4:c0d0c228
> [  758.951084] [<c059f8f0>] (driver_detach) from [<c059e764>]
> (bus_remove_driver+0x64/0xdc) [  758.959217]  r7:c0b3bbfc r6:c0ddb368
> r5:bf2b42e4 r4:bf2b64e4
> [  758.964911] [<c059e700>] (bus_remove_driver) from [<c05a079c>]
> (driver_unregister+0x30/0x50) [  758.973390]  r5:bf2b42e4 r4:bf2b64e4
> [  758.976991] [<c05a076c>] (driver_unregister) from [<c05a1a3c>]
> (platform_unregister_drivers+0x3c/0x74) [  758.986343]  r5:bf2b42e4
> r4:00000000
> [  758.989961] [<c05a1a00>] (platform_unregister_drivers) from [<bf2b42b8>]
> (omap_drm_fini+0x28/0x38 [omapdrm]) [  758.999841]  r9:ed3b4000 r8:c0108c04
> r7:00000081 r6:00000800 r5:0003cd4c r4:bf2b6800 [  759.007649] [<bf2b4290>]
> (omap_drm_fini [omapdrm]) from [<c01e63d4>] (SyS_delete_module+0x144/0x21c)
> [  759.016835] [<c01e6290>] (SyS_delete_module) from [<c0108a60>]
> (ret_fast_syscall+0x0/0x1c) [  759.025142]  r6:bec63c10 r5:0003cd10
> r4:bec63dfc
> [  759.029902] ---[ end trace ebaa3f100ebbc054 ]---
> [  759.036433] ------------[ cut here ]------------
> [  759.041394] WARNING: CPU: 1 PID: 314 at drivers/gpu/drm/drm_irq.c:349
> drm_vblank_cleanup+0x5c/0x94 [drm] [  759.050963] Modules linked in:
> omapdrm(-) drm_kms_helper drm panel_dsi_cm panel_dpi connector_analog_tv
> connector_dvi connecto r_hdmi encoder_tpd12s015 encoder_tfp410 omapdss
> cfbfillrect cfbimgblt cfbcopyarea [last unloaded: omapdss_base] [ 
> 759.072372] CPU: 1 PID: 314 Comm: rmmod Tainted: G        W      
> 4.9.0-rc8-00106-g8df5349534c6 #53 [  759.081462] Hardware name: Generic
> DRA74X (Flattened Device Tree) [  759.087584] Backtrace:
> [  759.090064] [<c010d8e0>] (dump_backtrace) from [<c010db8c>]
> (show_stack+0x18/0x1c) [  759.097675]  r7:c0d830d8 r6:60030013 r5:00000000
> r4:c0d830d8
> [  759.103368] [<c010db74>] (show_stack) from [<c04d8668>]
> (dump_stack+0xa8/0xdc) [  759.110633] [<c04d85c0>] (dump_stack) from
> [<c013c660>] (__warn+0xdc/0x108) [  759.117634]  r9:bf1fefc0 r8:0000015d
> r7:00000009 r6:bf229b84 r5:00000000 r4:00000000 [  759.125421] [<c013c584>]
> (__warn) from [<c013c740>] (warn_slowpath_null+0x28/0x30) [  759.133033] 
> r9:0000015d r8:bf229b84 r7:ee145000 r6:00000001 r5:000000c8 r4:ed22aac8 /[ 
> 759.140927] [<c013c718>] (warn_slowpath_null) from [<bf1fefc0>]
> (drm_vblank_cleanup+0x5c/0x94 [drm]) [  759.150391] [<bf1fef64>]
> (drm_vblank_cleanup [drm]) from [<bf200760>] (drm_dev_unregister+0x58/0xbc
> [drm]) [  759.160097]  r9:ed3b4000 r8:c0ddb380 r7:00000000 r6:ee145000
> r5:ee145000 r4:ee145000 [  759.168006] [<bf200708>] (drm_dev_unregister
> [drm]) from [<bf2ab26c>] (pdev_remove+0x2c/0x90 [omapdrm]) [  759.177448] 
> r7:00000000 r6:c0d0c25c r5:ed233000 r4:ee145000
> [  759.183161] [<bf2ab240>] (pdev_remove [omapdrm]) from [<c05a1918>]
> (platform_drv_remove+0x2c/0x44) [  759.192164]  r5:c0d0c228 r4:c0d0c228
> [  759.195766] [<c05a18ec>] (platform_drv_remove) from [<c059ed24>]
> (__device_release_driver+0x90/0x12c) [  759.205031]  r5:bf2b64e4
> r4:c0d0c228
> [  759.208632] [<c059ec94>] (__device_release_driver) from [<c059f9b0>]
> (driver_detach+0xc0/0xc4) [  759.217287]  r5:bf2b64e4 r4:c0d0c228
> [  759.220887] [<c059f8f0>] (driver_detach) from [<c059e764>]
> (bus_remove_driver+0x64/0xdc) [  759.229021]  r7:c0b3bbfc r6:c0ddb368
> r5:bf2b42e4 r4:bf2b64e4
> [  759.234715] [<c059e700>] (bus_remove_driver) from [<c05a079c>]
> (driver_unregister+0x30/0x50) [  759.243196]  r5:bf2b42e4 r4:bf2b64e4
> [  759.246797] [<c05a076c>] (driver_unregister) from [<c05a1a3c>]
> (platform_unregister_drivers+0x3c/0x74) [  759.256151]  r5:bf2b42e4
> r4:00000000
> [  759.259770] [<c05a1a00>] (platform_unregister_drivers) from [<bf2b42b8>]
> (omap_drm_fini+0x28/0x38 [omapdrm]) [  759.269650]  r9:ed3b4000 r8:c0108c04
> r7:00000081 r6:00000800 r5:0003cd4c r4:bf2b6800 [  759.277456] [<bf2b4290>]
> (omap_drm_fini [omapdrm]) from [<c01e63d4>] (SyS_delete_module+0x144/0x21c)
> [  759.286641] [<c01e6290>] (SyS_delete_module) from [<c0108a60>]
> (ret_fast_syscall+0x0/0x1c) [  759.294948]  r6:bec63c10 r5:0003cd10
> r4:bec63dfc
> [  759.299701] ---[ end trace ebaa3f100ebbc055 ]---
> [  759.309098] ------------[ cut here ]------------
> [  759.313879] WARNING: CPU: 0 PID: 7 at drivers/gpu/drm/drm_irq.c:1708
> drm_handle_vblank+0x398/0x3c8 [drm] [  759.323401] Modules linked in:
> omapdrm(-) drm_kms_helper drm panel_dsi_cm panel_dpi connector_analog_tv
> connector_dvi connecto r_hdmi encoder_tpd12s015 encoder_tfp410 omapdss
> cfbfillrect cfbimgblt cfbcopyarea [last unloaded: omapdss_base] [ 
> 759.344721] CPU: 0 PID: 7 Comm: rcu_preempt Tainted: G        W      
> 4.9.0-rc8-00106-g8df5349534c6 #53 [  759.354155] Hardware name: Generic
> DRA74X (Flattened Device Tree) [  759.360276] Backtrace:
> [  759.362752] [<c010d8e0>] (dump_backtrace) from [<c010db8c>]
> (show_stack+0x18/0x1c) [  759.370359]  r7:c0d830d8 r6:600f0193 r5:00000000
> r4:c0d830d8
> [  759.376049] [<c010db74>] (show_stack) from [<c04d8668>]
> (dump_stack+0xa8/0xdc) [  759.383312] [<c04d85c0>] (dump_stack) from
> [<c013c660>] (__warn+0xdc/0x108) [  759.390310]  r9:bf1fede4 r8:000006ac
> r7:00000009 r6:bf229b84 r5:00000000 r4:00000000 [  759.398094] [<c013c584>]
> (__warn) from [<c013c740>] (warn_slowpath_null+0x28/0x30) [  759.405701] 
> r9:ee145000 r8:ee145000 r7:00000001 r6:ed233000 r5:00000802 r4:ed22aac8 [ 
> 759.413589] [<c013c718>] (warn_slowpath_null) from [<bf1fede4>]
> (drm_handle_vblank+0x398/0x3c8 [drm]) [  759.422980] [<bf1fea4c>]
> (drm_handle_vblank [drm]) from [<bf2ac188>] (omap_irq_handler+0x88/0x210
> [omapdrm]) [  759.432856]  r10:00000000 r9:ee145000 r8:ed23300c r7:ed0ae800
> r6:ed233000 r5:00000802 [  759.440719]  r4:00000001
> [  759.443370] [<bf2ac100>] (omap_irq_handler [omapdrm]) from [<bf1757a8>]
> (dispc_irq_handler+0x34/0x3c [omapdss]) [  759.453507]  r10:c0d0512c
> r9:0000015e r8:c0d05db0 r7:ee0ea000 r6:c0d836b0 r5:ee0ea000 [  759.461372] 
> r4:ed19db80
> [  759.464002] [<bf175774>] (dispc_irq_handler [omapdss]) from [<c01afd74>]
> (__handle_irq_event_percpu+0x54/0x488) [  759.474142] [<c01afd20>]
> (__handle_irq_event_percpu) from [<c01b01cc>]
> (handle_irq_event_percpu+0x24/0x60) [  759.483841]  r10:0000015e
> r9:00000001 r8:c0d05db0 r7:ee0ea000 r6:c0d836b0 r5:ee336200 [  759.491706] 
> r4:ee336200
> [  759.494256] [<c01b01a8>] (handle_irq_event_percpu) from [<c01b0248>]
> (handle_irq_event+0x40/0x64) [  759.503169]  r5:ee336260 r4:ee336200
> [  759.506768] [<c01b0208>] (handle_irq_event) from [<c01b3b30>]
> (handle_fasteoi_irq+0xec/0x1cc) [  759.515332]  r7:ee0ea000 r6:c0d836b0
> r5:ee336260 r4:ee336200
> [  759.521021] [<c01b3a44>] (handle_fasteoi_irq) from [<c01aeeec>]
> (generic_handle_irq+0x28/0x3c) [  759.529674]  r9:00000001 r8:00000000
> r7:c0d05db0 r6:ee0ea000 r5:c0c7c274 r4:c0c7c274 [  759.537458] [<c01aeec4>]
> (generic_handle_irq) from [<c01af4f8>] (__handle_domain_irq+0x98/0x134) [ 
> 759.546288] [<c01af460>] (__handle_domain_irq) from [<c01015d4>]
> (gic_handle_irq+0x58/0xbc) [  759.554679]  r10:c0d05fe4 r9:fa212000
> r8:c0d836a0 r7:ee0ebd38 r6:000003ff r5:000003eb [  759.562544]  r4:fa21200c
> [  759.565096] [<c010157c>] (gic_handle_irq) from [<c08d6e30>]
> (__irq_svc+0x70/0xb0) [  759.572612] Exception stack(0xee0ebd38 to
> 0xee0ebd80)
> [  759.577688] bd20:                                                      
> 00000001 00000001 [  759.585907] bd40: 00000000 ee0e8e80 eed8b080 00000000
> c0d08980 00000000 00000001 ee0e8e80 [  759.594123] bd60: c08cfa70 ee0ebd9c
> ee0ebd58 ee0ebd88 c019f9a0 c08d6458 200f0013 ffffffff [  759.602341] 
> r10:c08cfa70 r9:ee0ea000 r8:00000001 r7:ee0ebd6c r6:ffffffff r5:200f0013 [ 
> 759.610204]  r4:c08d6458
> [  759.612756] [<c08d6428>] (_raw_spin_unlock_irq) from [<c016c6d4>]
> (finish_task_switch+0xdc/0x284) [  759.621669]  r5:00000000 r4:eed8b080
> [  759.625266] [<c016c5f8>] (finish_task_switch) from [<c08cfa70>]
> (__schedule+0x3fc/0xd3c) [  759.633396]  r10:ee0e9180 r9:00000000
> r8:ed084240 r7:00002f1f r6:c0d08980 r5:ee0e8e80 [  759.641261]  r4:eed8b090
> [  759.643810] [<c08cf674>] (__schedule) from [<c08d0408>]
> (schedule+0x58/0xb8) [  759.650894]  r10:00000000 r9:000008b9 r8:eed865c0
> r7:c0d04900 r6:00000000 r5:00000001 [  759.658759]  r4:ee0ea000
> [  759.661308] [<c08d03b0>] (schedule) from [<c08d542c>]
> (schedule_timeout+0x208/0x4fc) [  759.669088]  r7:c0d04900 r6:eed865c0
> r5:ee0ebe88 r4:0000b35a
> [  759.674778] [<c08d5224>] (schedule_timeout) from [<c01bf228>]
> (rcu_gp_kthread+0x5a4/0x974) [  759.683086]  r10:00000001 r9:000008b9
> r8:00000000 r7:c0d45210 r6:c0d45238 r5:00000001 [  759.690953]  r4:c0d44f80
> [  759.693502] [<c01bec84>] (rcu_gp_kthread) from [<c0163890>]
> (kthread+0xe4/0x108) [  759.700931]  r7:c01bec84
> [  759.703482] [<c01637ac>] (kthread) from [<c0108af0>]
> (ret_from_fork+0x14/0x24) [  759.710738]  r7:00000000 r6:00000000
> r5:c01637ac r4:ee088900
> [  759.716423] ---[ end trace ebaa3f100ebbc056 ]---
> ^H[  759.789292] ------------[ cut here ]------------
> [  759.794068] WARNING: CPU: 1 PID: 314 at drivers/gpu/drm/drm_irq.c:1278
> drm_crtc_vblank_off+0x1b0/0x1cc [drm] [  759.804252] Modules linked in:
> omapdrm(-) drm_kms_helper drm panel_dsi_cm panel_dpi connector_analog_tv
> connector_dvi connecto r_hdmi encoder_tpd12s015 encoder_tfp410 omapdss
> cfbfillrect cfbimgblt cfbcopyarea [last unloaded: omapdss_base] [ 
> 759.826582] CPU: 1 PID: 314 Comm: rmmod Tainted: G        W      
> 4.9.0-rc8-00106-g8df5349534c6 #53 [  759.835673] Hardware name: Generic
> DRA74X (Flattened Device Tree) [  759.841797] Backtrace:
> [  759.844276] [<c010d8e0>] (dump_backtrace) from [<c010db8c>]
> (show_stack+0x18/0x1c) [  759.851888]  r7:c0d830d8 r6:600e0013 r5:00000000
> r4:c0d830d8
> [  759.857581] [<c010db74>] (show_stack) from [<c04d8668>]
> (dump_stack+0xa8/0xdc) [  759.864845] [<c04d85c0>] (dump_stack) from
> [<c013c660>] (__warn+0xdc/0x108) [  759.871846]  r9:bf1fea30 r8:000004fe
> r7:00000009 r6:bf229b84 r5:00000000 r4:00000000 [  759.879632] [<c013c584>]
> (__warn) from [<c013c740>] (warn_slowpath_null+0x28/0x30) [  759.887244] 
> r9:ee145000 r8:bf2b4ad0 r7:00000000 r6:ed23f200 r5:00000000 r4:ed22aa00 [ 
> 759.895139] [<c013c718>] (warn_slowpath_null) from [<bf1fea30>]
> (drm_crtc_vblank_off+0x1b0/0x1cc [drm]) [  759.904707] [<bf1fe880>]
> (drm_crtc_vblank_off [drm]) from [<bf2ace38>] (omap_crtc_disable+0x2c/0x38
> [omapdrm]) [  759.914761]  r10:bf286140 r9:bf286110 r8:bf2b4ad0 r7:ed0c8000
> r6:ed23f200 r5:00000000 [  759.922628]  r4:ed0c8000
> [  759.925256] [<bf2ace0c>] (omap_crtc_disable [omapdrm]) from [<bf27aaec>]
> (drm_atomic_helper_commit_modeset_disables+0x1c0/0x41 4 [drm_kms_helper])
> [  759.938360]  r5:00000000 r4:ed19db00
> [  759.942026] [<bf27a92c>] (drm_atomic_helper_commit_modeset_disables
> [drm_kms_helper]) from [<bf2ab528>] (omap_atomic_complete+ 0x2c/0x15c
> [omapdrm])
> [  759.955305]  r10:bf22c188 r9:00000000 r8:ed233000 r7:ed19d780 r6:ee145000
> r5:ed19db00 [  759.963173]  r4:ed233128
> [  759.965759] [<bf2ab4fc>] (omap_atomic_complete [omapdrm]) from
> [<bf2ab7d8>] (omap_atomic_commit+0x180/0x268 [omapdrm]) [  759.976508] 
> r9:00000000 r8:00000000 r7:ed233000 r6:ed19db00 r5:ed19d780 r4:ed233128 [ 
> 759.984420] [<bf2ab658>] (omap_atomic_commit [omapdrm]) from [<bf210d54>]
> (drm_atomic_commit+0x54/0x60 [drm]) [  759.994386]  r10:bf22c188
> r9:bf22c1b8 r8:ee145000 r7:ed3b5e04 r6:ee145000 r5:ed19db00 [  760.002254] 
> r4:00000000
> [  760.004960] [<bf210d00>] (drm_atomic_commit [drm]) from [<bf27dffc>]
> (drm_atomic_helper_set_config+0x80/0xd8 [drm_kms_helper]) [  760.016406] 
> r7:ed3b5e04 r6:ed0c8000 r5:00000000 r4:ed19db00
> [  760.022250] [<bf27df7c>] (drm_atomic_helper_set_config [drm_kms_helper])
> from [<bf2046b8>] (drm_mode_set_config_internal+0x6c/ 0xfc [drm])
> [  760.034656]  r7:ee14548c r6:ee145480 r5:ed0c8000 r4:00000000
> [  760.040558] [<bf20464c>] (drm_mode_set_config_internal [drm]) from
> [<bf204780>] (drm_crtc_force_disable+0x38/0x40 [drm]) [  760.051481] 
> r7:ee14548c r6:ee145480 r5:ed24f800 r4:ed0c8000
> [  760.057384] [<bf204748>] (drm_crtc_force_disable [drm]) from [<bf212e94>]
> (drm_framebuffer_remove+0xd0/0x110 [drm]) [  760.067997] [<bf212dc4>]
> (drm_framebuffer_remove [drm]) from [<bf2b4274>] (omap_fbdev_free+0x60/0x7c
> [omapdrm]) [  760.078138]  r10:00000000 r9:ed3b4000 r8:c0ddb380 r7:00000000
> r6:c0d0c25c r5:ed233000 [  760.086007]  r4:ed285200 r3:00000001
> [  760.089639] [<bf2b4214>] (omap_fbdev_free [omapdrm]) from [<bf2ab288>]
> (pdev_remove+0x48/0x90 [omapdrm]) [  760.099165]  r5:ed233000 r4:ee145000
> [  760.102784] [<bf2ab240>] (pdev_remove [omapdrm]) from [<c05a1918>]
> (platform_drv_remove+0x2c/0x44) [  760.111788]  r5:c0d0c228 r4:c0d0c228
> [  760.115390] [<c05a18ec>] (platform_drv_remove) from [<c059ed24>]
> (__device_release_driver+0x90/0x12c) [  760.124653]  r5:bf2b64e4
> r4:c0d0c228
> [  760.128252] [<c059ec94>] (__device_release_driver) from [<c059f9b0>]
> (driver_detach+0xc0/0xc4) [  760.136907]  r5:bf2b64e4 r4:c0d0c228
> [  760.140507] [<c059f8f0>] (driver_detach) from [<c059e764>]
> (bus_remove_driver+0x64/0xdc) [  760.148638]  r7:c0b3bbfc r6:c0ddb368
> r5:bf2b42e4 r4:bf2b64e4
> [  760.154331] [<c059e700>] (bus_remove_driver) from [<c05a079c>]
> (driver_unregister+0x30/0x50) [  760.162810]  r5:bf2b42e4 r4:bf2b64e4
> [  760.166411] [<c05a076c>] (driver_unregister) from [<c05a1a3c>]
> (platform_unregister_drivers+0x3c/0x74) [  760.175771]  r5:bf2b42e4
> r4:00000000
> [  760.179389] [<c05a1a00>] (platform_unregister_drivers) from [<bf2b42b8>]
> (omap_drm_fini+0x28/0x38 [omapdrm]) [  760.189267]  r9:ed3b4000 r8:c0108c04
> r7:00000081 r6:00000800 r5:0003cd4c r4:bf2b6800 [  760.197073] [<bf2b4290>]
> (omap_drm_fini [omapdrm]) from [<c01e63d4>] (SyS_delete_module+0x144/0x21c)
> [  760.206256] [<c01e6290>] (SyS_delete_module) from [<c0108a60>]
> (ret_fast_syscall+0x0/0x1c) [  760.214562]  r6:bec63c10 r5:0003cd10
> r4:bec63dfc
> ^H^H[  760.219458] ---[ end trace ebaa3f100ebbc057 ]---
> [  760.233226] ------------[ cut here ]------------
> ^H[  760.237992] WARNING: CPU: 1 PID: 314 at drivers/gpu/drm/drm_irq.c:1278
> drm_crtc_vblank_off+0x1b0/0x1cc [drm] [  760.248043] Modules linked in:
> omapdrm(-) drm_kms_helper drm panel_dsi_cm panel_dpi connector_analog_tv
> connector_dvi connecto r_hdmi encoder_tpd12s015 encoder_tfp410 omapdss
> cfbfillrect^H cfbimgblt cfbcopyarea [last unloaded: omapdss_base] [ 
> 760.269659] CPU: 1 PID: 314 Comm: rmmod Tainted: G        W      
> 4.9.0-rc8-00106-g8df5349534c6 #53 [  760.278750] Hardware name: Generic
> DRA74X (Flattened Device Tree) [  760.284873] Backtrace:
> [  760.287353] [<c010d8e0>] (dump_backtrace) from [<c010db8c>]
> (show_stack+0x18/0x1c) [  760.294965]  r7:c0d830d8 r6:600e0013 r5:00000000
> r4:c0d830d8
> [  760.300660] [<c010db74>] (show_stack) from [<c04d8668>]
> (dump_stack+0xa8/0xdc) ^H[  760.307943] [<c04d85c0>] (dump_stack) from
> [<c013c660>] (__warn+0xdc/0x108) [  760.315115]  r9:bf1fea30 r8:000004fe
> r7:00000009 r6:bf229b84 r5:00000000 r4:00000000 [  760.322906] [<c013c584>]
> (__warn) from [<c013c740>] (warn_slowpath_null+0x28/0x30) [  760.330533] 
> r9:ee145000 r8:bf2b4ad0 r7:00000001 r6:ed23f800 r5:00000001 r4:ed22aac8 ^H[
>  760.338427] [<c013c718>] (warn_slowpath_null) from [<bf1fea30>]
> (drm_crtc_vblank_off+0x1b0/0x1cc [drm]) [  760.348059] [<bf1fe880>]
> (drm_crtc_vblank_off [drm]) from [<bf2ace38>] (omap_crtc_disable+0x2c/0x38
> [omapdrm]) [  760.358112]  r10:bf286140 r9:bf286110 r8:bf2b4ad0 r7:ed0ae800
> r6:ed23f800 r5:00000001 [  760.365981]  r4:ed0ae800
> [  760.368604] [<bf2ace0c>] (omap_crtc_disable [omapdrm]) from [<bf27aaec>]
> (drm_atomic_helper_commit_modeset_disables+0x1c0/0x41 4 [drm_kms_helper])
> [  760.381709]  r5:00000001 r4:ed19db00
> ^H[  760.385374] [<bf27a92c>] (drm_atomic_helper_commit_modeset_disables
> [drm_kms_helper]) from [<bf2ab528>] (omap_atomic_complet e+0x2c/0x15c
> [omapdrm])
> [  760.398782]  r10:bf22c188 r9:00000000 r8:ed233000 r7:ed19d780 r6:ee145000
> r5:ed19db00 [  760.406650]  r4:ed233128
> ^H[  760.409235] [<bf2ab4fc>] (omap_atomic_complete [omapdrm]) from
> [<bf2ab7d8>] (omap_atomic_commit+0x180/0x268 [omapdrm]) [  760.420164] 
> r9:00000000 r8:00000000 r7:ed233000 r6:ed19db00 r5:ed19d780 r4:ed233128 ^H[
>  760.428075] [<bf2ab658>] (omap_atomic_commit [omapdrm]) from [<bf210d54>]
> (drm_atomic_commit+0x54/0x60 [drm]) [  760.438105]  r10:bf22c188
> r9:bf22c1b8 r8:ee145000 r7:ed3b5e04 r6:ee145000 r5:ed19db00 [  760.445974] 
> r4:00000000
> ^H[  760.448691] [<bf210d00>] (drm_atomic_commit [drm]) from [<bf27dffc>]
> (drm_atomic_helper_set_config+0x80/0xd8 [drm_kms_helper ])
> [  760.460160]  r7:ed3b5e04 r6:ed0ae800 r5:00000000 r4:ed19db00
> [  760.466007] [<bf27df7c>] (drm_atomic_helper_set_config [drm_kms_helper])
> from [<bf2046b8>] (drm_mode_set_config_internal+0x6c/ 0xfc [drm])
> [  760.478413]  r7:ee14548c r6:ee145480 r5:ed0ae800 r4:00000000
> ^H[  760.484317] [<bf20464c>] (drm_mode_set_config_internal [drm]) from
> [<bf204780>] (drm_crtc_force_disable+0x38/0x40 [drm]) [  760.495293] 
> r7:ee14548c r6:ee145480 r5:ed24f800 r4:ed0ae800
> [  760.501196] [<bf204748>] (drm_crtc_force_disable [drm]) from [<bf212e94>]
> (drm_framebuffer_remove+0xd0/0x110 [drm]) ^H[  760.511807] [<bf212dc4>]
> (drm_framebuffer_remove [drm]) from [<bf2b4274>] (omap_fbdev_free+0x60/0x7c
> [omapdrm]) [  760.522090]  r10:00000000 r9:ed3b4000 r8:c0ddb380 r7:00000000
> r6:c0d0c25c r5:ed233000 [  760.529959]  r4:ed285200 r3:00000001
> [  760.533591] [<bf2b4214>] (omap_fbdev_free [omapdrm]) from [<bf2ab288>]
> (pdev_remove+0x48/0x90 [omapdrm]) [  760.543118]  r5:ed233000 r4:ee145000
> ^H[  760.546738] [<bf2ab240>] (pdev_remove [omapdrm]) from [<c05a1918>]
> (platform_drv_remove+0x2c/0x44) [  760.555893]  r5:c0d0c228 r4:c0d0c228
> [  760.559495] [<c05a18ec>] (platform_drv_remove) from [<c059ed24>]
> (__device_release_driver+0x90/0x12c) [  760.568760]  r5:bf2b64e4
> r4:c0d0c228
> [  760.572379] [<c059ec94>] (__device_release_driver) from [<c059f9b0>]
> (driver_detach+0xc0/0xc4) [  760.581033]  r5:bf2b64e4 r4:c0d0c228
> ^H[  760.584633] [<c059f8f0>] (driver_detach) from [<c059e764>]
> (bus_remove_driver+0x64/0xdc) [  760.592936]  r7:c0b3bbfc r6:c0ddb368
> r5:bf2b42e4 r4:bf2b64e4
> [  760.598627] [<c059e700>] (bus_remove_driver) from [<c05a079c>]
> (driver_unregister+0x30/0x50) [  760.607106]  r5:bf2b42e4 r4:bf2b64e4
> [  760.610707] [<c05a076c>] (driver_unregister) from [<c05a1a3c>]
> (platform_unregister_drivers+0x3c/0x74) [  760.620078]  r5:bf2b42e4
> r4:00000000
> ^H[  760.623697] [<c05a1a00>] (platform_unregister_drivers) from
> [<bf2b42b8>] (omap_drm_fini+0x28/0x38 [omapdrm]) [  760.633730] 
> r9:ed3b4000 r8:c0108c04 r7:00000081 r6:00000800 r5:0003cd4c r4:bf2b6800 [ 
> 760.641536] [<bf2b4290>] (omap_drm_fini [omapdrm]) from [<c01e63d4>]
> (SyS_delete_module+0x144/0x21c) [  760.650725] [<c01e6290>]
> (SyS_delete_module) from [<c0108a60>] (ret_fast_syscall+0x0/0x1c) [ 
> 760.659033]  r6:bec63c10 r5:0003cd10 r4:bec63dfc
> ^H[  760.663832] ---[ end trace ebaa3f100ebbc058 ]---

-- 
Regards,

Laurent Pinchart



More information about the dri-devel mailing list