Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    A133 android10.0 lvds显示异常

    其它全志芯片讨论区
    2
    6
    151
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Z
      zhoutian LV 4 last edited by whycan

      lADPKGXzVgnYPwfND6DNC7g_3000_4000.jpg 屏幕截图.png

      大家有遇到过这种情况吗?点的是双8lvds屏,看颜色应该是正常的,但是有一层灰,正常的颜色见图片

      disp: disp@06000000 {
      			disp_init_enable         = <1>;
      			disp_mode                = <0>;
      
      			screen0_output_type      = <1>;
      			screen0_output_mode      = <10>;
      			fb0_format               = <9>;
      			fb0_width                = <1920>;
      			fb0_height               = <1080>;
      
      			screen1_output_type      = <1>;
      			screen1_output_mode      = <10>;
      			fb1_format               = <9>;
      			fb1_width                = <1920>;
      			fb1_height               = <1080>;
      
      			def_output_dev           = <0>;
      			hdmi_mode_check          = <1>;
      			chn_cfg_mode             = <2>;
      			disp_para_zone           = <1>;
      
      			/*VCC-LCD*/
      			dc1sw-supply = <&reg_eldo1>;
      			/*VCC-PD*/
      			dcdc1-supply = <&reg_dcdc1>;
      		};
      
      lcd0: lcd0@01c0c000 {
      			lcd_used            = <1>;
      			lcd_driver_name     = "default_lcd";
      			lcd_if              = <3>;
      
      			lcd_x               = <1920>;
      			lcd_y               = <1080>;
      			lcd_dclk_freq       = <150>;
      			lcd_ht              = <2210>;
      			lcd_hbp             = <252>;
      			lcd_hspw            = <10>;
      			lcd_vt              = <1127>;
      			lcd_vbp             = <36>;
      			lcd_vspw            = <5>;
      			lcd_width           = <217>;
      			lcd_height          = <136>;
      
      			lcd_lvds_if = <1>;
      			lcd_lvds_colordepth = <0>;
      			lcd_lvds_mode = <1>;
      			lcd_frm = <1>;
      			lcd_cmap_en = <0>;
      			lcd_rb_swap = <0>;
      			lcd_tcon_div = <7>;
      			lcd_hv_clk_phase = <0>;
      			lcd_hv_sync_polarity= <0>;
      			lcd_gamma_en = <0>;
      			lcd_bright_curve_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_pwm_used        = <1>;
      			lcd_pwm_ch          = <2>;
      			lcd_pwm_freq        = <10000>;
      			lcd_pwm_pol         = <1>;
      			lcd_pwm_max_limit   = <255>;
      			lcd_backlight       = <50>;
      
      			lcd_bl_en = <&pio PD 22 1 0 3 1>;
      			//lcd_gpio_0 = <&pio PD 22 1 0 3 1>;
      			lcd_pin_power = "dcdc1";
      			lcd_power = "dc1sw";
      			pinctrl-0 = <&lvds2link_pins_a>;
      			pinctrl-1 = <&lvds2link_pins_b>;
      		};
      

      麻烦有遇到的朋友指点一下

      1 Reply Last reply Reply Quote Share 0
      • W
        whycan晕哥 LV 9 last edited by

        lcd_lvds_colordepth = <0>;

        会不会是这个问题呢?

        Z 1 Reply Last reply Reply Quote Share 0
        • Z
          zhoutian LV 4 @whycan last edited by

          @whycan
          这两个测试过了,有反应,但是,还是会有这个暗
          lcd_lvds_colordepth = <0>;
          lcd_lvds_mode = <1>;

          1 Reply Last reply Reply Quote Share 0
          • W
            whycan晕哥 LV 9 last edited by

            把缓冲区的数据dump出来,用电脑软件看下,颜色是否正常。

            Z 1 Reply Last reply Reply Quote Share 0
            • Z
              zhoutian LV 4 @whycan last edited by

              @whycan
              您好,这个应该如何操作

              W 1 Reply Last reply Reply Quote Share 0
              • W
                whycan晕哥 LV 9 @zhoutian last edited by

                @zhoutian

                cat /dev/fb0 > /mnt/SDCARD/fb0.rgb

                用这个软件看:

                https://ient.github.io/YUView/

                1 Reply Last reply Reply Quote Share 0
                • 1 / 1
                • First post
                  Last post

                Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

                行为准则 | 用户协议 | 隐私权政策