1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (c) 2014 The Linux Foundation. All rights reserved.
3  */
4 #ifndef __A4XX_GPU_H__
5 #define __A4XX_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 "a4xx.xml.h"
14 
15 struct a4xx_gpu {
16 	struct adreno_gpu base;
17 
18 	/* if OCMEM is used for GMEM: */
19 	struct adreno_ocmem ocmem;
20 };
21 #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)
22 
23 #endif /* __A4XX_GPU_H__ */
24