diff options
author | Oded Gabbay <oded.gabbay@amd.com> | 2014-07-16 21:08:55 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@amd.com> | 2014-07-16 21:08:55 +0300 |
commit | 4a488a7ad71401169cecee75dc94bcce642e2c53 (patch) | |
tree | 5238eb2652e22d7bb8ce83906ed96db50c490a15 /drivers/gpu/drm/amd/amdkfd/Makefile | |
parent | b7facbaec75a20f34c2065121dc423971682f922 (diff) | |
download | op-kernel-dev-4a488a7ad71401169cecee75dc94bcce642e2c53.zip op-kernel-dev-4a488a7ad71401169cecee75dc94bcce642e2c53.tar.gz |
amdkfd: Add amdkfd skeleton driver
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/Makefile')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/Makefile b/drivers/gpu/drm/amd/amdkfd/Makefile new file mode 100644 index 0000000..d875ce4 --- /dev/null +++ b/drivers/gpu/drm/amd/amdkfd/Makefile @@ -0,0 +1,9 @@ +# +# 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 |