mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-20 15:17:07 +07:00
4a488a7ad7
This patch adds the amdkfd skeleton driver. The driver does nothing except define a /dev/kfd device. It returns -ENODEV on all amdkfd IOCTLs. v3: Move bool field to the end of structure, removed the pmc ioctls and added a meaningful error message for ioctl error. v5: Create a new folder drm/amd and move amdkfd from drm/radeon/ to drm/amd/ Remove scheduler_class from kfd_priv.h as it was never used Add skeleton implementation of the Get Version IOCTL v6: Update module version to the correct number and remove the "default m" from the Kconfig file Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
10 lines
227 B
Makefile
10 lines
227 B
Makefile
#
|
|
# Makefile for Heterogenous System Architecture support for AMD GPU devices
|
|
#
|
|
|
|
ccflags-y := -Iinclude/drm -Idrivers/gpu/drm/amd/include/
|
|
|
|
amdkfd-y := kfd_module.o kfd_device.o kfd_chardev.o
|
|
|
|
obj-$(CONFIG_HSA_AMD) += amdkfd.o
|