1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2018 The Linux Foundation. All rights reserved. */
7 #include "adreno_gpu.h"
9 /* arrg, somehow fb.h is getting pulled in: */
16 struct adreno_gpu base;
18 bool protection_disabled;
20 #define to_a2xx_gpu(x) container_of(x, struct a2xx_gpu, base)
22 struct msm_mmu *a2xx_gpummu_new(struct device *dev, struct msm_gpu *gpu);
23 void a2xx_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base,
24 dma_addr_t *tran_error);
26 #endif /* __A2XX_GPU_H__ */