Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  * Copyright (C) 2013 Red Hat
0004  * Author: Rob Clark <robdclark@gmail.com>
0005  */
0006 
0007 #ifndef __A3XX_GPU_H__
0008 #define __A3XX_GPU_H__
0009 
0010 #include "adreno_gpu.h"
0011 
0012 /* arrg, somehow fb.h is getting pulled in: */
0013 #undef ROP_COPY
0014 #undef ROP_XOR
0015 
0016 #include "a3xx.xml.h"
0017 
0018 struct a3xx_gpu {
0019     struct adreno_gpu base;
0020 
0021     /* if OCMEM is used for GMEM: */
0022     struct adreno_ocmem ocmem;
0023 };
0024 #define to_a3xx_gpu(x) container_of(x, struct a3xx_gpu, base)
0025 
0026 #endif /* __A3XX_GPU_H__ */