a3xx_gpu.h (499B)
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2013 Red Hat 4 * Author: Rob Clark <robdclark@gmail.com> 5 */ 6 7#ifndef __A3XX_GPU_H__ 8#define __A3XX_GPU_H__ 9 10#include "adreno_gpu.h" 11 12/* arrg, somehow fb.h is getting pulled in: */ 13#undef ROP_COPY 14#undef ROP_XOR 15 16#include "a3xx.xml.h" 17 18struct a3xx_gpu { 19 struct adreno_gpu base; 20 21 /* if OCMEM is used for GMEM: */ 22 struct adreno_ocmem ocmem; 23}; 24#define to_a3xx_gpu(x) container_of(x, struct a3xx_gpu, base) 25 26#endif /* __A3XX_GPU_H__ */