anholt / linux

Other
134 stars 24 forks source link

transfer interrupt wait timeout on new DSI Panel #133

Open jwaani2 opened 6 years ago

jwaani2 commented 6 years ago

Hello Mr Eric, I've seen your blogs and project recently. It's very helpful to me, so I want to pay my tribute of praise for your works in first. ^^b And I really appreciate of it.

I am working on new MIPI-DSI Panel, Innolux's product which named P101DBZ-3Z1, to attach on rpi cm3 with VC4 & KMS.

As I mentioned on title, I'm stuck at transfer timeout of "vc4 dsi" I adapted raydium-rm68200 to innolux, p101dbz, change match table, reset timing, init sequences but without changing filename. I traced into source code and I found that IRQ(vc4_dsi_irq_defer_to_thread_handler & vc4_dsi_irq_handler on drivers/gpu/drm/vc4/vc4_dsi.c) is not called.

I've working on it for weeks but I can not find the reason, could you please give me a tip? Thanks for your efforts again.

Here are boot logs... (I add some debug messages on kernel to debug ) [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.61-v7+ (pi@ubuntu) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #30 SMP Thu May 3 14:26:32 KST 2018 [ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: Raspberry Pi Compute Module 3 Rev 1.0 [ 0.000000] cma: Reserved 256 MiB at 0x1ec00000 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 229376 [ 0.000000] free_area_init_node: node 0, pgdat 80c6f380, node_mem_map b779a000 [ 0.000000] Normal zone: 2016 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 229376 pages, LIFO batch:31 [ 0.000000] percpu: Embedded 14 pages/cpu @b7753000 s25600 r8192 d23552 u57344 [ 0.000000] pcpu-alloc: s25600 r8192 d23552 u57344 alloc=14*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 227360 [ 0.000000] Kernel command line: cma=256M bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:E4:29:E5 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=PARTUUID=62b79e0a-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Memory: 633132K/917504K available (7168K kernel code, 486K rwdata, 2012K rodata, 1024K init, 770K bss, 22228K reserved, 262144K cma-reserved) [ 0.000000] Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xffc00000 - 0xfff00000 (3072 kB) vmalloc : 0xb8800000 - 0xff800000 (1136 MB) lowmem : 0x80000000 - 0xb8000000 ( 896 MB) modules : 0x7f000000 - 0x80000000 ( 16 MB) .text : 0x80008000 - 0x80800000 (8160 kB) .init : 0x80b00000 - 0x80c00000 (1024 kB) .data : 0x80c00000 - 0x80c7981c ( 487 kB) .bss : 0x80c7b000 - 0x80d3b964 ( 771 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 19.20MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns [ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns [ 0.000023] Switching to timer-based delay loop, resolution 52ns [ 0.000296] Console: colour dummy device 80x30 [ 0.001204] console [tty1] enabled [ 0.001248] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000) [ 0.001315] pid_max: default: 32768 minimum: 301 [ 0.001625] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001668] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.002703] Disabling memory control group subsystem [ 0.002803] CPU: Testing write buffer coherency: ok [ 0.002865] ftrace: allocating 22376 entries in 66 pages [ 0.050175] CPU0: update cpu_capacity 1024 [ 0.050223] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.050284] Setting up static identity map for 0x100000 - 0x100034 [ 0.052195] CPU1: update cpu_capacity 1024 [ 0.052201] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.052849] CPU2: update cpu_capacity 1024 [ 0.052855] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002 [ 0.053487] CPU3: update cpu_capacity 1024 [ 0.053494] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003 [ 0.053584] Brought up 4 CPUs [ 0.053754] SMP: Total of 4 processors activated (153.60 BogoMIPS). [ 0.053784] CPU: All CPU(s) started in HYP mode. [ 0.053810] CPU: Virtualization extensions available. [ 0.054617] devtmpfs: initialized [ 0.066329] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4 [ 0.066653] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.066714] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.077852] pinctrl core: initialized pinctrl subsystem [ 0.078890] NET: Registered protocol family 16 [ 0.081230] DMA: preallocated 1024 KiB pool for atomic coherent allocations [ 0.090145] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.090193] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.090371] Serial: AMBA PL011 UART driver [ 0.092405] bcm2835-mbox 3f00b880.mailbox: mailbox enabled [ 0.161061] bcm2835-dma 3f007000.dma: DMA legacy API manager at b880f000, dmachans=0x1 [ 0.162964] SCSI subsystem initialized [ 0.163147] usbcore: registered new interface driver usbfs [ 0.163255] usbcore: registered new interface driver hub [ 0.163372] usbcore: registered new device driver usb [ 0.170031] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-02-02 16:19 [ 0.171456] clocksource: Switched to clocksource arch_sys_counter [ 0.215889] VFS: Disk quotas dquot_6.6.0 [ 0.215998] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes) [ 0.216237] FS-Cache: Loaded [ 0.216512] CacheFiles: Loaded [ 0.228803] NET: Registered protocol family 2 [ 0.229708] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.229845] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.230055] TCP: Hash tables configured (established 8192 bind 8192) [ 0.230168] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.230236] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.230470] NET: Registered protocol family 1 [ 0.230917] RPC: Registered named UNIX socket transport module. [ 0.230949] RPC: Registered udp transport module. [ 0.230977] RPC: Registered tcp transport module. [ 0.231004] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.232128] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available [ 0.234515] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [ 0.250559] FS-Cache: Netfs 'nfs' registered for caching [ 0.251607] NFS: Registering the id_resolver key type [ 0.251664] Key type id_resolver registered [ 0.251692] Key type id_legacy registered [ 0.254016] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.254166] io scheduler noop registered [ 0.254196] io scheduler deadline registered (default) [ 0.254478] io scheduler cfq registered [ 0.257841] gpio gpiochip0: (pinctrl-bcm2835): added GPIO chardev (254:0) [ 0.258209] gpiochip_setup_dev: registered GPIOs 0 to 53 on device: gpiochip0 (pinctrl-bcm2835) [ 0.258921] gpio gpiochip1: (brcmexp-gpio): added GPIO chardev (254:1) [ 0.259220] gpiochip_setup_dev: registered GPIOs 128 to 135 on device: gpiochip1 (brcmexp-gpio) [ 0.259729] gpio gpiochip2: (brcmvirt-gpio): added GPIO chardev (254:2) [ 0.260036] gpiochip_setup_dev: registered GPIOs 100 to 101 on device: gpiochip2 (brcmvirt-gpio) [ 0.262199] bcm2835-rng 3f104000.rng: hwrng registered [ 0.262366] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB) [ 0.262954] vc-sm: Videocore shared memory driver [ 0.277861] brd: module loaded [ 0.286741] loop: module loaded [ 0.286782] Loading iSCSI transport class v2.0-870. [ 0.287328] usbcore: registered new interface driver smsc95xx [ 0.287370] dwc_otg: version 3.00a 10-AUG-2012 (platform bus) [ 0.515469] Core Release: 2.80a [ 0.515502] Setting default values for core params [ 0.515555] Finished setting default values for core params [ 0.715969] Using Buffer DMA mode [ 0.715998] Periodic Transfer Interrupt Enhancement - disabled [ 0.716026] Multiprocessor Interrupt Enhancement - disabled [ 0.716055] OTG VER PARAM: 0, OTG VER FLAG: 0 [ 0.716094] Dedicated Tx FIFOs mode [ 0.716451] WARN::dwc_otg_hcd_init:1032: FIQ DMA bounce buffers: virt = 0x9ed04000 dma = 0xded04000 len=9024 [ 0.716518] FIQ FSM acceleration enabled for : Non-periodic Split Transactions Periodic Split Transactions High-Speed Isochronous Endpoints Interrupt/Control Split Transaction hack enabled [ 0.716631] dwc_otg: Microframe scheduler enabled [ 0.716678] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x8057d10c [ 0.716716] WARN::hcd_init_fiq:460: FIQ ASM at 0x8057d468 length 36 [ 0.716752] WARN::hcd_init_fiq:486: MPHI regs_base at 0xb88a7000 [ 0.716834] dwc_otg 3f980000.usb: DWC OTG Controller [ 0.716892] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1 [ 0.716961] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000 [ 0.717032] Init: Port Power? op_state=1 [ 0.717059] Init: Power Port (0) [ 0.717277] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002 [ 0.717314] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 0.717361] usb usb1: Product: DWC OTG Controller [ 0.717392] usb usb1: Manufacturer: Linux 4.9.61-v7+ dwc_otg_hcd [ 0.717424] usb usb1: SerialNumber: 3f980000.usb [ 0.718263] hub 1-0:1.0: USB hub found [ 0.718325] hub 1-0:1.0: 1 port detected [ 0.718998] dwc_otg: FIQ enabled [ 0.719003] dwc_otg: NAK holdoff enabled [ 0.719007] dwc_otg: FIQ split-transaction FSM enabled [ 0.719019] Module dwc_common_port init [ 0.719246] usbcore: registered new interface driver usb-storage [ 0.719506] mousedev: PS/2 mouse device common for all mice [ 0.720515] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer [ 0.720835] bcm2835-cpufreq: min=600000 max=1200000 [ 0.721275] sdhci: Secure Digital Host Controller Interface driver [ 0.721306] sdhci: Copyright(c) Pierre Ossman [ 0.723538] sdhost-bcm2835 3f202000.sdhost: could not get clk, deferring probe [ 0.723796] sdhci-pltfm: SDHCI platform and OF driver helper [ 0.723953] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/act[0]' - status (0) [ 0.724272] ledtrig-cpu: registered to indicate activity on CPUs [ 0.724393] hidraw: raw HID events driver (C) Jiri Kosina [ 0.724608] usbcore: registered new interface driver usbhid [ 0.724637] usbhid: USB HID core driver [ 0.725434] vchiq: vchiq_init_state: slot_zero = 0x9ed80000, is_master = 0

[ 0.733612] [vc_sm_connected_init]: end - returning 0 [ 0.733996] Initializing XFRM netlink socket [ 0.734042] NET: Registered protocol family 17 [ 0.734170] Key type dns_resolver registered [ 0.734576] Registering SWP/SWPB emulation handler [ 0.735296] registered taskstats version 1 [ 0.740726] uart-pl011 3f201000.serial: cts_event_workaround enabled [ 0.740819] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2 [ 1.652033] console [ttyAMA0] enabled [ 1.659209] sdhost: log_buf @ 9ed07000 (ded07000) [ 1.663987] sdhost-bcm2835 3f202000.sdhost: GPIO lookup for consumer wp [ 1.663995] sdhost-bcm2835 3f202000.sdhost: using device tree for GPIO lookup [ 1.664006] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/soc/sdhost@7e202000[0]' [ 1.664015] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/soc/sdhost@7e202000[0]' [ 1.664022] sdhost-bcm2835 3f202000.sdhost: using lookup tables for GPIO lookup [ 1.664031] sdhost-bcm2835 3f202000.sdhost: lookup for GPIO wp failed [ 1.741484] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1) [ 1.747087] of_cfs_init [ 1.749628] of_cfs_init: OK [ 1.752921] Waiting for root device PARTUUID=62b79e0a-02... [ 1.771580] Indeed it is in host mode hprt0 = 00021501 [ 1.865565] random: fast init done [ 1.971489] usb 1-1: new high-speed USB device number 2 using dwc_otg [ 1.978080] Indeed it is in host mode hprt0 = 00001101 [ 2.044026] mmc0: new high speed MMC card at address 0001 [ 2.050151] mmcblk0: mmc0:0001 4FPD3R 3.64 GiB [ 2.054916] mmcblk0boot0: mmc0:0001 4FPD3R partition 1 4.00 MiB [ 2.061142] mmcblk0boot1: mmc0:0001 4FPD3R partition 2 4.00 MiB [ 2.067360] mmcblk0rpmb: mmc0:0001 4FPD3R partition 3 512 KiB [ 2.074511] mmcblk0: p1 p2 [ 2.122772] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null) [ 2.130946] VFS: Mounted root (ext4 filesystem) readonly on device 179:2. [ 2.144986] devtmpfs: mounted [ 2.149413] Freeing unused kernel memory: 1024K [ 2.212561] usb 1-1: New USB device found, idVendor=0bda, idProduct=8152 [ 2.219302] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 2.226485] usb 1-1: Product: USB 10/100 LAN [ 2.230774] usb 1-1: Manufacturer: Realtek [ 2.234908] usb 1-1: SerialNumber: 00E04C3649E0 [ 2.408153] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) [ 2.421956] systemd[1]: Detected architecture 'arm'. [ 2.524996] NET: Registered protocol family 10 [ 2.530873] systemd[1]: Inserted module 'ipv6' [ 2.536826] systemd[1]: Set hostname to . [ 2.542255] systemd[1]: Initializing machine ID from random generator. [ 2.549006] systemd[1]: Installed transient /etc/machine-id file. [ 2.604364] uart-pl011 3f201000.serial: no DMA platform data [ 2.843077] systemd[1]: Cannot add dependency job for unit regenerate_ssh_host_keys.service, ignoring: Unit regenerate_ssh_host_keys.service failed to load: No such file or directory. [ 2.859867] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. [ 2.877832] systemd[1]: Expecting device dev-ttyAMA0.device... [ 2.884297] systemd[1]: Starting Forward Password Requests to Wall Directory Watch. [ 3.292826] systemd-udevd[148]: starting version 215 [ 3.514130] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator_5v0[0]' [ 3.515108] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator_3v3[0]' [ 3.578053] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000 [ 3.695080] [drm] Initialized [ 3.718680] Indeed it is in host mode hprt0 = 00001101 [ 3.780038] usbcore: registered new interface driver r8152 [ 3.785386] usbcore: registered new interface driver cdc_ether [ 3.901520] vc4_dsi_dev_probe: 3f700000.dsi [ 3.903403] vc4_drm_bind: b724ee10 [ 3.903659] vc4_dsi_bind: id 0 647369 647369 [ 3.904072] dsi_dma_workaround_write:0 DMA mem =9ed09000, offset=34 val=3fc0 port 1 [ 3.904143] Succeed sync DMA: 0 2 [ 3.904151] dsi_dma_workaround_write:1 DMA mem =9ed09000, offset=30 val=0 port 1 [ 3.904163] Succeed sync DMA: 0 3 [ 3.904197] vc4_dsi_bind: irq 74 0 3f700000.dsi [ 3.904381] vc4_dsi_bind: escape_clock b4955e40 [ 3.904481] vc4_dsi_init_phy_clocks: b6545c10 port 1 name=plld_dsi1 [ 3.905214] drm_encoder_init: (null) (null) [ 3.905229] drm_encoder_init: DONE DSI-23 (null) [ 3.905559] rm68200_probe... test [ 3.905647] panel-test-p101dbz 3f700000.dsi.0: GPIO lookup for consumer reset [ 3.905655] panel-test-p101dbz 3f700000.dsi.0: using device tree for GPIO lookup [ 3.905675] of_get_named_gpiod_flags: parsed 'reset-gpios' property of node '/soc/dsi@7e700000/panel@0[0]' - status (0) [ 3.905699] GPIO: b72c75a0 [ 3.905718] 3f700000.dsi.0 supply power not found, using dummy regulator [ 3.905772] vc4_dsi_host_attach: lanes 4, channel 0 [ 3.905779] vc4_dsi_host_attach: found panel!, attach panel, connector=DSI-1 [ 3.905784] vc4_dsi_host_attach: name 3f700000.dsi, port 1 [ 3.905789] drm_helper_hpd_irq_event: b6616800 [ 3.905799] panel-test-p101dbz 3f700000.dsi.0: probe test DSI LCD 0 4 ret=0 [ 3.905834] vc4_dsi_bind: done [ 3.905939] vc4-drm soc:gpu: bound 3f700000.dsi (ops vc4_dsi_ops [vc4]) [ 3.906090] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4]) [ 3.906390] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 3.906703] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 3.906913] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4]) [ 3.921620] usb 1-1: reset high-speed USB device number 2 using dwc_otg [ 3.921913] Indeed it is in host mode hprt0 = 00001101 [ 3.927237] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4]) [ 3.928997] vc4_kms_load: dev b6616800 [ 3.929008] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 3.929012] [drm] Driver supports precise vblank timestamp query. [ 3.929018] drm_mode_config_reset: b6616800 [ 3.929062] drm_atomic_helper_connector_reset: b6617410 [ 3.929079] drm_helper_probe_single_connector_modes: b6617410 DSI-1 2048 2048 [ 3.929085] vc4_dsi_connector_detect: b6617410 DSI-1 [ 3.929100] drm_mode_probed_add: DSI-1 800x1280 [ 3.929106] rm68200_get_modes: w 2048 h 2048 type 800x1280 48 [ 3.929110] drm_helper_probe_add_cmdline_mode: DSI-1 [ 3.929128] Modeline 58:"800x1280" 60 74250000 800 838 846 884 1280 1292 1296 1308 0x48 0x0 [ 3.929133] drm_helper_probe_single_connector_modes: DONE b6617410 DSI-1 [ 3.938721] drm_atomic_get_connector_state: num=1 index=0 DSI-1 [ 3.938731] Added [CONNECTOR:24] b66b1e00 state to b66b1d40 [ 3.938747] drm_atomic_helper_check: dev b6616800 [ 3.938751] drm_atomic_helper_check_modeset: dev b6616800 [ 3.938758] handle_conflicting_encoders: b66b1d40 0 [ 3.938765] drm_atomic_helper_check_modeset: conflicting_encoders 1, ret=0 [ 3.938768] update_connector_routing: dev b6617410 [ 3.938779] mode_fixup: dev b66b1d40 [ 3.938783] mode_fixup: connector num_connector=1 [ 3.938786] mode_fixup: foreach connector 0 DSI-1 [ 3.938791] drm_bridge_mode_fixup: 0 [ 3.938799] vc4_dsi_encoder_mode_fixup: clock 0 0 [ 3.938803] mode_fixup: funcs->mod_fixup 1 [ 3.938861] disable_outputs: b6616800 [ 3.938873] vc4_crtc_mode_set_nofb: 1 b4938010 4 [ 3.939004] vc4_dsi_encoder_enable: encoder b6b8af90 [ 3.939020] rm68200_prepare: panel=b48d2514 [ 3.939023] RESET GPIO -> High [ 3.981484] RESET GPIO -> Low [ 4.101540] RESET GPIO -> High [ 4.198068] random: crng init done [ 4.243405] r8152 1-1:1.0 eth0: v2.10.00 (2018/03/16) [ 4.243413] r8152 1-1:1.0 eth0: This product is covered by one or more of the following patents: US6,570,884, US6,115,776, and US6,327,625.

