]> 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)
commitf9cf94891726cda7a2cc29ca4e8d73b28412782c
treed5f05d582f1c18e9325ed2fd1b591f036d1edea4
parent0af14c1ac1ebfa686b82011f31a6be8172148a89
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