xref: /linux/drivers/gpu/drm/msm/adreno/a4xx_catalog.c (revision d53b8e36925256097a08d7cb749198d85cbf9b2b)
1 // SPDX-License-Identifier: GPL-2.0-only
2 /*
3  * Copyright (C) 2013-2014 Red Hat
4  * Author: Rob Clark <robdclark@gmail.com>
5  *
6  * Copyright (c) 2014,2017 The Linux Foundation. All rights reserved.
7  */
8 
9 #include "adreno_gpu.h"
10 
11 static const struct adreno_info a4xx_gpus[] = {
12 	{
13 		.chip_ids = ADRENO_CHIP_IDS(0x04000500),
14 		.family = ADRENO_4XX,
15 		.revn  = 405,
16 		.fw = {
17 			[ADRENO_FW_PM4] = "a420_pm4.fw",
18 			[ADRENO_FW_PFP] = "a420_pfp.fw",
19 		},
20 		.gmem  = SZ_256K,
21 		.inactive_period = DRM_MSM_INACTIVE_PERIOD,
22 		.init  = a4xx_gpu_init,
23 	}, {
24 		.chip_ids = ADRENO_CHIP_IDS(0x04020000),
25 		.family = ADRENO_4XX,
26 		.revn  = 420,
27 		.fw = {
28 			[ADRENO_FW_PM4] = "a420_pm4.fw",
29 			[ADRENO_FW_PFP] = "a420_pfp.fw",
30 		},
31 		.gmem  = (SZ_1M + SZ_512K),
32 		.inactive_period = DRM_MSM_INACTIVE_PERIOD,
33 		.init  = a4xx_gpu_init,
34 	}, {
35 		.chip_ids = ADRENO_CHIP_IDS(0x04030002),
36 		.family = ADRENO_4XX,
37 		.revn  = 430,
38 		.fw = {
39 			[ADRENO_FW_PM4] = "a420_pm4.fw",
40 			[ADRENO_FW_PFP] = "a420_pfp.fw",
41 		},
42 		.gmem  = (SZ_1M + SZ_512K),
43 		.inactive_period = DRM_MSM_INACTIVE_PERIOD,
44 		.init  = a4xx_gpu_init,
45 	}
46 };
47 DECLARE_ADRENO_GPULIST(a4xx);
48 
49 MODULE_FIRMWARE("qcom/a420_pm4.fw");
50 MODULE_FIRMWARE("qcom/a420_pfp.fw");
51