brintos

brintos / linux-shallow public Read only

0
0
Text · 499 B · c555fb1 Raw
27 lines · c
1/* SPDX-License-Identifier: GPL-2.0-only */2/*3 * Copyright (C) 2013 Red Hat4 * 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_COPY14#undef ROP_XOR15 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__ */27