How to show how much memory the VPU uses

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to show how much memory the VPU uses

691件の閲覧回数
erlend_eriksen
Contributor III

I need to decide how much memory to reserve for the VPU on my i.MX6Q. Therefore, I would like to see how much of the reserved memory it actually uses. Is there a way to check this?

ラベル(3)
0 件の賞賛
返信
1 返信

621件の閲覧回数
joanxie
NXP TechSupport
NXP TechSupport

you can use tools like "Antutu" or you can debug vpu source code to get the memory allocation, refer to the vpu_alloc_dam_buffer function in the mxc_vpu.c, if you need to know how much cma, you can refer to the imx6q.dtsi:

reserved-memory {   
#address-cells = <1>;   
#size-cells = <1>;   
ranges;    
/* global autoconfigured region for contiguous allocations */   
linux,cma {    
compatible = "shared-dma-pool";    
reusable;    
size = <0x14000000>;    
linux,cma-default;   
};  
};
0 件の賞賛
返信