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 a2xx_gpus[] = { 12 { 13 .chip_ids = ADRENO_CHIP_IDS(0x02000000), 14 .family = ADRENO_2XX_GEN1, 15 .revn = 200, 16 .fw = { 17 [ADRENO_FW_PM4] = "yamato_pm4.fw", 18 [ADRENO_FW_PFP] = "yamato_pfp.fw", 19 }, 20 .gmem = SZ_256K, 21 .inactive_period = DRM_MSM_INACTIVE_PERIOD, 22 .init = a2xx_gpu_init, 23 }, { /* a200 on i.mx51 has only 128kib gmem */ 24 .chip_ids = ADRENO_CHIP_IDS(0x02000001), 25 .family = ADRENO_2XX_GEN1, 26 .revn = 201, 27 .fw = { 28 [ADRENO_FW_PM4] = "yamato_pm4.fw", 29 [ADRENO_FW_PFP] = "yamato_pfp.fw", 30 }, 31 .gmem = SZ_128K, 32 .inactive_period = DRM_MSM_INACTIVE_PERIOD, 33 .init = a2xx_gpu_init, 34 }, { 35 .chip_ids = ADRENO_CHIP_IDS(0x02020000), 36 .family = ADRENO_2XX_GEN2, 37 .revn = 220, 38 .fw = { 39 [ADRENO_FW_PM4] = "leia_pm4_470.fw", 40 [ADRENO_FW_PFP] = "leia_pfp_470.fw", 41 }, 42 .gmem = SZ_512K, 43 .inactive_period = DRM_MSM_INACTIVE_PERIOD, 44 .init = a2xx_gpu_init, 45 } 46 }; 47 DECLARE_ADRENO_GPULIST(a2xx); 48 49 MODULE_FIRMWARE("qcom/leia_pfp_470.fw"); 50 MODULE_FIRMWARE("qcom/leia_pm4_470.fw"); 51 MODULE_FIRMWARE("qcom/yamato_pfp.fw"); 52 MODULE_FIRMWARE("qcom/yamato_pm4.fw"); 53