ARM: pmu: add support for interrupt-affinity property
[linux/fpc-iii.git] / drivers / gpu / drm / msm / adreno / a4xx_gpu.h
blob01247204ac9264ff6ae3a31e26d07b32afbd489f
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: */
19 #undef ROP_COPY
20 #undef ROP_XOR
22 #include "a4xx.xml.h"
24 struct a4xx_gpu {
25 struct adreno_gpu base;
26 struct platform_device *pdev;
28 /* if OCMEM is used for GMEM: */
29 uint32_t ocmem_base;
30 void *ocmem_hdl;
32 #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)
34 #endif /* __A4XX_GPU_H__ */