summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorKarunika Choo <karunika.choo@arm.com>2025-08-07 17:26:28 +0100
committerSteven Price <steven.price@arm.com>2025-08-15 10:50:56 +0100
commitc012663b178c4e6fb0179c2816fb0a270f080b59 (patch)
tree67bbc5c3462822e38e60e9cf29a4d121d67e93ab /rust/helpers/workqueue.c
parent94332524b5ccf9cfcb3c6184f1b9d6be65c6aad6 (diff)
drm/panthor: Simplify getting the GPU model name
This patch replaces the panthor_model structure with a simple switch case based on the product_id which is in the format of: ((arch_major << 24) | product_major) This simplifies comparison and allows extending of the function to accommodate naming differences based on supported GPU features. 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-3-karunika.choo@arm.com
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions