File Index
Files and directories
Sign in
FILE

a2xx_gpu.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/msm/adreno/a2xx_gpu.h C
 1// SPDX-License-Identifier: GPL-2.0
 2/* Copyright (c) 2018 The Linux Foundation. All rights reserved. */
 3
 4#ifndef __A2XX_GPU_H__
 5#define __A2XX_GPU_H__
 6
 7#include "adreno_gpu.h"
 8
 9/* arrg, somehow fb.h is getting pulled in: */
10#undef ROP_COPY
11#undef ROP_XOR
12
13#include "a2xx.xml.h"
14
15struct a2xx_gpu {
16	struct adreno_gpu base;
17	bool pm_enabled;
18	bool protection_disabled;
19};
20#define to_a2xx_gpu(x) container_of(x, struct a2xx_gpu, base)
21
22extern const struct adreno_gpu_funcs a2xx_gpu_funcs;
23
24struct msm_mmu *a2xx_gpummu_new(struct device *dev, struct msm_gpu *gpu);
25void a2xx_gpummu_params(struct msm_mmu *mmu, dma_addr_t *pt_base,
26		dma_addr_t *tran_error);
27
28#endif /* __A2XX_GPU_H__ */
~/ Read-only file preview.