video: rockchip: rga3: fix crash caused by vir_addr call in 'mm' debug mode

Change-Id: I16223557d18f5f0bd99f468b34713157897e0f5d
Signed-off-by: Yu Qiaowei <cerf.yu@rock-chips.com>
This commit is contained in:
Yu Qiaowei
2025-04-16 18:03:07 +08:00
committed by Tao Huang
parent 06f6ae89f8
commit 10c09cfd31

View File

@@ -1920,6 +1920,8 @@ static int rga_mm_map_channel_job_buffer(struct rga_job *job,
goto error_free_buffer;
}
buffer->session = job->session;
if (DEBUGGER_EN(MM)) {
rga_job_log(job, "map buffer:\n");
rga_mm_dump_buffer(buffer);