]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
drm/msm: implement a2xx mmu
authorJonathan Marek <jonathan@marek.ca>
Wed, 14 Nov 2018 22:08:04 +0000 (17:08 -0500)
committerRob Clark <robdclark@gmail.com>
Tue, 11 Dec 2018 18:07:10 +0000 (13:07 -0500)
commitc2052a4e5c99f7edcb0283e6e12b2fb6975b7353
tree2c1b7d32227e42b3d757d3cce7b6a5af1fbdad4a
parentd1d9d0e1724d6a7123b4280fdf6630ae70f96c9c
drm/msm: implement a2xx mmu

A2XX has its own very simple MMU.

Added a msm_use_mmu() function because we can't rely on iommu_present to
decide to use MMU or not.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/Makefile
drivers/gpu/drm/msm/adreno/a2xx_gpu.c
drivers/gpu/drm/msm/adreno/adreno_device.c
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/msm_drv.c
drivers/gpu/drm/msm/msm_drv.h
drivers/gpu/drm/msm/msm_gem.c
drivers/gpu/drm/msm/msm_gem_vma.c
drivers/gpu/drm/msm/msm_gpu.c
drivers/gpu/drm/msm/msm_gpummu.c [new file with mode: 0644]
drivers/gpu/drm/msm/msm_mmu.h