mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-08-30 13:03:01 +00:00

AMD AI Engine forms the core of AMD NPU and can be used for accelerating machine learning applications. Add the driver to support AI Engine integrated to AMD CPU. Only very basic functionalities are added. - module and PCI device initialization - firmware load - power up - low level hardware initialization Co-developed-by: Narendra Gutta <VenkataNarendraKumar.Gutta@amd.com> Signed-off-by: Narendra Gutta <VenkataNarendraKumar.Gutta@amd.com> Co-developed-by: George Yang <George.Yang@amd.com> Signed-off-by: George Yang <George.Yang@amd.com> Co-developed-by: Min Ma <min.ma@amd.com> Signed-off-by: Min Ma <min.ma@amd.com> Reviewed-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Signed-off-by: Lizhi Hou <lizhi.hou@amd.com> Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241118172942.2014541-3-lizhi.hou@amd.com
19 lines
514 B
Plaintext
19 lines
514 B
Plaintext
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
config DRM_ACCEL_AMDXDNA
|
|
tristate "AMD AI Engine"
|
|
depends on AMD_IOMMU
|
|
depends on DRM_ACCEL
|
|
depends on PCI && HAS_IOMEM
|
|
depends on X86_64
|
|
select DRM_SCHED
|
|
select DRM_GEM_SHMEM_HELPER
|
|
select FW_LOADER
|
|
select HMM_MIRROR
|
|
help
|
|
Choose this option to enable support for NPU integrated into AMD
|
|
client CPUs like AMD Ryzen AI 300 Series. AMD NPU can be used to
|
|
accelerate machine learning applications.
|
|
|
|
If "M" is selected, the driver module will be amdxdna.
|