使用RGA程序,长时间运行的过程中出现了rga_mm: RGA_MMU unsupported memory larger than 4G!
rga_mm: RGA_MMU unsupported memory larger than 4G!
rga_mm: scheduler core[4] unsupported mm_flag[0x8]!
rga_mm: rga_mm_map_buffer map virtual address error!
rga_mm: job buffer map failed!
rga_mm: src channel map job buffer failed!
rga_mm: failed to map buffer
rga_job: rga_job_commit: failed to map job info
rga_job: request[25486] task[0] job_commit failed.
rga_job: rga request commit failed!
rga: request[25486] submit failed!
这是因为RGA2 是32bit的,寻址4G内存空间,不支持4G以上的寻址空间。RGA3没有限制,如果是RK3588的板子 默认是使用RGA3,也可以通过下面命令确认是哪个程序使用了RGA2 。
rk3588_s:/sys/kernel/debug # cat rkrga/debug
REG [DIS]
MSG [DIS]
TIME [DIS]
INT [DIS]
MM [DIS]
CHECK [DIS]
STOP [DIS]help:'echo reg > debug