]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm: use upstream iommu
authorRob Clark <robdclark@gmail.com>
Thu, 10 Jul 2014 02:08:15 +0000 (22:08 -0400)
committerRob Clark <robdclark@gmail.com>
Mon, 4 Aug 2014 15:55:29 +0000 (11:55 -0400)
commit6d1b536c02fdac198c136b3acc564aca0f1744f9
treed5f05d582f1c18e9325ed2fd1b591f036d1edea4
parent717f0695ba26d2b407f0f114864bdff2f01d1ee8
drm/msm: use upstream iommu

Downstream kernel IOMMU had a non-standard way of dealing with multiple
devices and multiple ports/contexts.  We don't need that on upstream
kernel, so rip out the crazy.

Note that we have to move the pinning of the ringbuffer to after the
IOMMU is attached.  No idea how that managed to work properly on the
downstream kernel.

For now, I am leaving the IOMMU port name stuff in place, to simplify
things for folks trying to backport latest drm/msm to device kernels.
Once we no longer have to care about pre-DT kernels, we can drop this
and instead backport upstream IOMMU driver.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/Kconfig
drivers/gpu/drm/msm/adreno/adreno_gpu.c
drivers/gpu/drm/msm/mdp/mdp4/mdp4_kms.c
drivers/gpu/drm/msm/mdp/mdp5/mdp5_kms.c
drivers/gpu/drm/msm/msm_gpu.c
drivers/gpu/drm/msm/msm_iommu.c
drivers/gpu/drm/msm/msm_mmu.h