Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ef092dec authored by Lucas Stach's avatar Lucas Stach
Browse files

drm/etnaviv: mmuv2: don't map zero page



Keep the page at address 0 as faulting to catch any potential state
setup issues early.

Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
Reviewed-by: default avatarChristian Gmeiner <christian.gmeiner@gmail.com>
parent fd4b77e8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -320,8 +320,8 @@ etnaviv_iommuv2_domain_alloc(struct etnaviv_gpu *gpu)
	domain = &etnaviv_domain->base;

	domain->dev = gpu->dev;
	domain->base = 0;
	domain->size = (u64)SZ_1G * 4;
	domain->base = SZ_4K;
	domain->size = (u64)SZ_1G * 4 - SZ_4K;
	domain->ops = &etnaviv_iommuv2_ops;

	ret = etnaviv_iommuv2_init(etnaviv_domain);