OSDN Git Service

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)
commite3c64c7221f6d85a3ba4db39a220432933d99a64
tree3db715b91cd09c9a802811015c13d5b176fad85c
parent15eb9ad073c035499b4abd7456822c8696ac1941
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