drm/msm: implement a2xx mmu
A2XX has its own very simple MMU. Added a msm_use_mmu() function because we can't rely on iommu_present to decide to use MMU or not. Signed-off-by: Jonathan Marek <jonathan@marek.ca> Signed-off-by: Rob Clark <robdclark@gmail.com>
This commit is contained in:
committed by
Rob Clark
parent
d1d9d0e172
commit
c2052a4e5c
@@ -53,4 +53,7 @@ static inline void msm_mmu_set_fault_handler(struct msm_mmu *mmu, void *arg,
|
||||
mmu->handler = handler;
|
||||
}
|
||||
|
||||
void msm_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base,
|
||||
dma_addr_t *tran_error);
|
||||
|
||||
#endif /* __MSM_MMU_H__ */
|
||||
|
||||
Reference in New Issue
Block a user