mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-19 20:13:49 -04:00
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
16 lines
274 B
Makefile
16 lines
274 B
Makefile
# SPDX-License-Identifier: GPL-2.0 or MIT
|
|
|
|
panthor-y := \
|
|
panthor_devfreq.o \
|
|
panthor_device.o \
|
|
panthor_drv.o \
|
|
panthor_fw.o \
|
|
panthor_gem.o \
|
|
panthor_gpu.o \
|
|
panthor_heap.o \
|
|
panthor_hw.o \
|
|
panthor_mmu.o \
|
|
panthor_sched.o
|
|
|
|
obj-$(CONFIG_DRM_PANTHOR) += panthor.o
|