dcp: Offset temporary IOVA space from vm-base

Required on M2 devices.

Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
Janne Grunau 2023-01-26 11:42:54 +01:00 committed by Hector Martin
parent 7e33a578d8
commit bff8aa647c

View file

@ -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) {