aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/adreno/a4xx_gpu.c
diff options
context:
space:
mode:
authorJordan Crouse <jcrouse@codeaurora.org>2020-05-22 16:03:14 -0600
committerRob Clark <robdclark@chromium.org>2020-05-23 13:37:38 -0700
commit52da6d513183cf543df6efc95bf504aee0da70d6 (patch)
treead3e5114d1eedc9940f5227b0dd53c298fbe8663 /drivers/gpu/drm/msm/adreno/a4xx_gpu.c
parentdrm/msm/dpu: dpu_setup_dspp_pcc() can be static (diff)
downloadlinux-dev-52da6d513183cf543df6efc95bf504aee0da70d6.tar.xz
linux-dev-52da6d513183cf543df6efc95bf504aee0da70d6.zip
drm/msm: Attach the IOMMU device during initialization
Everywhere an IOMMU object is created by msm_gpu_create_address_space the IOMMU device is attached immediately after. Instead of carrying around the infrastructure to do the attach from the device specific code do it directly in the msm_iommu_init() function. This gets it out of the way for more aggressive cleanups that follow. Reviewed-by: Rob Clark <robdclark@gmail.com> Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Tested-by: Shawn Guo <shawn.guo@linaro.org> [squash in rebase fixups and fix for unused fxn] Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu/drm/msm/adreno/a4xx_gpu.c')
0 files changed, 0 insertions, 0 deletions