Closed tongyuhome closed 4 years ago
What is your sdk? Linux or Android?
Normally, iommu_enabled should be 1. so, you can follow the code, why is it 0.
What is your sdk? Linux or Android?
I compiled with NDK11(also tried 15) on ubuntu16.04, and then used adb tool to run the mpi_dec_test on Android(3288) I want to know is whether iommu_enabled will affect the use of vpu?
Normally, iommu_enabled should be 1. so, you can follow the code, why is it 0.
There is a possibility that ion is not turned on, but there is no way to turn it on on 3288. Any good suggestions?
What is your sdk? Linux or Android?
I found that the content of the /proc/device-tree/vpu_service@ff9a0000/iommu_enabled on 3288 is empty,, which leads to vpu_service iommu_enabled 0. Is this some hardware that's not turned on?
What is your sdk? Linux or Android?
I found that the content of the /proc/device-tree/vpu_service@ff9a0000/iommu_enabled on 3288 is empty,, which leads to vpu_service iommu_enabled 0. Is this some hardware that's not turned on?
It may be the problem. Try enable it and test again.
What is your sdk? Linux or Android?
I found that the content of the /proc/device-tree/vpu_service@ff9a0000/iommu_enabled on 3288 is empty,, which leads to vpu_service iommu_enabled 0. Is this some hardware that's not turned on?
It may be the problem. Try enable it and test again.
now, the problem is how to enable it? This seems to be a hardware issue, do you have any suggestions ?
Change it in dts and try again.
Change it in dts and try again.
I'll try it.Thanks!!
Hi, I try to use mpi_dec_test.c in order to get YUV output from JPEG. But the generated YUV file opens only in green. The same code can generate correct YUV file on 3399. The following is the log printed by running mpi_dec_test on 3288:
[check_sysfs_iommu]-245: vpu_service iommu_enabled 0 [allocator_ion_open]-345: using ion heap ION_HEAP_TYPE_DMA It seems that there are some problems with ion in the kernel environment
Can you please help me see how to solve this problem?