[ 4.271485] START DSI init SEQ... [ 4.271487] send DCS init seq... [ 4.271493] rm68200_dcs_write_cmd: cmd ff v aa [ 4.271497] mipi_dsi_dcs_write: cmd ff 1 [ 4.271508] vc4_dsi_host_transfer: host=b6545c14, cmd b66b1f40 data 0 len 2 [ 4.271517] dsi_dma_workaround_write:2 DMA mem =9ed09000, offset=30 val=200002 port 1 [ 4.271535] Succeed sync DMA: 0 4 [ 4.271541] dsi_dma_workaround_write:3 DMA mem =9ed09000, offset=34 val=3fc2 port 1 [ 4.271552] Succeed sync DMA: 0 5 [ 4.271556] vc4_dsi_host_transfer: INT_EN 203fc0 3fc2 [ 4.271561] dsi_dma_workaround_write:4 DMA mem =9ed09000, offset=8 val=aaff15 port 1 [ 4.271572] Succeed sync DMA: 0 6 [ 4.271577] dsi_dma_workaround_write:5 DMA mem =9ed09000, offset=4 val=409 port 1 [ 4.271587] Succeed sync DMA: 0 7 [ 5.281502] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 5.281512] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 5.281520] dsi_dma_workaround_write:6 DMA mem =9ed09000, offset=34 val=3fc0 port 1 [ 5.281536] Succeed sync DMA: 0 8 [ 5.281630] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 [ 5.281636] dsi_dma_workaround_write:7 DMA mem =9ed09000, offset=4 val=408 port 1 [ 5.281647] Succeed sync DMA: 0 9 [ 5.281654] dsi_dma_workaround_write:8 DMA mem =9ed09000, offset=0 val=f0 port 1 [ 5.281664] Succeed sync DMA: 0 a [ 5.281670] dsi_dma_workaround_write:9 DMA mem =9ed09000, offset=4 val=0 port 1 [ 5.281680] Succeed sync DMA: 0 b [ 5.281686] dsi_dma_workaround_write:10 DMA mem =9ed09000, offset=34 val=3fc0 port 1 [ 5.281696] Succeed sync DMA: 0 c [ 5.281705] [drm:rm68200_dcs_write_cmd] ERROR MIPI DSI DCS write failed: -110 [ 5.281710] rm68200_dcs_write_cmd: cmd 0 v 55 [ 5.281714] mipi_dsi_dcs_write: cmd 0 1 [ 5.281721] vc4_dsi_host_transfer: host=b6545c14, cmd b6434200 data 0 len 2 [ 5.281729] dsi_dma_workaround_write:11 DMA mem =9ed09000, offset=30 val=200002 port 1 [ 5.281739] Succeed sync DMA: 0 d [ 5.281745] dsi_dma_workaround_write:12 DMA mem =9ed09000, offset=34 val=3fc2 port 1 [ 5.281755] Succeed sync DMA: 0 e [ 5.281759] vc4_dsi_host_transfer: INT_EN 203fc0 3fc2 [ 5.281764] dsi_dma_workaround_write:13 DMA mem =9ed09000, offset=8 val=550015 port 1 [ 5.281774] Succeed sync DMA: 0 f [ 5.281780] dsi_dma_workaround_write:14 DMA mem =9ed09000, offset=4 val=409 port 1 [ 5.281790] Succeed sync DMA: 0 10 [ 6.321487] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 6.321494] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 6.321500] dsi_dma_workaround_write:15 DMA mem =9ed09000, offset=34 val=3fc0 port 1 [ 6.321511] Succeed sync DMA: 0 11 [ 6.321586] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 [ 6.321592] dsi_dma_workaround_write:16 DMA mem =9ed09000, offset=4 val=408 port 1 [ 6.321602] Succeed sync DMA: 0 12 [ 6.321610] dsi_dma_workaround_write:17 DMA mem =9ed09000, offset=0 val=f0 port 1 [ 6.321621] Succeed sync DMA: 0 13 [ 6.321626] dsi_dma_workaround_write:18 DMA mem =9ed09000, offset=4 val=0 port 1 [ 6.321636] Succeed sync DMA: 0 14 [ 6.321642] dsi_dma_workaround_write:19 DMA mem =9ed09000, offset=34 val=3fc0 port 1 [ 6.321654] Succeed sync DMA: 0 15 [ 6.321660] [drm:rm68200_dcs_write_cmd] ERROR MIPI DSI DCS write failed: -110 [ 6.321664] rm68200_dcs_write_cmd: cmd 1 v a5 [ 6.321667] mipi_dsi_dcs_write: cmd 1 1 [ 6.321673] vc4_dsi_host_transfer: host=b6545c14, cmd b6434200 data 0 len 2 [ 6.321680] dsi_dma_workaround_write:20 DMA mem =9ed09000, offset=30 val=200002 port 1 [ 6.321690] Succeed sync DMA: 0 16 [ 6.321696] dsi_dma_workaround_write:21 DMA mem =9ed09000, offset=34 val=3fc2 port 1 [ 6.321706] Succeed sync DMA: 0 17 [ 6.321709] vc4_dsi_host_transfer: INT_EN 203fc0 3fc2 [ 6.321715] dsi_dma_workaround_write:22 DMA mem =9ed09000, offset=8 val=a50115 port 1 [ 6.321725] Succeed sync DMA: 0 18 [ 6.321731] dsi_dma_workaround_write:23 DMA mem =9ed09000, offset=4 val=409 port 1 [ 6.321741] Succeed sync DMA: 0 19 [ 7.361486] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 7.361493] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 7.361500] dsi_dma_workaround_write:24 DMA mem =9ed09000, offset=34 val=3fc0 port 1 [ 7.361511] Succeed sync DMA: 0 1a [ 7.361585] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 [ 7.361592] dsi_dma_workaround_write:25 DMA mem =9ed09000, offset=4 val=408 port 1 [ 7.361602] Succeed sync DMA: 0 1b [ 7.361610] dsi_dma_workaround_write:26 DMA mem =9ed09000, offset=0 val=f0 port 1 [ 7.361620] Succeed sync DMA: 0 1c [ 7.361625] dsi_dma_workaround_write:27 DMA mem =9ed09000, offset=4 val=0 port 1 [ 7.361635] Succeed sync DMA: 0 1d [ 7.361641] dsi_dma_workaround_write:28 DMA mem =9ed09000, offset=34 val=3fc0 port 1 [ 7.361651] Succeed sync DMA: 0 1e [ 7.361657] [drm:rm68200_dcs_write_cmd] ERROR MIPI DSI DCS write failed: -110 [ 7.361661] rm68200_dcs_write_cmd: cmd 2 v 80 [ 7.361664] mipi_dsi_dcs_write: cmd 2 1 [ 7.361670] vc4_dsi_host_transfer: host=b6545c14, cmd b6434200 data 0 len 2 [ 7.361676] dsi_dma_workaround_write:29 DMA mem =9ed09000, offset=30 val=200002 port 1 [ 7.361686] Succeed sync DMA: 0 1f [ 7.361692] dsi_dma_workaround_write:30 DMA mem =9ed09000, offset=34 val=3fc2 port 1 [ 7.361702] Succeed sync DMA: 0 20 [ 7.361706] vc4_dsi_host_transfer: INT_EN 203fc0 3fc2 [ 7.361712] dsi_dma_workaround_write:31 DMA mem =9ed09000, offset=8 val=800215 port 1 [ 7.361722] Succeed sync DMA: 0 21 [ 7.361728] dsi_dma_workaround_write:32 DMA mem =9ed09000, offset=4 val=409 port 1 [ 7.361738] Succeed sync DMA: 0 22 [ 8.401484] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 8.401491] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 8.401498] dsi_dma_workaround_write:33 DMA mem =9ed09000, offset=34 val=3fc0 port 1 [ 8.401509] Succeed sync DMA: 0 23 [ 8.401583] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 [ 8.401589] dsi_dma_workaround_write:34 DMA mem =9ed09000, offset=4 val=408 port 1 [ 8.401600] Succeed sync DMA: 0 24 [ 8.401607] dsi_dma_workaround_write:35 DMA mem =9ed09000, offset=0 val=f0 port 1 [ 8.401617] Succeed sync DMA: 0 25 [ 8.401623] dsi_dma_workaround_write:36 DMA mem =9ed09000, offset=4 val=0 port 1 [ 8.401633] Succeed sync DMA: 0 26 [ 8.401638] dsi_dma_workaround_write:37 DMA mem =9ed09000, offset=34 val=3fc0 port 1 [ 8.401649] Succeed sync DMA: 0 27 [ 8.401655] [drm:rm68200_dcs_write_cmd] ERROR MIPI DSI DCS write failed: -110 [ 8.401659] DCS write ERR! -110 [ 8.401661] EXIT DSI sleep... [ 8.401665] mipi_dsi_dcs_write: cmd 11 0 [ 8.401670] vc4_dsi_host_transfer: host=b6545c14, cmd b64cd6f7 data 0 len 1 [ 8.401677] dsi_dma_workaround_write:38 DMA mem =9ed09000, offset=30 val=200002 port 1 [ 8.401687] Succeed sync DMA: 0 28 [ 8.401693] dsi_dma_workaround_write:39 DMA mem =9ed09000, offset=34 val=3fc2 port 1 [ 8.401702] Succeed sync DMA: 0 29 [ 8.401706] vc4_dsi_host_transfer: INT_EN 203fc0 3fc2 [ 8.401712] dsi_dma_workaround_write:40 DMA mem =9ed09000, offset=8 val=1105 port 1 [ 8.401722] Succeed sync DMA: 0 2a [ 8.401727] dsi_dma_workaround_write:41 DMA mem =9ed09000, offset=4 val=409 port 1 [ 8.401737] Succeed sync DMA: 0 2b [ 9.441484] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 9.441492] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 9.441498] dsi_dma_workaround_write:42 DMA mem =9ed09000, offset=34 val=3fc0 port 1 [ 9.441509] Succeed sync DMA: 0 2c [ 9.441584] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 [ 9.441590] dsi_dma_workaround_write:43 DMA mem =9ed09000, offset=4 val=408 port 1 [ 9.441601] Succeed sync DMA: 0 2d [ 9.441608] dsi_dma_workaround_write:44 DMA mem =9ed09000, offset=0 val=f0 port 1 [ 9.441618] Succeed sync DMA: 0 2e [ 9.441624] dsi_dma_workaround_write:45 DMA mem =9ed09000, offset=4 val=0 port 1 [ 9.441633] Succeed sync DMA: 0 2f [ 9.441639] dsi_dma_workaround_write:46 DMA mem =9ed09000, offset=34 val=3fc0 port 1 [ 9.441649] Succeed sync DMA: 0 30 [ 9.441723] [drm:vc4_dsi_encoder_enable [vc4]] ERROR Panel failed to prepare [ 9.501486] ------------[ cut here ]------------ [ 9.501617] WARNING: CPU: 3 PID: 173 at drivers/gpu/drm/drm_atomic_helper.c:1170 drm_atomic_helper_wait_for_vblanks+0x248/0x254 [drm_kms_helper] [ 9.501621] [CRTC:37] vblank wait timed out [ 9.501680] Modules linked in: vc4(+) drm_kms_helper snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer panel_raydium_rm68200 cdc_ether snd syscopyarea sysfillrect sysimgblt fb_sys_fops r8152 drm i2c_bcm2835 bcm2835_gpiomem uio_pdrv_genirq uio fixed ipv6 [ 9.501690] CPU: 3 PID: 173 Comm: systemd-udevd Not tainted 4.9.61-v7+ #30 [ 9.501693] Hardware name: BCM2835 [ 9.501720] [<8010f744>] (unwind_backtrace) from [<8010bd1c>] (show_stack+0x20/0x24) [ 9.501736] [<8010bd1c>] (show_stack) from [<80449ca0>] (dump_stack+0xc8/0x114) [ 9.501752] [<80449ca0>] (dump_stack) from [<8011cd38>] (warn+0xe8/0x114) [ 9.501763] [<8011cd38>] (warn) from [<8011cdac>] (warn_slowpath_fmt+0x48/0x50) [ 9.501880] [<8011cdac>] (warn_slowpath_fmt) from [<7f227390>] (drm_atomic_helper_wait_for_vblanks+0x248/0x254 [drm_kms_helper]) [ 9.502076] [<7f227390>] (drm_atomic_helper_wait_for_vblanks [drm_kms_helper]) from [<7f2616cc>] (vc4_atomic_complete_commit+0x64/0x8c [vc4]) [ 9.502226] [<7f2616cc>] (vc4_atomic_complete_commit [vc4]) from [<7f2618bc>] (vc4_atomic_commit+0x1c8/0x26c [vc4]) [ 9.502572] [<7f2618bc>] (vc4_atomic_commit [vc4]) from [<7f0ef660>] (drm_atomic_commit+0x5c/0x68 [drm]) [ 9.502937] [<7f0ef660>] (drm_atomic_commit [drm]) from [<7f22d4a4>] (restore_fbdev_mode+0x154/0x29c [drm_kms_helper]) [ 9.503159] [<7f22d4a4>] (restore_fbdev_mode [drm_kms_helper]) from [<7f22db38>] (drm_fb_helper_restore_fbdev_mode_unlocked+0x3c/0x88 [drm_kms_helper]) [ 9.503382] [<7f22db38>] (drm_fb_helper_restore_fbdev_mode_unlocked [drm_kms_helper]) from [<7f22d9f4>] (drm_fb_helper_set_par+0x3c/0x6c [drm_kms_helper]) [ 9.503502] [<7f22d9f4>] (drm_fb_helper_set_par [drm_kms_helper]) from [<80487ad4>] (fbcon_init+0x4d0/0x52c) [ 9.503520] [<80487ad4>] (fbcon_init) from [<804c4b88>] (visual_init+0xcc/0x11c) [ 9.503536] [<804c4b88>] (visual_init) from [<804c6c98>] (do_bind_con_driver+0x13c/0x320) [ 9.503550] [<804c6c98>] (do_bind_con_driver) from [<804c7224>] (do_take_over_console+0x138/0x1b4) [ 9.503562] [<804c7224>] (do_take_over_console) from [<80487ba8>] (do_fbcon_takeover+0x78/0xe0) [ 9.503574] [<80487ba8>] (do_fbcon_takeover) from [<80488954>] (fbcon_event_notify+0x8a8/0x908) [ 9.503590] [<80488954>] (fbcon_event_notify) from [<8013d204>] (notifier_call_chain+0x54/0x94) [ 9.503607] [<8013d204>] (notifier_call_chain) from [<8013d63c>] (blocking_notifier_call_chain+0x58/0x70) [ 9.503623] [<8013d63c>] (__blocking_notifier_call_chain) from [<8013d67c>] (blocking_notifier_call_chain+0x28/0x30) [ 9.503638] [<8013d67c>] (blocking_notifier_call_chain) from [<8048b780>] (fb_notifier_call_chain+0x28/0x30) [ 9.503653] [<8048b780>] (fb_notifier_call_chain) from [<8048d418>] (register_framebuffer+0x1d0/0x2ac) [ 9.503772] [<8048d418>] (register_framebuffer) from [<7f22dde0>] (drm_fb_helper_initial_config+0x25c/0x410 [drm_kms_helper]) [ 9.503991] [<7f22dde0>] (drm_fb_helper_initial_config [drm_kms_helper]) from [<7f22e734>] (drm_fbdev_cma_init_with_funcs+0x88/0x108 [drm_kms_helper]) [ 9.504214] [<7f22e734>] (drm_fbdev_cma_init_with_funcs [drm_kms_helper]) from [<7f22e7d8>] (drm_fbdev_cma_init+0x24/0x30 [drm_kms_helper]) [ 9.504397] [<7f22e7d8>] (drm_fbdev_cma_init [drm_kms_helper]) from [<7f261b14>] (vc4_kms_load+0x98/0xd8 [vc4]) [ 9.504541] [<7f261b14>] (vc4_kms_load [vc4]) from [<7f25aca4>] (vc4_drm_bind+0x104/0x15c [vc4]) [ 9.504622] [<7f25aca4>] (vc4_drm_bind [vc4]) from [<804e593c>] (try_to_bring_up_master+0x150/0x198) [ 9.504637] [<804e593c>] (try_to_bring_up_master) from [<804e5b60>] (component_master_add_with_match+0x90/0xc8) [ 9.504714] [<804e5b60>] (component_master_add_with_match) from [<7f25ad9c>] (vc4_platform_drm_probe+0xa0/0xb8 [vc4]) [ 9.504793] [<7f25ad9c>] (vc4_platform_drm_probe [vc4]) from [<804ec5cc>] (platform_drv_probe+0x5c/0xbc) [ 9.504808] [<804ec5cc>] (platform_drv_probe) from [<804eaa2c>] (driver_probe_device+0x218/0x2cc) [ 9.504824] [<804eaa2c>] (driver_probe_device) from [<804eab9c>] (driver_attach+0xbc/0xc0) [ 9.504838] [<804eab9c>] (__driver_attach) from [<804e8aa8>] (bus_for_each_dev+0x74/0xa4) [ 9.504852] [<804e8aa8>] (bus_for_each_dev) from [<804ea3b4>] (driver_attach+0x28/0x30) [ 9.504866] [<804ea3b4>] (driver_attach) from [<804e9f50>] (bus_add_driver+0x194/0x21c) [ 9.504881] [<804e9f50>] (bus_add_driver) from [<804eb284>] (driver_register+0x88/0x108) [ 9.504895] [<804eb284>] (driver_register) from [<804ec510>] (platform_driver_register+0x40/0x54) [ 9.504976] [<804ec510>] (platform_driver_register) from [<7f27c060>] (vc4_drm_register+0x60/0x70 [vc4]) [ 9.505062] [<7f27c060>] (vc4_drm_register [vc4]) from [<80101bcc>] (do_one_initcall+0x4c/0x188) [ 9.505078] [<80101bcc>] (do_one_initcall) from [<8020411c>] (do_init_module+0x6c/0x1e0) [ 9.505095] [<8020411c>] (do_init_module) from [<8019eb9c>] (load_module+0x1ca0/0x20f8) [ 9.505112] [<8019eb9c>] (load_module) from [<8019f1c4>] (SyS_finit_module+0x9c/0xac) [ 9.505128] [<8019f1c4>] (SyS_finit_module) from [<80107e40>] (ret_fast_syscall+0x0/0x1c) [ 9.505134] ---[ end trace 7cd1e6c5b278d8f9 ]--- [ 9.505484] Console: switching to colour frame buffer device 100x80 [ 9.505569] drm_atomic_get_connector_state: num=1 index=0 DSI-1 [ 9.505575] Added [CONNECTOR:24] b66b1d40 state to b6434280 [ 9.505581] drm_atomic_get_connector_state: num=1 index=0 DSI-1 [ 9.505596] drm_atomic_helper_check: dev b6616800 [ 9.505600] drm_atomic_helper_check_modeset: dev b6616800 [ 9.505606] handle_conflicting_encoders: b6434280 0 [ 9.505614] drm_atomic_helper_check_modeset: conflicting_encoders 1, ret=0 [ 9.505617] update_connector_routing: dev b6617410 [ 9.505622] mode_fixup: dev b6434280 [ 9.505626] mode_fixup: connector num_connector=1 [ 9.505629] mode_fixup: foreach connector 0 DSI-1 [ 9.505633] drm_bridge_mode_fixup: 0 [ 9.505641] vc4_dsi_encoder_mode_fixup: clock 0 0 [ 9.505644] mode_fixup: funcs->mod_fixup 1 [ 9.505682] disable_outputs: b6616800 [ 9.525999] vc4-drm soc:gpu: fb0: frame buffer device [ 9.644289] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null) [ 9.808493] systemd-journald[149]: Received request to flush runtime journal from PID 1 [ 10.073934] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 10.092184] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 10.092693] r8152 1-1:1.0 eth0: carrier on [ 10.641616] drm_helper_probe_single_connector_modes: b6617410 DSI-1 2048 2048 [ 10.641628] vc4_dsi_connector_detect: b6617410 DSI-1 [ 10.641647] drm_mode_probed_add: DSI-1 800x1280 [ 10.641653] rm68200_get_modes: w 2048 h 2048 type 800x1280 48 [ 10.641658] drm_helper_probe_add_cmdline_mode: DSI-1 [ 10.641681] Modeline 58:"800x1280" 60 74250000 800 838 846 884 1280 1292 1296 1308 0x48 0x0 [ 10.641687] drm_helper_probe_single_connector_modes: DONE b6617410 DSI-1 [ 10.641846] drm_atomic_get_connector_state: num=1 index=0 DSI-1 [ 10.641855] Added [CONNECTOR:24] b672e180 state to b672e9c0 [ 10.641862] drm_atomic_get_connector_state: num=1 index=0 DSI-1 [ 10.641879] drm_atomic_helper_check: dev b6616800 [ 10.641886] drm_atomic_helper_check_modeset: dev b6616800 [ 10.641893] handle_conflicting_encoders: b672e9c0 0 [ 10.641902] drm_atomic_helper_check_modeset: conflicting_encoders 1, ret=0 [ 10.641906] update_connector_routing: dev b6617410 [ 10.641914] mode_fixup: dev b672e9c0 [ 10.641919] mode_fixup: connector num_connector=1 [ 10.641924] mode_fixup: foreach connector 0 DSI-1 [ 10.641929] drm_bridge_mode_fixup: 0 [ 10.641939] vc4_dsi_encoder_mode_fixup: clock 0 0 [ 10.641944] mode_fixup: funcs->mod_fixup 1 [ 10.642027] disable_outputs: b6616800 [ 11.086347] Adding 102396k swap on /var/swap. Priority:-1 extents:4 across:241660k SSFS [ 627.683903] drm_atomic_helper_connector_dpms: b6617410 [ 627.683922] drm_atomic_helper_check: dev b6616800 [ 627.683925] drm_atomic_helper_check_modeset: dev b6616800 [ 627.683931] handle_conflicting_encoders: b488e300 0 [ 627.683936] drm_atomic_helper_check_modeset: conflicting_encoders 0, ret=0 [ 627.683946] drm_atomic_get_connector_state: num=1 index=0 DSI-1 [ 627.683954] Added [CONNECTOR:24] b488e480 state to b488e300 [ 627.683968] mode_fixup: dev b488e300 [ 627.683972] mode_fixup: connector num_connector=1 [ 627.683975] mode_fixup: foreach connector 0 DSI-1 [ 627.683979] drm_bridge_mode_fixup: 0 [ 627.683987] vc4_dsi_encoder_mode_fixup: clock 0 0 [ 627.683991] mode_fixup: funcs->mod_fixup 1 [ 627.684019] disable_outputs: b6616800 [ 627.684023] disable_outputs: DISALBE b6616800 [ 627.684028] rm68200_disable: panel=b48d2514 [ 627.684033] rm68200_unprepare: panel=b48d2514 [ 627.684038] ------------[ cut here ]------------ [ 627.684058] WARNING: CPU: 0 PID: 139 at drivers/clk/clk.c:594 clk_core_disable+0x170/0x180 [ 627.684122] Modules linked in: cfg80211 rfkill vc4 drm_kms_helper snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer panel_raydium_rm68200 cdc_ether snd syscopyarea sysfillrect sysimgblt fb_sys_fops r8152 drm i2c_bcm2835 bcm2835_gpiomem uio_pdrv_genirq uio fixed ipv6 [ 627.684133] CPU: 0 PID: 139 Comm: kworker/0:2 Tainted: G W 4.9.61-v7+ #30 [ 627.684136] Hardware name: BCM2835 [ 627.684150] Workqueue: events console_callback [ 627.684172] [<8010f744>] (unwind_backtrace) from [<8010bd1c>] (show_stack+0x20/0x24) [ 627.684188] [<8010bd1c>] (show_stack) from [<80449ca0>] (dump_stack+0xc8/0x114) [ 627.684203] [<80449ca0>] (dump_stack) from [<8011cd38>] (warn+0xe8/0x114) [ 627.684215] [<8011cd38>] (warn) from [<8011ce34>] (warn_slowpath_null+0x30/0x38) [ 627.684228] [<8011ce34>] (warn_slowpath_null) from [<8049a268>] (clk_core_disable+0x170/0x180) [ 627.684243] [<8049a268>] (clk_core_disable) from [<8049a51c>] (clk_core_disable_lock+0x28/0x34) [ 627.684256] [<8049a51c>] (clk_core_disable_lock) from [<8049a554>] (clk_disable+0x2c/0x30) [ 627.684337] [<8049a554>] (clk_disable) from [<7f25d6f0>] (vc4_dsi_encoder_disable+0x88/0xc8 [vc4]) [ 627.684528] [<7f25d6f0>] (vc4_dsi_encoder_disable [vc4]) from [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables+0x420/0x4dc [drm_kms_helper]) [ 627.684708] [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables [drm_kms_helper]) from [<7f261698>] (vc4_atomic_complete_commit+0x30/0x8c [vc4]) [ 627.684837] [<7f261698>] (vc4_atomic_complete_commit [vc4]) from [<7f2618bc>] (vc4_atomic_commit+0x1c8/0x26c [vc4]) [ 627.685175] [<7f2618bc>] (vc4_atomic_commit [vc4]) from [<7f0ef660>] (drm_atomic_commit+0x5c/0x68 [drm]) [ 627.685538] [<7f0ef660>] (drm_atomic_commit [drm]) from [<7f228248>] (drm_atomic_helper_connector_dpms+0xf4/0x180 [drm_kms_helper]) [ 627.685758] [<7f228248>] (drm_atomic_helper_connector_dpms [drm_kms_helper]) from [<7f22bac0>] (drm_fb_helper_dpms+0xac/0x100 [drm_kms_helper]) [ 627.685980] [<7f22bac0>] (drm_fb_helper_dpms [drm_kms_helper]) from [<7f22bb64>] (drm_fb_helper_blank+0x50/0xa8 [drm_kms_helper]) [ 627.686100] [<7f22bb64>] (drm_fb_helper_blank [drm_kms_helper]) from [<8048bcd8>] (fb_blank+0x64/0xb8) [ 627.686115] [<8048bcd8>] (fb_blank) from [<80485eb8>] (fbcon_blank+0x1f0/0x290) [ 627.686133] [<80485eb8>] (fbcon_blank) from [<804c51f8>] (do_blank_screen+0x158/0x1f8) [ 627.686149] [<804c51f8>] (do_blank_screen) from [<804c7ea8>] (console_callback+0x84/0x164) [ 627.686165] [<804c7ea8>] (console_callback) from [<801358d8>] (process_one_work+0x144/0x438) [ 627.686182] [<801358d8>] (process_one_work) from [<80135c0c>] (worker_thread+0x40/0x574) [ 627.686196] [<80135c0c>] (worker_thread) from [<8013b8a4>] (kthread+0x108/0x124) [ 627.686211] [<8013b8a4>] (kthread) from [<80107ec8>] (ret_from_fork+0x14/0x2c) [ 627.686218] ---[ end trace 7cd1e6c5b278d8fa ]--- [ 627.686224] ------------[ cut here ]------------ [ 627.686235] WARNING: CPU: 0 PID: 139 at drivers/clk/clk.c:476 clk_core_unprepare+0x16c/0x18c [ 627.686292] Modules linked in: cfg80211 rfkill vc4 drm_kms_helper snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer panel_raydium_rm68200 cdc_ether snd syscopyarea sysfillrect sysimgblt fb_sys_fops r8152 drm i2c_bcm2835 bcm2835_gpiomem uio_pdrv_genirq uio fixed ipv6 [ 627.686302] CPU: 0 PID: 139 Comm: kworker/0:2 Tainted: G W 4.9.61-v7+ #30 [ 627.686305] Hardware name: BCM2835 [ 627.686315] Workqueue: events console_callback [ 627.686329] [<8010f744>] (unwind_backtrace) from [<8010bd1c>] (show_stack+0x20/0x24) [ 627.686343] [<8010bd1c>] (show_stack) from [<80449ca0>] (dump_stack+0xc8/0x114) [ 627.686357] [<80449ca0>] (dump_stack) from [<8011cd38>] (warn+0xe8/0x114) [ 627.686368] [<8011cd38>] (warn) from [<8011ce34>] (warn_slowpath_null+0x30/0x38) [ 627.686381] [<8011ce34>] (warn_slowpath_null) from [<80499f64>] (clk_core_unprepare+0x16c/0x18c) [ 627.686396] [<80499f64>] (clk_core_unprepare) from [<8049b064>] (clk_unprepare+0x34/0x3c) [ 627.686468] [<8049b064>] (clk_unprepare) from [<7f25d6f8>] (vc4_dsi_encoder_disable+0x90/0xc8 [vc4]) [ 627.686642] [<7f25d6f8>] (vc4_dsi_encoder_disable [vc4]) from [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables+0x420/0x4dc [drm_kms_helper]) [ 627.686818] [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables [drm_kms_helper]) from [<7f261698>] (vc4_atomic_complete_commit+0x30/0x8c [vc4]) [ 627.686947] [<7f261698>] (vc4_atomic_complete_commit [vc4]) from [<7f2618bc>] (vc4_atomic_commit+0x1c8/0x26c [vc4]) [ 627.687257] [<7f2618bc>] (vc4_atomic_commit [vc4]) from [<7f0ef660>] (drm_atomic_commit+0x5c/0x68 [drm]) [ 627.687614] [<7f0ef660>] (drm_atomic_commit [drm]) from [<7f228248>] (drm_atomic_helper_connector_dpms+0xf4/0x180 [drm_kms_helper]) [ 627.687835] [<7f228248>] (drm_atomic_helper_connector_dpms [drm_kms_helper]) from [<7f22bac0>] (drm_fb_helper_dpms+0xac/0x100 [drm_kms_helper]) [ 627.688057] [<7f22bac0>] (drm_fb_helper_dpms [drm_kms_helper]) from [<7f22bb64>] (drm_fb_helper_blank+0x50/0xa8 [drm_kms_helper]) [ 627.688176] [<7f22bb64>] (drm_fb_helper_blank [drm_kms_helper]) from [<8048bcd8>] (fb_blank+0x64/0xb8) [ 627.688188] [<8048bcd8>] (fb_blank) from [<80485eb8>] (fbcon_blank+0x1f0/0x290) [ 627.688203] [<80485eb8>] (fbcon_blank) from [<804c51f8>] (do_blank_screen+0x158/0x1f8) [ 627.688217] [<804c51f8>] (do_blank_screen) from [<804c7ea8>] (console_callback+0x84/0x164) [ 627.688231] [<804c7ea8>] (console_callback) from [<801358d8>] (process_one_work+0x144/0x438) [ 627.688246] [<801358d8>] (process_one_work) from [<80135c0c>] (worker_thread+0x40/0x574) [ 627.688260] [<80135c0c>] (worker_thread) from [<8013b8a4>] (kthread+0x108/0x124) [ 627.688273] [<8013b8a4>] (kthread) from [<80107ec8>] (ret_from_fork+0x14/0x2c) [ 627.688277] ---[ end trace 7cd1e6c5b278d8fb ]--- [ 627.688281] ------------[ cut here ]------------ [ 627.688291] WARNING: CPU: 0 PID: 139 at drivers/clk/clk.c:594 clk_core_disable+0x170/0x180 [ 627.688343] Modules linked in: cfg80211 rfkill vc4 drm_kms_helper snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer panel_raydium_rm68200 cdc_ether snd syscopyarea sysfillrect sysimgblt fb_sys_fops r8152 drm i2c_bcm2835 bcm2835_gpiomem uio_pdrv_genirq uio fixed ipv6 [ 627.688350] CPU: 0 PID: 139 Comm: kworker/0:2 Tainted: G W 4.9.61-v7+ #30 [ 627.688353] Hardware name: BCM2835 [ 627.688362] Workqueue: events console_callback [ 627.688375] [<8010f744>] (unwind_backtrace) from [<8010bd1c>] (show_stack+0x20/0x24) [ 627.688387] [<8010bd1c>] (show_stack) from [<80449ca0>] (dump_stack+0xc8/0x114) [ 627.688400] [<80449ca0>] (dump_stack) from [<8011cd38>] (warn+0xe8/0x114) [ 627.688410] [<8011cd38>] (warn) from [<8011ce34>] (warn_slowpath_null+0x30/0x38) [ 627.688422] [<8011ce34>] (warn_slowpath_null) from [<8049a268>] (clk_core_disable+0x170/0x180) [ 627.688436] [<8049a268>] (clk_core_disable) from [<8049a51c>] (clk_core_disable_lock+0x28/0x34) [ 627.688449] [<8049a51c>] (clk_core_disable_lock) from [<8049a554>] (clk_disable+0x2c/0x30) [ 627.688519] [<8049a554>] (clk_disable) from [<7f25d704>] (vc4_dsi_encoder_disable+0x9c/0xc8 [vc4]) [ 627.688693] [<7f25d704>] (vc4_dsi_encoder_disable [vc4]) from [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables+0x420/0x4dc [drm_kms_helper]) [ 627.688869] [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables [drm_kms_helper]) from [<7f261698>] (vc4_atomic_complete_commit+0x30/0x8c [vc4]) [ 627.688998] [<7f261698>] (vc4_atomic_complete_commit [vc4]) from [<7f2618bc>] (vc4_atomic_commit+0x1c8/0x26c [vc4]) [ 627.689309] [<7f2618bc>] (vc4_atomic_commit [vc4]) from [<7f0ef660>] (drm_atomic_commit+0x5c/0x68 [drm]) [ 627.689667] [<7f0ef660>] (drm_atomic_commit [drm]) from [<7f228248>] (drm_atomic_helper_connector_dpms+0xf4/0x180 [drm_kms_helper]) [ 627.689889] [<7f228248>] (drm_atomic_helper_connector_dpms [drm_kms_helper]) from [<7f22bac0>] (drm_fb_helper_dpms+0xac/0x100 [drm_kms_helper]) [ 627.690112] [<7f22bac0>] (drm_fb_helper_dpms [drm_kms_helper]) from [<7f22bb64>] (drm_fb_helper_blank+0x50/0xa8 [drm_kms_helper]) [ 627.690231] [<7f22bb64>] (drm_fb_helper_blank [drm_kms_helper]) from [<8048bcd8>] (fb_blank+0x64/0xb8) [ 627.690244] [<8048bcd8>] (fb_blank) from [<80485eb8>] (fbcon_blank+0x1f0/0x290) [ 627.690258] [<80485eb8>] (fbcon_blank) from [<804c51f8>] (do_blank_screen+0x158/0x1f8) [ 627.690273] [<804c51f8>] (do_blank_screen) from [<804c7ea8>] (console_callback+0x84/0x164) [ 627.690286] [<804c7ea8>] (console_callback) from [<801358d8>] (process_one_work+0x144/0x438) [ 627.690302] [<801358d8>] (process_one_work) from [<80135c0c>] (worker_thread+0x40/0x574) [ 627.690315] [<80135c0c>] (worker_thread) from [<8013b8a4>] (kthread+0x108/0x124) [ 627.690328] [<8013b8a4>] (kthread) from [<80107ec8>] (ret_from_fork+0x14/0x2c) [ 627.690333] ---[ end trace 7cd1e6c5b278d8fc ]--- [ 627.690336] ------------[ cut here ]------------ [ 627.690346] WARNING: CPU: 0 PID: 139 at drivers/clk/clk.c:476 clk_core_unprepare+0x16c/0x18c [ 627.690398] Modules linked in: cfg80211 rfkill vc4 drm_kms_helper snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer panel_raydium_rm68200 cdc_ether snd syscopyarea sysfillrect sysimgblt fb_sys_fops r8152 drm i2c_bcm2835 bcm2835_gpiomem uio_pdrv_genirq uio fixed ipv6 [ 627.690405] CPU: 0 PID: 139 Comm: kworker/0:2 Tainted: G W 4.9.61-v7+ #30 [ 627.690408] Hardware name: BCM2835 [ 627.690416] Workqueue: events console_callback [ 627.690429] [<8010f744>] (unwind_backtrace) from [<8010bd1c>] (show_stack+0x20/0x24) [ 627.690442] [<8010bd1c>] (show_stack) from [<80449ca0>] (dump_stack+0xc8/0x114) [ 627.690454] [<80449ca0>] (dump_stack) from [<8011cd38>] (warn+0xe8/0x114) [ 627.690464] [<8011cd38>] (warn) from [<8011ce34>] (warn_slowpath_null+0x30/0x38) [ 627.690476] [<8011ce34>] (warn_slowpath_null) from [<80499f64>] (clk_core_unprepare+0x16c/0x18c) [ 627.690490] [<80499f64>] (clk_core_unprepare) from [<8049b064>] (clk_unprepare+0x34/0x3c) [ 627.690561] [<8049b064>] (clk_unprepare) from [<7f25d70c>] (vc4_dsi_encoder_disable+0xa4/0xc8 [vc4]) [ 627.690735] [<7f25d70c>] (vc4_dsi_encoder_disable [vc4]) from [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables+0x420/0x4dc [drm_kms_helper]) [ 627.690913] [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables [drm_kms_helper]) from [<7f261698>] (vc4_atomic_complete_commit+0x30/0x8c [vc4]) [ 627.691041] [<7f261698>] (vc4_atomic_complete_commit [vc4]) from [<7f2618bc>] (vc4_atomic_commit+0x1c8/0x26c [vc4]) [ 627.691351] [<7f2618bc>] (vc4_atomic_commit [vc4]) from [<7f0ef660>] (drm_atomic_commit+0x5c/0x68 [drm]) [ 627.691709] [<7f0ef660>] (drm_atomic_commit [drm]) from [<7f228248>] (drm_atomic_helper_connector_dpms+0xf4/0x180 [drm_kms_helper]) [ 627.691931] [<7f228248>] (drm_atomic_helper_connector_dpms [drm_kms_helper]) from [<7f22bac0>] (drm_fb_helper_dpms+0xac/0x100 [drm_kms_helper]) [ 627.692153] [<7f22bac0>] (drm_fb_helper_dpms [drm_kms_helper]) from [<7f22bb64>] (drm_fb_helper_blank+0x50/0xa8 [drm_kms_helper]) [ 627.692271] [<7f22bb64>] (drm_fb_helper_blank [drm_kms_helper]) from [<8048bcd8>] (fb_blank+0x64/0xb8) [ 627.692284] [<8048bcd8>] (fb_blank) from [<80485eb8>] (fbcon_blank+0x1f0/0x290) [ 627.692298] [<80485eb8>] (fbcon_blank) from [<804c51f8>] (do_blank_screen+0x158/0x1f8) [ 627.692312] [<804c51f8>] (do_blank_screen) from [<804c7ea8>] (console_callback+0x84/0x164) [ 627.692326] [<804c7ea8>] (console_callback) from [<801358d8>] (process_one_work+0x144/0x438) [ 627.692341] [<801358d8>] (process_one_work) from [<80135c0c>] (worker_thread+0x40/0x574) [ 627.692355] [<80135c0c>] (worker_thread) from [<8013b8a4>] (kthread+0x108/0x124) [ 627.692368] [<8013b8a4>] (kthread) from [<80107ec8>] (ret_from_fork+0x14/0x2c) [ 627.692397] ---[ end trace 7cd1e6c5b278d8fd ]--- [ 627.692401] ------------[ cut here ]------------ [ 627.692413] WARNING: CPU: 0 PID: 139 at drivers/clk/clk.c:594 clk_core_disable+0x170/0x180 [ 627.692465] Modules linked in: cfg80211 rfkill vc4 drm_kms_helper snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer panel_raydium_rm68200 cdc_ether snd syscopyarea sysfillrect sysimgblt fb_sys_fops r8152 drm i2c_bcm2835 bcm2835_gpiomem uio_pdrv_genirq uio fixed ipv6 [ 627.692473] CPU: 0 PID: 139 Comm: kworker/0:2 Tainted: G W 4.9.61-v7+ #30 [ 627.692475] Hardware name: BCM2835 [ 627.692484] Workqueue: events console_callback [ 627.692498] [<8010f744>] (unwind_backtrace) from [<8010bd1c>] (show_stack+0x20/0x24) [ 627.692510] [<8010bd1c>] (show_stack) from [<80449ca0>] (dump_stack+0xc8/0x114) [ 627.692522] [<80449ca0>] (dump_stack) from [<8011cd38>] (warn+0xe8/0x114) [ 627.692532] [<8011cd38>] (warn) from [<8011ce34>] (warn_slowpath_null+0x30/0x38) [ 627.692544] [<8011ce34>] (warn_slowpath_null) from [<8049a268>] (clk_core_disable+0x170/0x180) [ 627.692558] [<8049a268>] (clk_core_disable) from [<8049a51c>] (clk_core_disable_lock+0x28/0x34) [ 627.692571] [<8049a51c>] (clk_core_disable_lock) from [<8049a554>] (clk_disable+0x2c/0x30) [ 627.692641] [<8049a554>] (clk_disable) from [<7f25d718>] (vc4_dsi_encoder_disable+0xb0/0xc8 [vc4]) [ 627.692815] [<7f25d718>] (vc4_dsi_encoder_disable [vc4]) from [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables+0x420/0x4dc [drm_kms_helper]) [ 627.692991] [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables [drm_kms_helper]) from [<7f261698>] (vc4_atomic_complete_commit+0x30/0x8c [vc4]) [ 627.693121] [<7f261698>] (vc4_atomic_complete_commit [vc4]) from [<7f2618bc>] (vc4_atomic_commit+0x1c8/0x26c [vc4]) [ 627.693430] [<7f2618bc>] (vc4_atomic_commit [vc4]) from [<7f0ef660>] (drm_atomic_commit+0x5c/0x68 [drm]) [ 627.693789] [<7f0ef660>] (drm_atomic_commit [drm]) from [<7f228248>] (drm_atomic_helper_connector_dpms+0xf4/0x180 [drm_kms_helper]) [ 627.694011] [<7f228248>] (drm_atomic_helper_connector_dpms [drm_kms_helper]) from [<7f22bac0>] (drm_fb_helper_dpms+0xac/0x100 [drm_kms_helper]) [ 627.694234] [<7f22bac0>] (drm_fb_helper_dpms [drm_kms_helper]) from [<7f22bb64>] (drm_fb_helper_blank+0x50/0xa8 [drm_kms_helper]) [ 627.694353] [<7f22bb64>] (drm_fb_helper_blank [drm_kms_helper]) from [<8048bcd8>] (fb_blank+0x64/0xb8) [ 627.694366] [<8048bcd8>] (fb_blank) from [<80485eb8>] (fbcon_blank+0x1f0/0x290) [ 627.694380] [<80485eb8>] (fbcon_blank) from [<804c51f8>] (do_blank_screen+0x158/0x1f8) [ 627.694394] [<804c51f8>] (do_blank_screen) from [<804c7ea8>] (console_callback+0x84/0x164) [ 627.694408] [<804c7ea8>] (console_callback) from [<801358d8>] (process_one_work+0x144/0x438) [ 627.694423] [<801358d8>] (process_one_work) from [<80135c0c>] (worker_thread+0x40/0x574) [ 627.694437] [<80135c0c>] (worker_thread) from [<8013b8a4>] (kthread+0x108/0x124) [ 627.694450] [<8013b8a4>] (kthread) from [<80107ec8>] (ret_from_fork+0x14/0x2c) [ 627.694455] ---[ end trace 7cd1e6c5b278d8fe ]--- [ 627.694548] ------------[ cut here ]------------ [ 627.694560] WARNING: CPU: 0 PID: 139 at drivers/clk/clk.c:476 clk_core_unprepare+0x16c/0x18c [ 627.694611] Modules linked in: cfg80211 rfkill vc4 drm_kms_helper snd_soc_core snd_compress snd_pcm_dmaengine snd_pcm snd_timer panel_raydium_rm68200 cdc_ether snd syscopyarea sysfillrect sysimgblt fb_sys_fops r8152 drm i2c_bcm2835 bcm2835_gpiomem uio_pdrv_genirq uio fixed ipv6 [ 627.694619] CPU: 0 PID: 139 Comm: kworker/0:2 Tainted: G W 4.9.61-v7+ #30 [ 627.694622] Hardware name: BCM2835 [ 627.694630] Workqueue: events console_callback [ 627.694644] [<8010f744>] (unwind_backtrace) from [<8010bd1c>] (show_stack+0x20/0x24) [ 627.694656] [<8010bd1c>] (show_stack) from [<80449ca0>] (dump_stack+0xc8/0x114) [ 627.694668] [<80449ca0>] (dump_stack) from [<8011cd38>] (warn+0xe8/0x114) [ 627.694679] [<8011cd38>] (warn) from [<8011ce34>] (warn_slowpath_null+0x30/0x38) [ 627.694691] [<8011ce34>] (warn_slowpath_null) from [<80499f64>] (clk_core_unprepare+0x16c/0x18c) [ 627.694704] [<80499f64>] (clk_core_unprepare) from [<8049b064>] (clk_unprepare+0x34/0x3c) [ 627.694776] [<8049b064>] (clk_unprepare) from [<7f25d720>] (vc4_dsi_encoder_disable+0xb8/0xc8 [vc4]) [ 627.694951] [<7f25d720>] (vc4_dsi_encoder_disable [vc4]) from [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables+0x420/0x4dc [drm_kms_helper]) [ 627.695127] [<7f226ddc>] (drm_atomic_helper_commit_modeset_disables [drm_kms_helper]) from [<7f261698>] (vc4_atomic_complete_commit+0x30/0x8c [vc4]) [ 627.695256] [<7f261698>] (vc4_atomic_complete_commit [vc4]) from [<7f2618bc>] (vc4_atomic_commit+0x1c8/0x26c [vc4]) [ 627.695566] [<7f2618bc>] (vc4_atomic_commit [vc4]) from [<7f0ef660>] (drm_atomic_commit+0x5c/0x68 [drm]) [ 627.695924] [<7f0ef660>] (drm_atomic_commit [drm]) from [<7f228248>] (drm_atomic_helper_connector_dpms+0xf4/0x180 [drm_kms_helper]) [ 627.696144] [<7f228248>] (drm_atomic_helper_connector_dpms [drm_kms_helper]) from [<7f22bac0>] (drm_fb_helper_dpms+0xac/0x100 [drm_kms_helper]) [ 627.696367] [<7f22bac0>] (drm_fb_helper_dpms [drm_kms_helper]) from [<7f22bb64>] (drm_fb_helper_blank+0x50/0xa8 [drm_kms_helper]) [ 627.696486] [<7f22bb64>] (drm_fb_helper_blank [drm_kms_helper]) from [<8048bcd8>] (fb_blank+0x64/0xb8) [ 627.696498] [<8048bcd8>] (fb_blank) from [<80485eb8>] (fbcon_blank+0x1f0/0x290) [ 627.696513] [<80485eb8>] (fbcon_blank) from [<804c51f8>] (do_blank_screen+0x158/0x1f8) [ 627.696527] [<804c51f8>] (do_blank_screen) from [<804c7ea8>] (console_callback+0x84/0x164) [ 627.696541] [<804c7ea8>] (console_callback) from [<801358d8>] (process_one_work+0x144/0x438) [ 627.696556] [<801358d8>] (process_one_work) from [<80135c0c>] (worker_thread+0x40/0x574) [ 627.696570] [<80135c0c>] (worker_thread) from [<8013b8a4>] (kthread+0x108/0x124) [ 627.696583] [<8013b8a4>] (kthread) from [<80107ec8>] (ret_from_fork+0x14/0x2c) [ 627.696587] ---[ end trace 7cd1e6c5b278d8ff ]--- [ 627.696599] disable_outputs: crt DISABLE b6616800

