T113-S3 MIPI 帧率低
-
使用T113-S3驱动 800x480 MIPI 2lane 的屏,帧率只有22.2fps,请问这是哪里的原因?我想做到60fps。
cat /sys/class/disp/disp/attr/sys screen 0: de_rate 300000000 hz, ref_fps:68 mgr0: 480x800 fmt[rgb] cs[0x204] range[full] eotf[0x4] bits[8bits] err[0] force_sync[0] unblank direct_show[false] iommu[1] dmabuf: cache[0] cache max[0] umap skip[0] umap skip max[4] lcd output backlight( 50) **fps:22.2** 480x 800 err:4 skip:14 irq:6777 vsync:0 vsync_skip:0 BUF enable ch[1] lyr[0] z[16] prem[N] a[pixel 255] fmt[ 0] fb[ 480, 800; 480, 800; 480, 800] crop[ 0, 0, 480, 800] frame[ 0, 0, 480, 800] addr[ 0, 0, 0] flags[0x 0] trd[0,0] depth[ 0]
-
@kennsu 我也有一个mipi屏幕,也是2lane,还没有研究到那里,以后遇到了看看能不能解决
-
@kennsu 设备树 lcd0 配置不正确
-
&lcd0 { lcd_used = <1>; lcd_driver_name = "st7701s"; lcd_backlight = <100>; lcd_if = <4>; lcd_x = <480>; lcd_y = <800>; lcd_width = <52>; lcd_height = <52>; lcd_dclk_freq = <25>; lcd_pwm_used = <1>; lcd_pwm_ch = <0>; lcd_pwm_freq = <1000>; lcd_pwm_pol = <0>; lcd_pwm_max_limit = <255>; lcd_hbp = <10>; lcd_ht = <515>; lcd_hspw = <5>; lcd_vbp = <20>; lcd_vt = <830>; lcd_vspw = <5>; lcd_dsi_if = <0>; lcd_dsi_lane = <2>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <0>; lcd_lvds_mode = <0>; lcd_frm = <0>; lcd_hv_clk_phase = <0>; lcd_hv_sync_polarity= <0>; lcd_gamma_en = <0>; lcd_bright_curve_en = <0>; lcd_cmap_en = <0>; lcd_fsync_en = <0>; lcd_fsync_act_time = <1000>; lcd_fsync_dis_time = <1000>; lcd_fsync_pol = <0>; deu_mode = <0>; lcdgamma4iep = <22>; smart_color = <90>; // lcd_gpio_0 = <&pio PG 13 GPIO_ACTIVE_HIGH>; pinctrl-0 = <&dsi4lane_pins_a>; pinctrl-1 = <&dsi4lane_pins_b>; }; &disp { disp_init_enable = <1>; disp_mode = <0>; screen0_output_type = <1>; screen0_output_mode = <4>; screen1_output_type = <3>; screen1_output_mode = <10>; screen1_output_format = <0>; screen1_output_bits = <0>; screen1_output_eotf = <4>; screen1_output_cs = <257>; screen1_output_range = <2>; screen1_output_scan = <0>; screen1_output_aspect_ratio = <8>; dev0_output_type = <1>; dev0_output_mode = <4>; dev0_screen_id = <0>; dev0_do_hpd = <0>; dev1_output_type = <4>; dev1_output_mode = <10>; dev1_screen_id = <1>; dev1_do_hpd = <1>; def_output_dev = <0>; disp_rotation_used = <1>; degree0 = <0>; fb0_format = <0>; fb0_buffer_num = <2>; fb0_width = <480>; fb0_height = <800>; fb1_format = <0>; fb1_width = <0>; fb1_height = <0>; chn_cfg_mode = <1>; disp_para_zone = <1>; //dc1sw-supply = <®_dc1sw>; //eldo3-supply = <®_eldo3>; //dcdc1-supply = <®_dcdc1>; };
是哪里不对呢?麻烦您指点一下
-
时序参数不对,修改时序参数
-
@kennsu clk=25 应该是不合适的 pll倍频分频一般偶数频率容易匹配,8的倍数比较好。你这种情况是典型的 无法匹配最接近的频率导致的,在启动时会给出打印 说 选择频率是25000000 但实际频率是xxxxxx。。
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号