18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/* Copyright (c) 2014 The Linux Foundation. All rights reserved.
38c2ecf20Sopenharmony_ci */
48c2ecf20Sopenharmony_ci#ifndef __A4XX_GPU_H__
58c2ecf20Sopenharmony_ci#define __A4XX_GPU_H__
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ci#include "adreno_gpu.h"
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_ci/* arrg, somehow fb.h is getting pulled in: */
108c2ecf20Sopenharmony_ci#undef ROP_COPY
118c2ecf20Sopenharmony_ci#undef ROP_XOR
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#include "a4xx.xml.h"
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_cistruct a4xx_gpu {
168c2ecf20Sopenharmony_ci	struct adreno_gpu base;
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci	/* if OCMEM is used for GMEM: */
198c2ecf20Sopenharmony_ci	struct adreno_ocmem ocmem;
208c2ecf20Sopenharmony_ci};
218c2ecf20Sopenharmony_ci#define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#endif /* __A4XX_GPU_H__ */
24