]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: Set the global virtual address range from the IOMMU domain
authorJordan Crouse <jcrouse@codeaurora.org>
Mon, 17 Aug 2020 22:01:38 +0000 (15:01 -0700)
committerRob Clark <robdclark@chromium.org>
Sat, 12 Sep 2020 17:48:29 +0000 (10:48 -0700)
commit1ec22753cdb182c868d3ac1289353a3e8659300a
tree3db715b91cd09c9a802811015c13d5b176fad85c
parentce6bada65f7f88ff225295ad2c1accc915a413d9
drm/msm: Set the global virtual address range from the IOMMU domain

Use the aperture settings from the IOMMU domain to set up the virtual
address range for the GPU. This allows us to transparently deal with
IOMMU side features (like split pagetables).

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/msm_iommu.c