anholt commented 6 years ago

Do you have ignore_lcd=1 in /boot/config.txt? If not, the firmware might steal interrupts before linux gets them.

jwaani2 commented 6 years ago

Thank you for your advice. Sadly I already using ignore_lcd=1 on config.txt, but IRQ does not came up. In fact I am not familiar device tree. So I'm suspecting it as a device tree problem.

I add this to bcm283x.dtsi vc4_dsi: vc4_dsi { compatible = "innolux,p101dbz-3z1", "innolux,p101dbz";

address-cells = <1>;

                    #size-cells = <0>;
                    panel@0 {
                            compatible = "vc4-dsi", "vc4_dsi", "vc4 dsi";
                            reg = <0>;
                            port {
                                    panel_dsi_port: endpoint {
                                            remote-endpoint = <&dsi_out_port>;
                                    };
                            };
                    };
            };

This to dsi1 section port { dsi_out_port: endpoint { remote-endpoint = <&panel_dsi_port>; }; };

And change vc4-kms-v3d-overlay.dts like this... fragment@15 { target = <&dsi1>; overlay {

address-cells = <1>;

                    #size-cells = <0>;
                    status = "okay";

                    pitouchscreen: panel@0 {
                            compatible = "innolux,p101dbz-3z1", "innolux,p101dbz", "raspberrypi, touchscreen";
                            reg = <0>;
                            reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                            vc4_dsi = <&vc4_dsi>;

                    };
            };
    };

