.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* 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 | | - * |
---|
12 | 3 | */ |
---|
13 | 4 | #ifndef __A4XX_GPU_H__ |
---|
14 | 5 | #define __A4XX_GPU_H__ |
---|
.. | .. |
---|
25 | 16 | struct adreno_gpu base; |
---|
26 | 17 | |
---|
27 | 18 | /* if OCMEM is used for GMEM: */ |
---|
28 | | - uint32_t ocmem_base; |
---|
29 | | - void *ocmem_hdl; |
---|
| 19 | + struct adreno_ocmem ocmem; |
---|
30 | 20 | }; |
---|
31 | 21 | #define to_a4xx_gpu(x) container_of(x, struct a4xx_gpu, base) |
---|
32 | 22 | |
---|