diff options
author | Denys Drozdov <denys.drozdov@toradex.com> | 2021-12-06 18:07:17 +0200 |
---|---|---|
committer | Denys Drozdov <denys.drozdov@toradex.com> | 2021-12-06 18:11:55 +0200 |
commit | 6ffa48ab9ec758fbbf24eab6469bbf4eb7958541 (patch) | |
tree | 5016c26d46c761f77286fba33968faa13e855f34 /arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi | |
parent | f92dfe36065c171227fbbdaf3268b7ba92e65934 (diff) |
gpu: drm: bridge: lt8912: add delayed work for hotplug events
Hotplug interrupt raised by DSI to HDMI adapter before
DRM bridge attached could produce the following trace during system startup:
[ 2.194629] Internal error: Oops: 96000004 [#1] PREEMPT SMP
[ 2.222580] Modules linked in:
[ 2.225640] CPU: 3 PID: 205 Comm: irq/156-lt8912_ Not tainted 5.4.154-5.5.0-devel+git.f92dfe36065c #1
[ 2.234865] Hardware name: Toradex Verdin iMX8M Plus WB on Verdin Development Board (DT)
[ 2.242961] pstate: 40000005 (nZcv daif -PAN -UAO)
[ 2.247759] pc : drm_helper_hpd_irq_event+0x18/0x148
[ 2.252728] lr : lt8912_hpd_irq_thread+0x10/0x20
[ 2.257346] sp : ffff8000129abd00
[ 2.260662] x29: ffff8000129abd00 x28: ffff0000f8f35400
[ 2.265977] x27: ffff0000f8f35400 x26: ffff80001013d1c8
[ 2.271290] x25: 0000000000000001 x24: ffff0000f8f35400
[ 2.276607] x23: 0000000000000000 x22: ffff0000f91d6400
[ 2.281923] x21: ffff0000f9217d00 x20: ffff0000f91d6400
[ 2.293764] x19: ffff0000f9217d00 x18: 0000000000000000
[ 2.293767] x17: 0000000000000000 x16: 0000000000000000
[ 2.293771] x15: 0000000000000000 x14: ffff0000f80bb800
[ 2.293777] x13: 0000000000000000 x12: 0000000000000000
[ 2.304052] x11: 0000000000000001 x10: 00000000000009c0
[ 2.304055] x9 : ffff8000129abd10 x8 : ffff0000f8f35e20
[ 2.304058] x7 : ffff0000fb9f3440 x6 : 00000000000001b7
[ 2.304061] x5 : 000000000000ba38 x4 : 0000000000000000
[ 2.304063] x3 : ffff8000ea4ff000 x2 : ffff8000107425e0
[ 2.314689] x1 : ffff0000f91f7080 x0 : 0000000000000000
[ 2.314692] Call trace:
[ 2.314697] drm_helper_hpd_irq_event+0x18/0x148
[ 2.314701] lt8912_hpd_irq_thread+0x10/0x20
[ 2.324544] irq_thread_fn+0x28/0x98
[ 2.324547] irq_thread+0x148/0x240
[ 2.324554] kthread+0x138/0x158
[ 2.335174] ret_from_fork+0x10/0x1c
[ 2.335181] Code: a9025bf5 a90363f7 d5384118 aa0003f7 (394ce015)
[ 2.335184] ---[ end trace e41c7815a88a0d1f ]---
[ 2.345831] genirq: exiting task "irq/156-lt8912_" (205) is an active IRQ thread (irq 156)
Add separate hotplug delayed work to avoid processing hotplug events
in hard interrupt context and check for an actual drm bridge device
Signed-off-by: Denys Drozdov <denys.drozdov@toradex.com>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi')
0 files changed, 0 insertions, 0 deletions