您尚未登录。

楼主 # 2023-07-26 09:50:14

aiya12
会员
注册时间: 2023-07-22
已发帖子: 2
积分: 2

f1c200s移植6.1内核屏幕刷新率低[ 3.918792] [CRTC:47:crtc-0] vblank wait timed

设备树按照5.7.1修改方式,
simple_panel里面qd43003c0_40_mode无法设置refresh参数(6.x内核移除了)
修改了"sun4i_tcon.c"   "suni4i_backend.c"  "sun4i_drc.c"中的相关内容


开机后报错log:

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 6.1.12-zen1 (ailinux@ailinuxpc) (arm-linux-gnueabi-gcc (Linaro GCC 7.2-2017.11) 7.2.1 20171011, GNU ld (Linaro_Binutils-2017.11) 2.28.2.20170706) #10 ZEN Tue Jul 25 16:50:34 CST 2023
[    0.000000] CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] OF: fdt: Machine model: Lichee Pi Nano
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x0000000083ffffff]
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] Kernel command line: console=tty1 console=ttyS1,115200 panic=5 rootwait root=/dev/mmcblk0p2 earlyprintk rw
[    0.000000] Unknown kernel command line parameters "earlyprintk", will be passed to user space.
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 53736K/65536K available (7168K kernel code, 611K rwdata, 1796K rodata, 1024K init, 268K bss, 11800K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000010] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[    0.000126] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.000965] Console: colour dummy device 80x30
[    0.001953] printk: console [tty1] enabled
[    0.002118] Calibrating delay loop... 203.16 BogoMIPS (lpj=1015808)
[    0.070340] pid_max: default: 32768 minimum: 301
[    0.071208] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.071399] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.073437] CPU: Testing write buffer coherency: ok
[    0.078521] Setting up static identity map for 0x80100000 - 0x80100058
[    0.083041] devtmpfs: initialized
[    0.090914] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.091166] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.091575] pinctrl core: initialized pinctrl subsystem
[    0.096115] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.097980] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.100695] thermal_sys: Registered thermal governor 'step_wise'
[    0.100815] cpuidle: using governor menu
[    0.112662] platform 1e60000.display-backend: Fixing up cyclic dependency with 1c0c000.lcd-controller
[    0.113125] platform 1e60000.display-backend: Fixing up cyclic dependency with 1e00000.display-frontend
[    0.117133] platform panel: Fixing up cyclic dependency with 1c0c000.lcd-controller
[    0.142650] SCSI subsystem initialized
[    0.143207] usbcore: registered new interface driver usbfs
[    0.143500] usbcore: registered new interface driver hub
[    0.143778] usbcore: registered new device driver usb
[    0.144450] pps_core: LinuxPPS API ver. 1 registered
[    0.144567] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.144728] PTP clock support registered
[    0.145496] Advanced Linux Sound Architecture Driver Initialized.
[    0.148569] clocksource: Switched to clocksource timer
[    0.193869] NET: Registered PF_INET protocol family
[    0.194751] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.196997] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.197269] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.197436] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.197587] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.197721] TCP: Hash tables configured (established 1024 bind 1024)
[    0.198083] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.198248] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.199205] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.201389] RPC: Registered named UNIX socket transport module.
[    0.201557] RPC: Registered udp transport module.
[    0.201631] RPC: Registered tcp transport module.
[    0.201685] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.205556] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.207582] Initialise system trusted keyrings
[    0.210076] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    0.233211] NFS: Registering the id_resolver key type
[    0.233519] Key type id_resolver registered
[    0.233622] Key type id_legacy registered
[    0.547973] Key type asymmetric registered
[    0.548102] Asymmetric key parser 'x509' registered
[    0.548834] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.548997] io scheduler mq-deadline registered
[    0.549065] io scheduler kyber registered
[    0.835733] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled
[    0.845335] SCSI Media Changer driver v0.25
[    0.858863] usbcore: registered new interface driver usb-storage
[    0.859944] UDC core: g_cdc: couldn't find an available UDC
[    0.860439] i2c_dev: i2c /dev entries driver
[    0.864397] usbcore: registered new interface driver usbhid
[    0.864541] usbhid: USB HID core driver
[    0.884532] NET: Registered PF_PACKET protocol family
[    0.884946] Key type dns_resolver registered
[    0.886777] Loading compiled-in X.509 certificates
[    0.924927] suniv-f1c100s-pinctrl 1c20800.pinctrl: initialized sunXi PIO driver
[    0.925927] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pa not found, using dummy regulator
[    0.929273] printk: console [ttyS1] disabled
[    0.949811] 1c25400.serial: ttyS1 at MMIO 0x1c25400 (irq = 116, base_baud = 6250000) is a 16550A
[    1.511548] printk: console [ttyS1] enabled
[    1.518198] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    1.531228] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pe not found, using dummy regulator
[    1.540717] panel-simple panel: Specify missing connector_type
[    1.549950] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pd not found, using dummy regulator
[    1.560321] sun4i-backend 1e60000.display-backend: Couldn't find matching frontend, frontend features disabled
[    1.571427] sun4i-drm display-engine: bound 1e60000.display-backend (ops 0xc0845adc)
[    1.581140] sun4i-drm display-engine: bound 1c0c000.lcd-controller (ops 0xc0844180)
[    1.591080] suniv-f1c100s-pinctrl 1c20800.pinctrl: supply vcc-pf not found, using dummy regulator
[    1.605742] [drm] Initialized sun4i-drm 1.0.0 20150629 for display-engine on minor 0
[    1.629787] sunxi-mmc 1c0f000.mmc: initialized, max. request size: 16384 KB
[    1.671787] mmc0: new high speed SDHC card at address e624
[    1.674372] mmcblk0: mmc0:e624 SC16G 14.8 GiB
[    1.681311]  mmcblk0: p1 p2
[    1.728658] ------------[ cut here ]------------
[    1.728693] WARNING: CPU: 0 PID: 21 at drivers/gpu/drm/drm_atomic_helper.c:1669 drm_atomic_helper_wait_for_vblanks.part.1+0x25c/0x270
[    1.728791] [CRTC:47:crtc-0] vblank wait timed out
[    1.728808] Modules linked in:
[    1.728836] CPU: 0 PID: 21 Comm: kworker/u2:1 Not tainted 6.1.12-zen1 #10
[    1.728869] Hardware name: Allwinner suniv Family
[    1.728889] Workqueue: events_unbound deferred_probe_work_func
[    1.728953]  unwind_backtrace from show_stack+0x10/0x14
[    1.729040]  show_stack from dump_stack_lvl+0x28/0x30
[    1.729102]  dump_stack_lvl from __warn+0xa0/0xd8
[    1.729141]  __warn from warn_slowpath_fmt+0x6c/0xb8
[    1.729178]  warn_slowpath_fmt from drm_atomic_helper_wait_for_vblanks.part.1+0x25c/0x270
[    1.729234]  drm_atomic_helper_wait_for_vblanks.part.1 from drm_atomic_helper_commit_tail_rpm+0x5c/0x6c
[    1.729287]  drm_atomic_helper_commit_tail_rpm from commit_tail+0xa4/0x19c
[    1.729334]  commit_tail from drm_atomic_helper_commit+0x12c/0x158
[    1.729380]  drm_atomic_helper_commit from drm_atomic_commit+0xa0/0xdc
[    1.729467]  drm_atomic_commit from drm_client_modeset_commit_atomic+0x200/0x22c
[    1.729547]  drm_client_modeset_commit_atomic from drm_client_modeset_commit_locked+0x44/0x184
[    1.729604]  drm_client_modeset_commit_locked from drm_client_modeset_commit+0x24/0x40
[    1.729656]  drm_client_modeset_commit from __drm_fb_helper_restore_fbdev_mode_unlocked+0x5c/0xc4
[    1.729708]  __drm_fb_helper_restore_fbdev_mode_unlocked from drm_fb_helper_set_par+0x38/0x68
[    1.729751]  drm_fb_helper_set_par from fbcon_init+0x31c/0x4f0
[    1.729812]  fbcon_init from visual_init+0xb8/0x100
[    1.729890]  visual_init from do_bind_con_driver+0x1f8/0x408
[    1.729966]  do_bind_con_driver from do_take_over_console+0x80/0x1e8
[    1.730022]  do_take_over_console from do_fbcon_takeover+0x5c/0xb8
[    1.730070]  do_fbcon_takeover from fbcon_fb_registered+0x198/0x1bc
[    1.730127]  fbcon_fb_registered from register_framebuffer+0x190/0x2c8
[    1.730181]  register_framebuffer from __drm_fb_helper_initial_config_and_unlock+0x3dc/0x5a8
[    1.730281]  __drm_fb_helper_initial_config_and_unlock from drm_fbdev_client_hotplug+0x168/0x210
[    1.730348]  drm_fbdev_client_hotplug from drm_fbdev_generic_setup+0x98/0x1a4
[    1.730388]  drm_fbdev_generic_setup from sun4i_drv_bind+0x12c/0x160
[    1.730440]  sun4i_drv_bind from try_to_bring_up_aggregate_device+0x158/0x1b4
[    1.730510]  try_to_bring_up_aggregate_device from __component_add+0x94/0x144
[    1.730565]  __component_add from sun4i_tcon_probe+0x68/0x8c
[    1.730625]  sun4i_tcon_probe from platform_probe+0x58/0xb8
[    1.730702]  platform_probe from really_probe+0xc4/0x2ac
[    1.730758]  really_probe from __driver_probe_device+0x80/0xe4
[    1.730805]  __driver_probe_device from driver_probe_device+0x30/0xdc
[    1.730852]  driver_probe_device from __device_attach_driver+0x94/0xc4
[    1.730903]  __device_attach_driver from bus_for_each_drv+0x54/0xb8
[    1.730949]  bus_for_each_drv from __device_attach+0xec/0x198
[    1.730991]  __device_attach from bus_probe_device+0x84/0x8c
[    1.731035]  bus_probe_device from deferred_probe_work_func+0x78/0xa4
[    1.731079]  deferred_probe_work_func from process_one_work+0x1d8/0x41c
[    1.731159]  process_one_work from worker_thread+0x26c/0x558
[    1.731229]  worker_thread from kthread+0xc0/0xe4
[    1.731309]  kthread from ret_from_fork+0x14/0x2c
[    1.731359] Exception stack(0xc48a1fb0 to 0xc48a1ff8)
[    1.731390] 1fa0:                                     00000000 00000000 00000000 00000000
[    1.731424] 1fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[    1.731454] 1fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[    1.731473] ---[ end trace 0000000000000000 ]---
[    3.918654] ------------[ cut here ]------------
[    3.918691] WARNING: CPU: 0 PID: 21 at drivers/gpu/drm/drm_atomic_helper.c:1669 drm_atomic_helper_wait_for_vblanks.part.1+0x25c/0x270
[    3.918792] [CRTC:47:crtc-0] vblank wait timed out
[    3.918807] Modules linked in:
[    3.918837] CPU: 0 PID: 21 Comm: kworker/u2:1 Tainted: G        W          6.1.12-zen1 #10
[    3.918872] Hardware name: Allwinner suniv Family
[    3.918892] Workqueue: events_unbound deferred_probe_work_func
[    3.918953]  unwind_backtrace from show_stack+0x10/0x14
[    3.919044]  show_stack from dump_stack_lvl+0x28/0x30
[    3.919103]  dump_stack_lvl from __warn+0xa0/0xd8
[    3.919142]  __warn from warn_slowpath_fmt+0x6c/0xb8
[    3.919179]  warn_slowpath_fmt from drm_atomic_helper_wait_for_vblanks.part.1+0x25c/0x270
[    3.919234]  drm_atomic_helper_wait_for_vblanks.part.1 from drm_atomic_helper_commit_tail_rpm+0x5c/0x6c
[    3.919288]  drm_atomic_helper_commit_tail_rpm from commit_tail+0xa4/0x19c
[    3.919335]  commit_tail from drm_atomic_helper_commit+0x12c/0x158
[    3.919381]  drm_atomic_helper_commit from drm_atomic_commit+0xa0/0xdc
[    3.919465]  drm_atomic_commit from drm_client_modeset_commit_atomic+0x200/0x22c
[    3.919545]  drm_client_modeset_commit_atomic from drm_client_modeset_commit_locked+0x44/0x184
[    3.919601]  drm_client_modeset_commit_locked from drm_fb_helper_pan_display+0xac/0x1e4
[    3.919653]  drm_fb_helper_pan_display from fb_pan_display+0xa8/0x12c
[    3.919699]  fb_pan_display from bit_update_start+0x14/0x30
[    3.919758]  bit_update_start from fbcon_switch+0x354/0x464
[    3.919817]  fbcon_switch from redraw_screen+0x110/0x238

求大佬看看

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn