Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /* Copyright (c) 2014 The Linux Foundation. All rights reserved.
0003  */
0004 #ifndef __A4XX_GPU_H__
0005 #define __A4XX_GPU_H__
0006 
0007 #include "adreno_gpu.h"
0008 
0009 /* arrg, somehow fb.h is getting pulled in: */
0010 #undef ROP_COPY
0011 #undef ROP_XOR
0012 
0013 #include "a4xx.xml.h"
0014 
0015 struct a4xx_gpu {
0016     struct adreno_gpu base;
0017 
0018     /* if OCMEM is used for GMEM: */
0019     struct adreno_ocmem ocmem;
0020 };
0021 #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)
0022 
0023 #endif /* __A4XX_GPU_H__ */