forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/gpu/drm/msm/adreno/a4xx_gpu.h
....@@ -1,14 +1,5 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Copyright (c) 2014 The Linux Foundation. All rights reserved.
2
- *
3
- * This program is free software; you can redistribute it and/or modify
4
- * it under the terms of the GNU General Public License version 2 and
5
- * only version 2 as published by the Free Software Foundation.
6
- *
7
- * This program is distributed in the hope that it will be useful,
8
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
9
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
- * GNU General Public License for more details.
11
- *
123 */
134 #ifndef __A4XX_GPU_H__
145 #define __A4XX_GPU_H__
....@@ -25,8 +16,7 @@
2516 struct adreno_gpu base;
2617
2718 /* if OCMEM is used for GMEM: */
28
- uint32_t ocmem_base;
29
- void *ocmem_hdl;
19
+ struct adreno_ocmem ocmem;
3020 };
3121 #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base)
3222