Please take a look these. I would be really happy if you give me some more advice. Thanks.

EricBHLin commented 6 years ago

Hi jwaani2,

I am doing the same thing like you, and got identical error logs. It seems panel initial command can't be sent. Try to call drm_panel_prepare() after the clock is ready in the end of vc4_dsi_encoder_enable() it works for me, and you can get vc4_dsi_irq_handler() triggered.

give a try and good luck!

jwaani2 commented 6 years ago

Hi EricBHLin,

Thank you very very much for your help. You were right! Now I got a IRQ triggered, after I follow your advice.

But still! there are timeouts at sending initial command. And those timeout error's counts are changing from 1 to dozens when I reboot my board. So I am checking the setting in vc4_dsi_encoder_enable().

Does anyone have any data for BCM2835 DSI controller's register like DSI1_HS_CLT0 ... DSI1_PHYC? I could not find datasheet for them. The only one that I have found is this link. https://elinux.org/BCM2835_registers

Please somebody help me~ T.T

[ 6.241574] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 6.241584] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 6.241697] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 0 [ 6.241741] [drm:rm68200_dcs_write_buf] ERROR MIPI DSI DCS write buffer failed: -110 [ 8.321553] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 8.321561] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 8.321652] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 1 [ 8.321696] [drm:rm68200_dcs_write_buf] ERROR MIPI DSI DCS write buffer failed: -110 [ 10.401554] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 10.401561] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 10.401655] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 2 [ 10.401693] [drm:rm68200_dcs_write_buf] ERROR MIPI DSI DCS write buffer failed: -110 [ 12.481549] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 12.481557] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 12.481646] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 3 [ 12.481684] [drm:rm68200_dcs_write_buf] ERROR MIPI DSI DCS write buffer failed: -110 [ 14.561546] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 14.561553] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 14.561639] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 4 [ 14.561677] [drm:rm68200_dcs_write_buf] ERROR MIPI DSI DCS write buffer failed: -110 [ 16.641551] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 16.641559] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 16.641644] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 5 [ 16.641682] [drm:rm68200_dcs_write_buf] ERROR MIPI DSI DCS write buffer failed: -110 [ 18.721552] vc4_dsi 3f700000.dsi: transfer interrupt wait timeout [ 18.721559] vc4_dsi 3f700000.dsi: instat: 0x00000000 [ 18.721644] [drm:vc4_dsi_host_transfer [vc4]] ERROR DSI transfer failed, resetting: -110 6 [ 18.721681] [drm:rm68200_dcs_write_buf] ERROR MIPI DSI DCS write buffer failed: -110

