msm: kgsl: remove *MMU type options from Kconfig
Remove the ability to switch between gpummu and iommu via
kernel config. The new decision path is: if kgsl.mmutype is set,
use that. Otherwise if iommu_found() use iommu, and last
but not least use the gpummu.
Change-Id: I6d34baf72da53e566bfa7081c6741f7fd0180aea
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
diff --git a/drivers/gpu/msm/Kconfig b/drivers/gpu/msm/Kconfig
index 5852e26..ba63fbc 100644
--- a/drivers/gpu/msm/Kconfig
+++ b/drivers/gpu/msm/Kconfig
@@ -64,24 +64,10 @@
bool "Build a DRM interface for the MSM_KGSL driver"
depends on MSM_KGSL && DRM
-config MSM_KGSL_GPUMMU
- bool "Enable the GPU MMU in the MSM_KGSL driver"
- depends on MSM_KGSL && !MSM_KGSL_CFF_DUMP
- default y
-
-config MSM_KGSL_IOMMU
- bool "Enable the use of IOMMU in the MSM_KGSL driver"
- depends on MSM_KGSL && MSM_IOMMU && !MSM_KGSL_GPUMMU && !MSM_KGSL_CFF_DUMP
-
-config MSM_KGSL_MMU
- bool
- depends on MSM_KGSL_GPUMMU || MSM_KGSL_IOMMU
- default y
-
config KGSL_PER_PROCESS_PAGE_TABLE
bool "Enable Per Process page tables for the KGSL driver"
default n
- depends on MSM_KGSL_GPUMMU && !MSM_KGSL_DRM
+ depends on !MSM_KGSL_DRM
---help---
The MMU will use per process pagetables when enabled.
@@ -105,7 +91,6 @@
config MSM_KGSL_MMU_PAGE_FAULT
bool "Force the GPU MMU to page fault for unmapped regions"
default y
- depends on MSM_KGSL_GPUMMU
config MSM_KGSL_DISABLE_SHADOW_WRITES
bool "Disable register shadow writes for context switches"