summaryrefslogtreecommitdiff
path: root/rust/helpers/workqueue.c
diff options
context:
space:
mode:
authorKarunika Choo <karunika.choo@arm.com>2025-08-07 17:26:27 +0100
committerSteven Price <steven.price@arm.com>2025-08-15 10:50:43 +0100
commit94332524b5ccf9cfcb3c6184f1b9d6be65c6aad6 (patch)
tree78c07a13b344d2b81a9e6d0c0165e411ebc406fc /rust/helpers/workqueue.c
parent5fbc0dbb92d639d10a5386ad0ae87a54680a04be (diff)
drm/panthor: Add panthor_hw and move gpu_info initialization into it
This patch introduces panthor_hw and moves the initialization of the gpu_info struct into panthor_hw.c in preparation of handling future GPU register and naming changes. Future GPU support can be added by extending panthor_gpu_info_init() with the necessary register reads behind GPU architecture version guards if the change is minor. For more complex changes, the function can be forked and the appropriate function will need to be called based on the GPU architecture version. 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-2-karunika.choo@arm.com
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions