WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / msm / adreno / a3xx_gpu.h
blobc555fb13e0d7e2517ae9968b1d75cfb37807db26
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * Copyright (C) 2013 Red Hat
4 * Author: Rob Clark <robdclark@gmail.com>
5 */
7 #ifndef __A3XX_GPU_H__
8 #define __A3XX_GPU_H__
10 #include "adreno_gpu.h"
12 /* arrg, somehow fb.h is getting pulled in: */
13 #undef ROP_COPY
14 #undef ROP_XOR
16 #include "a3xx.xml.h"
18 struct a3xx_gpu {
19 struct adreno_gpu base;
21 /* if OCMEM is used for GMEM: */
22 struct adreno_ocmem ocmem;
24 #define to_a3xx_gpu(x) container_of(x, struct a3xx_gpu, base)
26 #endif /* __A3XX_GPU_H__ */