EricBHLin commented 6 years ago

Hi jwaani2,

I can't send my initial sequence completely,too. In my case, if the parameters in the initial commands are over 16, it will easily got these timeout errors. But if I am lucky enough, sometime the mipi transferring can be done...(still wondering if there were hw issues)

Have you tried to read something back from the panel ? I think it's the easiest way to confirm DSI connection . Despite your initial commands are sent without timeout errors, it just means these data were correctly sent to the FIFO.

About the registers of DSI, it seems not exposed to the public Thank you.

jwaani2 commented 6 years ago

Hi EricBHlin,

It's been a long time.

In my LCD panel, it works but there are time out errors and seems not normal. Some times the screen looks good, but others it's broken for so many kind of cases(stripes, blanking, swapped X or Y, inverted... and so on)

For your information, I think it's better to fix arm_freq on config.txt to using DSI settled. After I fixed the arm_freq to 600, that many error case are changed to predictable, so I could fix the problem to changing some of initial codes.

Then I finally got my LCD panel works good. Thank you so much~ :)

jamwu commented 5 years ago

Hi EricBHlin,

It's been a long time.

In my LCD panel, it works but there are time out errors and seems not normal. Some times the screen looks good, but others it's broken for so many kind of cases(stripes, blanking, swapped X or Y, inverted... and so on)

