summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2018-04-17 12:15:13 +0200
committerLucas Stach <l.stach@pengutronix.de>2018-05-18 15:27:56 +0200
commita1fb6f204f956cc8385c31600354e2039978ebb4 (patch)
treedfaab8a4f571be43139ec9f3a26a90f3e4345395 /drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c
parent1af998b27c6c63d43c491783144ad0310d13a747 (diff)
downloadlinux-stable-a1fb6f204f956cc8385c31600354e2039978ebb4.tar.gz
linux-stable-a1fb6f204f956cc8385c31600354e2039978ebb4.tar.bz2
linux-stable-a1fb6f204f956cc8385c31600354e2039978ebb4.zip
drm/etnaviv: mmuv2: allocate 2nd level page tables on demand
With etnaviv not being tied into the IOMMU framework anymore, the MMU functions will only be called under sleeping locks. Thus we are able to allocate the memory for the 2nd level page tables on demand without having to deal with memory allocation in atomic context. This speeds up driver intitialization on MMUv2 GPU cores, as we don't need to preallocate all the page table memory and also reduces memory consumption for most workloads, as most of them won't use the full GPU virtual address space. Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'drivers/gpu/drm/etnaviv/etnaviv_gem_prime.c')
0 files changed, 0 insertions, 0 deletions