导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    寻求tina的display 官方文档说明,感谢

    V Series
    2
    5
    2043
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • C
      chrisvista LV 5 最后由 编辑

      不知到有没有官方的tina的display 官方文档说明【不是LCD】,里面有说明DTS里面【&disp】的参数配置:
      disp_init_enable = <1>;
      disp_mode = <0>;
      screen0_output_type = <1>;
      screen0_output_mode = <4>;
      看到网上都是参考修改,不知道所以然,或者看源代码dev_disp.c
      如果有官方文档,就省事了。

      1 条回复 最后回复 回复 引用 分享 1
      • A
        awwwwa LV 8 最后由 编辑

        disp init configuration
        
        disp_mode             (0:screen0<screen0,fb0>)
        screenx_output_type   (0:none; 1:lcd; 2:tv; 3:hdmi;5:vdpo)
        screenx_output_mode   (used for hdmi output, 0:480i 1:576i 2:480p 3:576p 4:720p50)
                              (5:720p60 6:1080i50 7:1080i60 8:1080p24 9:1080p50 10:1080p60)
        screenx_output_format (for hdmi, 0:RGB 1:yuv444 2:yuv422 3:yuv420)
        screenx_output_bits   (for hdmi, 0:8bit 1:10bit 2:12bit 2:16bit)
        screenx_output_eotf   (for hdmi, 0:reserve 4:SDR 16:HDR10 18:HLG)
        screenx_output_cs     (for hdmi, 0:undefined  257:BT709 260:BT601  263:BT2020)
        screenx_output_dvi_hdmi (for hdmi, 0:undefined 1:dvi mode 2:hdmi mode)
        screen0_output_range   (for hdmi, 0:default 1:full 2:limited)
        screen0_output_scan    (for hdmi, 0:no data 1:overscan 2:underscan)
        screen0_output_aspect_ratio  (for hdmi, 8-same as original picture 9-4:3 10-16:9 11-14:9)
        fbx format            (4:RGB655 5:RGB565 6:RGB556 7:ARGB1555 8:RGBA5551 9:RGB888 10:ARGB8888 12:ARGB4444)
        fbx pixel sequence    (0:ARGB 1:BGRA 2:ABGR 3:RGBA)
        fb0_scaler_mode_enable(scaler mode enable, used FE)
        fbx_width,fbx_height  (framebuffer horizontal/vertical pixels, fix to output resolution while equal 0)
        lcdx_backlight        (lcd init backlight,the range:[0,256],default:197
        lcdx_yy               (lcd init screen bright/contrast/saturation/hue, value:0~100, default:50/50/57/50)
        lcd0_contrast         (LCD contrast, 0~100)
        lcd0_saturation       (LCD saturation, 0~100)
        lcd0_hue              (LCD hue, 0~100)
        framebuffer software rotation setting:
        disp_rotation_used:   (0:disable; 1:enable,you must set fbX_width to lcd_y,
        set fbX_height to lcd_x)
        degreeX:              (X:screen index; 0:0 degree; 1:90 degree; 3:270 degree)
        degreeX_Y:            (X:screen index; Y:layer index 0~15; 0:0 degree; 1:90 degree; 3:270 degree)
        devX_output_type : config output type in bootGUI framework in UBOOT-2018.
        				   (0:none; 1:lcd; 2:tv; 4:hdmi;)
        devX_output_mode : config output resolution(see include/video/sunxi_display2.h) of bootGUI framework in UBOOT-2018
        devX_screen_id   : config display index of bootGUI framework in UBOOT-2018
        devX_do_hpd      : whether do hpd detectation or not in UBOOT-2018
        chn_cfg_mode     : Hardware DE channel allocation config. 0:single display with 6
        				   channel, 1:dual display with 4 channel in main display and 2 channel in second
                           display, 2:dual display with 3 channel in main display and 3 channel in second
                           in display.
        
        C 2 条回复 最后回复 回复 引用 分享 2
        • C
          chrisvista LV 5 @awwwwa 最后由 编辑

          @awwwwa 这个在DTS里面有,感觉官方不公布,只能分析代码了,感觉里面比较MESS,还分DISP2和DISP。

          1 条回复 最后回复 回复 引用 分享 0
          • C
            chrisvista LV 5 @awwwwa 最后由 编辑

            @awwwwa 谢谢

            1 条回复 最后回复 回复 引用 分享 0
            • A
              awwwwa LV 8 最后由 编辑

              可以看 《Linux_Display_开发指南.pdf》 不过这个也没有设备树的配置描述,更多是源码描述

              1 条回复 最后回复 回复 引用 分享 1
              • 1 / 1
              • First post
                Last post

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

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