From bff8aa647cbf6423099899585d2d5855157c7b53 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Thu, 26 Jan 2023 11:42:54 +0100 Subject: [PATCH] dcp: Offset temporary IOVA space from vm-base Required on M2 devices. Signed-off-by: Janne Grunau --- src/dcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dcp.c b/src/dcp.c index e7a44273..e9f0503d 100644 --- a/src/dcp.c +++ b/src/dcp.c @@ -41,7 +41,7 @@ dcp_dev_t *dcp_init(const char *dcp_path, const char *dcp_dart_path, const char // set disp0's page tables at dart-dcp's vm-base dart_setup_pt_region(dcp->dart_disp, disp_dart_path, 0, vm_base); - dcp->iovad_dcp = iovad_init(0x10000000, 0x20000000); + dcp->iovad_dcp = iovad_init(vm_base + 0x10000000, vm_base + 0x20000000); dcp->asc = asc_init(dcp_path); if (!dcp->asc) {