For your information, I think it's better to fix arm_freq on config.txt to using DSI settled. After I fixed the arm_freq to 600, that many error case are changed to predictable, so I could fix the problem to changing some of initial codes.

Then I finally got my LCD panel works good. Thank you so much~ :)

@jwaani2 Hi,I'm very excited and intresting about what you have done.I want to driver a 1 lane mipi-dsi display with pi.But i am really new at DT and linux driver.Can you give me some advice?Thanks!

cappu88 commented 5 years ago

Thank you for your advice. Sadly I already using ignore_lcd=1 on config.txt, but IRQ does not came up. In fact I am not familiar device tree. So I'm suspecting it as a device tree problem.

I add this to bcm283x.dtsi vc4_dsi: vc4_dsi { compatible = "innolux,p101dbz-3z1", "innolux,p101dbz";

address-cells = <1>;

size-cells = <0>;

panel@0 { compatible = "vc4-dsi", "vc4_dsi", "vc4 dsi"; reg = <0>; port { panel_dsi_port: endpoint { remote-endpoint = <&dsi_out_port>; }; }; }; };

This to dsi1 section port { dsi_out_port: endpoint { remote-endpoint = <&panel_dsi_port>; }; };

And change vc4-kms-v3d-overlay.dts like this... fragment@15 { target = <&dsi1>; overlay {

address-cells = <1>;

size-cells = <0>;

status = "okay";

                    pitouchscreen: panel@0 {
                            compatible = "innolux,p101dbz-3z1", "innolux,p101dbz", "raspberrypi, touchscreen";
                            reg = <0>;
                            reset-gpios = <&gpio 26 GPIO_ACTIVE_LOW>;
                            vc4_dsi = <&vc4_dsi>;

                    };
            };
    };

Please take a look these. I would be really happy if you give me some more advice. Thanks.

Hi jwaani2,

i am currently trying to enable this DSI interface in the CM3 as well, however, i am not sure how to change the 3 overlay file, bcm283x.dtsi, vc4-kms-v3d-overlay.dts, and the new innolux driver that you added (maybe call raydium_rm68200.dts). Can you share this 3 overlay files to help my understanding?

bbrainka commented 5 years ago

Hi,

Does anyone succeed with this?