Skip to content

Commit 2c0d0a8

Browse files
Karunika Choostevenprice-arm
authored andcommitted
drm/panthor: Add support for Mali-G710, Mali-G510 and Mali-G310
This patch adds GPU model name and FW binary support for Mali-G710, Mali-G510, and Mali-G310. Reviewed-by: Steven Price <steven.price@arm.com> Reviewed-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Liviu Dudau <liviu.dudau@arm.com> Signed-off-by: Karunika Choo <karunika.choo@arm.com> Signed-off-by: Steven Price <steven.price@arm.com> Link: https://lore.kernel.org/r/20250807162633.3666310-4-karunika.choo@arm.com
1 parent c012663 commit 2c0d0a8

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

drivers/gpu/drm/panthor/panthor_fw.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1402,3 +1402,5 @@ int panthor_fw_init(struct panthor_device *ptdev)
14021402
}
14031403

14041404
MODULE_FIRMWARE("arm/mali/arch10.8/mali_csffw.bin");
1405+
MODULE_FIRMWARE("arm/mali/arch10.10/mali_csffw.bin");
1406+
MODULE_FIRMWARE("arm/mali/arch10.12/mali_csffw.bin");

drivers/gpu/drm/panthor/panthor_hw.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ static char *get_gpu_model_name(struct panthor_device *ptdev)
1515
GPU_PROD_MAJOR(gpu_id));
1616

1717
switch (product_id) {
18+
case GPU_PROD_ID_MAKE(10, 2):
19+
return "Mali-G710";
20+
case GPU_PROD_ID_MAKE(10, 3):
21+
return "Mali-G510";
22+
case GPU_PROD_ID_MAKE(10, 4):
23+
return "Mali-G310";
1824
case GPU_PROD_ID_MAKE(10, 7):
1925
return "Mali-G610";
2026
}

0 commit comments

Comments
 (0)