linux/drivers/gpu/drm/amd/amdkfd
Oded Gabbay 76baee6c73 drm/amdkfd: rewrite kfd_ioctl() according to drm_ioctl()
This patch changes kfd_ioctl() to be very similar to drm_ioctl().

The patch defines an array of amdkfd_ioctls, which maps IOCTL definition to the
ioctl function.

The kfd_ioctl() uses that mapping to call the appropriate ioctl function,
through a function pointer.

This patch also declares a new typedef for the ioctl function pointer.

v2: Renamed KFD_COMMAND_(START|END) to AMDKFD_...

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
2015-01-06 19:44:36 +02:00
..
Kconfig amdkfd: Remove DRM_AMDGPU dependency from Kconfig 2014-11-21 22:36:09 +02:00
Makefile amdkfd: Add interrupt handling module 2014-07-17 01:37:30 +03:00
cik_regs.h amdkfd: Add mqd_manager module 2014-07-17 00:36:17 +03:00
kfd_chardev.c drm/amdkfd: rewrite kfd_ioctl() according to drm_ioctl() 2015-01-06 19:44:36 +02:00
kfd_crat.h
kfd_device.c amdkfd: Clear ctx cb before suspend 2014-11-09 22:36:22 +02:00
kfd_device_queue_manager.c drm/amdkfd: unmap VMID<-->PASID when relesing VMID (non-HWS) 2015-01-05 15:48:28 +02:00
kfd_device_queue_manager.h amdkfd: Add device queue manager module 2014-07-17 01:27:00 +03:00
kfd_doorbell.c amdkfd: explicitely include io.h in kfd_doorbell.c 2014-11-21 22:04:44 +02:00
kfd_flat_memory.c amdkfd: init aperture once per process 2014-11-18 13:56:23 +02:00
kfd_interrupt.c amdkfd: Add interrupt handling module 2014-07-17 01:37:30 +03:00
kfd_kernel_queue.c amdkfd: Set *buffer_ptr to NULL in case of error 2014-12-04 14:09:02 +02:00
kfd_kernel_queue.h amdkfd: Add kernel queue module 2014-07-17 00:45:35 +03:00
kfd_module.c amdkfd: Add module parameter of scheduling policy 2014-07-17 00:48:28 +03:00
kfd_mqd_manager.c drm/amd: Fixing typos in kfd<->kgd interface 2014-12-09 12:00:09 +02:00
kfd_mqd_manager.h amdkfd: Add mqd_manager module 2014-07-17 00:36:17 +03:00
kfd_packet_manager.c amdkfd: Add packet manager module 2014-07-17 00:55:28 +03:00
kfd_pasid.c amdkfd: actually allocate longs for the pasid bitmask 2014-12-28 11:44:37 -05:00
kfd_pm4_headers.h amdkfd: Add kernel queue module 2014-07-17 00:45:35 +03:00
kfd_pm4_opcodes.h amdkfd: Add kernel queue module 2014-07-17 00:45:35 +03:00
kfd_priv.h drm/amdkfd: rewrite kfd_ioctl() according to drm_ioctl() 2015-01-06 19:44:36 +02:00
kfd_process.c amdkfd: init aperture once per process 2014-11-18 13:56:23 +02:00
kfd_process_queue_manager.c amdkfd: fix an error handling bug in pqm_create_queue() 2014-11-25 13:24:51 +03:00
kfd_queue.c amdkfd: Add queue module 2014-07-17 00:18:51 +03:00
kfd_topology.c amdkfd: Fixing topology bug in building sysfs nodes 2014-12-02 16:41:08 +02:00
kfd_topology.h