xref: /openbmc/linux/drivers/gpu/drm/msm/adreno/a4xx_gpu.h (revision 26c0b26d)
197fb5e8dSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
223bd62fdSAravind Ganesan /* Copyright (c) 2014 The Linux Foundation. All rights reserved.
323bd62fdSAravind Ganesan  */
423bd62fdSAravind Ganesan #ifndef __A4XX_GPU_H__
523bd62fdSAravind Ganesan #define __A4XX_GPU_H__
623bd62fdSAravind Ganesan 
723bd62fdSAravind Ganesan #include "adreno_gpu.h"
823bd62fdSAravind Ganesan 
923bd62fdSAravind Ganesan /* arrg, somehow fb.h is getting pulled in: */
1023bd62fdSAravind Ganesan #undef ROP_COPY
1123bd62fdSAravind Ganesan #undef ROP_XOR
1223bd62fdSAravind Ganesan 
1323bd62fdSAravind Ganesan #include "a4xx.xml.h"
1423bd62fdSAravind Ganesan 
1523bd62fdSAravind Ganesan struct a4xx_gpu {
1623bd62fdSAravind Ganesan 	struct adreno_gpu base;
1723bd62fdSAravind Ganesan 
1823bd62fdSAravind Ganesan 	/* if OCMEM is used for GMEM: */
1926c0b26dSBrian Masney 	struct adreno_ocmem ocmem;
2023bd62fdSAravind Ganesan };
2123bd62fdSAravind Ganesan #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)
2223bd62fdSAravind Ganesan 
2323bd62fdSAravind Ganesan #endif /* __A4XX_GPU_H__ */
24