Navigation

    全志在线开发者论坛

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

    T113跑csitest,出现不能分配连续空间问题,求大神指点

    其它全志芯片讨论区
    1
    2
    302
    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.
    • H
      Honey130602 LV 5 last edited by

      T113跑csitest,外接CVBS摄像头,空间由应用程序分配,调用到内核程序时,一直报不能分配连续空间,
      [ 153.341696] ++++++++++[arm_iommu_map_sg][1742]+++++++++++
      [ 153.350890] ++++++++++[vb2_dc_get_userptr][475]size:518400+++++++++++++
      [ 153.358403] ++++++++++[vb2_dc_get_userptr][533]n_pages:0x7f,offset:0x0,size:0x7e900+++++++++++++
      [ 153.368327] +++++++++[vb2_dc_get_contiguous_size][56]expected:0x45ec0000++++++++++
      [ 153.376863] +++++++++[vb2_dc_get_contiguous_size][60]dmaAddr:0x45ec0000,expected:0x45ec0000,len:458752++++++++++
      [ 153.388318] +++++++++[vb2_dc_get_contiguous_size][60]dmaAddr:0x45e34000,expected:0x45f30000,len:8192++++++++++
      [ 153.399572] +++++++++[vb2_dc_get_contiguous_size][63]dma addr:0x45e34000++++++++++
      [ 153.408118] [vb2_dc_get_userptr][557]contiguous mapping is too small 458752/518400
      VIDIOC_QBUF failed
      Got signal 11, exiting ...
      disp_disable:disp_set_addr fail to set layer info
      disp_disable:disp_set_addr fail to set layer info
      有大神遇到过类似问题吗?求指点

      H 1 Reply Last reply Reply Quote Share 0
      • Moved from D1系列-RISC-V by  YuzukiTsuru YuzukiTsuru 
      • H
        Honey130602 LV 5 @Honey130602 last edited by

        @honey130602 内存分配机制出问题导致,选错了

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

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

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