Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /* Copyright (c) 2018 The Linux Foundation. All rights reserved. */
0003 
0004 #ifndef __A2XX_GPU_H__
0005 #define __A2XX_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 "a2xx.xml.h"
0014 
0015 struct a2xx_gpu {
0016     struct adreno_gpu base;
0017     bool pm_enabled;
0018 };
0019 #define to_a2xx_gpu(x) container_of(x, struct a2xx_gpu, base)
0020 
0021 #endif /* __A2XX_GPU_H__ */