blob: 4b96f5616e7b63490949aa43c4f4bb811095e207 [file] [log] [blame]
Shrenuj Bansal41665402016-12-16 15:25:54 -08001/* Copyright (c) 2017, 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 */
13
14#ifndef _ADRENO_A6XX_H_
15#define _ADRENO_A6XX_H_
16
17#include "a6xx_reg.h"
18
19#define CP_CLUSTER_FE 0x0
20#define CP_CLUSTER_SP_VS 0x1
21#define CP_CLUSTER_PC_VS 0x2
22#define CP_CLUSTER_GRAS 0x3
23#define CP_CLUSTER_SP_PS 0x4
24#define CP_CLUSTER_PS 0x5
25
26
27void a6xx_snapshot(struct adreno_device *adreno_dev,
28 struct kgsl_snapshot *snapshot);
29
30void a6xx_crashdump_init(struct adreno_device *adreno_dev);
31
32#endif