Navigation

    全志在线开发者论坛

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

    关于全志disp

    Linux
    2
    2
    1433
    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.
    • Y
      yuwei LV 6 last edited by

      ff959800-fdc7-4917-b6c1-d9aca5df3485-image.png

      DISP_LAYER_SET_CONFIG2 和 DISP_LAYER_SET_CONFIG 这两个ioctl的命令有什么区别,是分别给使用不同disp驱动的芯片调用的?disp驱动用DISP_LAYER_SET_CONFIG disp2.0驱动的用DISP_LAYER_SET_CONFIG2?
      有大神知道吗?

      A 1 Reply Last reply Reply Quote Share 0
      • A
        anruliu LV 6 @yuwei last edited by

        @yuwei 在 关于全志disp 中说:

        DISP_LAYER_SET_CONFIG

        主要是送显示的buf管理不一样
        DISP_LAYER_SET_CONFIG 直接传送显示的buf物理地址,上层释放buf后,图层没有关闭可能会有一些异常
        DISP_LAYER_SET_CONFIG2 需要传iommu申请的fd,disp驱动中会对这个fd增加一个引用计数,上层释放这个buf后,图层没有关闭情况下,buf是没有释放的,等到关闭图层后,减少引用计数才会释放buf

        1 Reply Last reply Reply Quote Share 0
        • Referenced by  L laocai 
        • Referenced by  L laocai 
        • Referenced by  L laocai 
        • Referenced by  L laocai 
        • 1 / 1
        • First post
          Last post

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

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