mirror of https://gitee.com/openkylin/linux.git
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: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
This commit is contained in:
parent
fd4b77e8de
commit
ef092dec04
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue