18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * Copyright (C) 2013 Red Hat 48c2ecf20Sopenharmony_ci * Author: Rob Clark <robdclark@gmail.com> 58c2ecf20Sopenharmony_ci */ 68c2ecf20Sopenharmony_ci 78c2ecf20Sopenharmony_ci#ifndef __A3XX_GPU_H__ 88c2ecf20Sopenharmony_ci#define __A3XX_GPU_H__ 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_ci#include "adreno_gpu.h" 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci/* arrg, somehow fb.h is getting pulled in: */ 138c2ecf20Sopenharmony_ci#undef ROP_COPY 148c2ecf20Sopenharmony_ci#undef ROP_XOR 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#include "a3xx.xml.h" 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_cistruct a3xx_gpu { 198c2ecf20Sopenharmony_ci struct adreno_gpu base; 208c2ecf20Sopenharmony_ci 218c2ecf20Sopenharmony_ci /* if OCMEM is used for GMEM: */ 228c2ecf20Sopenharmony_ci struct adreno_ocmem ocmem; 238c2ecf20Sopenharmony_ci}; 248c2ecf20Sopenharmony_ci#define to_a3xx_gpu(x) container_of(x, struct a3xx_gpu, base) 258c2ecf20Sopenharmony_ci 268c2ecf20Sopenharmony_ci#endif /* __A3XX_GPU_H__ */ 27