1 /* Copyright (c) 2014 The Linux Foundation. All rights reserved.
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
13 #ifndef __A4XX_GPU_H__
14 #define __A4XX_GPU_H__
16 #include "adreno_gpu.h"
18 /* arrg, somehow fb.h is getting pulled in: */
25 struct adreno_gpu base;
26 struct platform_device *pdev;
28 /* if OCMEM is used for GMEM: */
32 #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)
34 #endif /* __A4XX_GPU_H__ */