treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / gpu / drm / msm / adreno / a4xx_gpu.h
bloba01448cba2eaf0b5101cb4fc939454c7f0f8b8b1
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (c) 2014 The Linux Foundation. All rights reserved.
3 */
4 #ifndef __A4XX_GPU_H__
5 #define __A4XX_GPU_H__
7 #include "adreno_gpu.h"
9 /* arrg, somehow fb.h is getting pulled in: */
10 #undef ROP_COPY
11 #undef ROP_XOR
13 #include "a4xx.xml.h"
15 struct a4xx_gpu {
16 struct adreno_gpu base;
18 /* if OCMEM is used for GMEM: */
19 struct adreno_ocmem ocmem;
21 #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)
23 #endif /* __A4XX_GPU_H__ */