Project

General

Profile

Actions

新建 #284

open

rk3568 rga 调用异常

Added by 余 顺 about 1 month ago. Updated about 1 month ago.

Status:
新建
Priority:
普通
Assignee:
-
Category:
其他
Target version:
Start date:
09/11/2025
Due date:
% Done:

0%

Estimated time:

Description

版型:rp-rk3568

系统:ubuntu24.04

问题描述:系统启动后在做图像转换时,调用rga会报错。报错打印如下

could not load cursor 'dnd-move' 
[ 149.150415] rga_mm: RGA_MMU unsupported memory larger than 4G!
[ 149.150477] rga_mm: scheduler core[4] unsupported mm_flag[0x8]!
[ 149.150490] rga_mm: rga_mm_map_buffer map virtual address error!
[ 149.150496] rga_mm: job buffer map failed!
[ 149.150501] rga_mm: src channel map job buffer failed!
[ 149.150504] rga_mm: failed to map buffer
[ 149.150513] rga_job: rga_job_commit: failed to map job info
[ 149.150573] rga_job: request[1] task[0] job_commit failed.
[ 149.150581] rga_job: rga request[1] commit failed!
[ 149.153680] ------------[ cut here ]------------
[ 149.153719] WARNING: CPU: 2 PID: 1657 at kernel/fork.c:718 __mmdrop+0x110/0x150
[ 149.153725] Modules linked in: bcmdhd(O)
[ 149.153741] CPU: 2 PID: 1657 Comm: weston-editor Tainted: G O 5.10.198 #77
[ 149.153747] Hardware name: pro-rk3568 (DT)
[ 149.153754] pstate: 60400009 (nZCv daif +PAN UAO -TCO BTYPE=-)
[ 149.153760] pc : __mmdrop+0x110/0x150
[ 149.153767] lr : mmput+0x138/0x1a0
[ 149.153772] sp : ffffffc00da13b20
[ 149.153777] x29: ffffffc00da13b20 x28: ffffff81f9a40e00

Files

Actions #1

Updated by 余 顺 about 1 month ago

根据客户提供的说明,进行对应验证。内存在2g时不会有对应报错, 只有在内存在4g 或者8g 时才会复现。

目前给到对应修改 限制内存调用的大小,注意8G内存不建议使用,只适合用于4G内存,8G的内存会损失太多了

reserved:buffer@1f0000000{
reg = <0x1 0xf0000000 0x0 0x10000000>;
no-map;
};
Actions

Also available in: Atom PDF