mirror of https://gitee.com/openkylin/linux.git
76baee6c73
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
cik_regs.h | ||
kfd_chardev.c | ||
kfd_crat.h | ||
kfd_device.c | ||
kfd_device_queue_manager.c | ||
kfd_device_queue_manager.h | ||
kfd_doorbell.c | ||
kfd_flat_memory.c | ||
kfd_interrupt.c | ||
kfd_kernel_queue.c | ||
kfd_kernel_queue.h | ||
kfd_module.c | ||
kfd_mqd_manager.c | ||
kfd_mqd_manager.h | ||
kfd_packet_manager.c | ||
kfd_pasid.c | ||
kfd_pm4_headers.h | ||
kfd_pm4_opcodes.h | ||
kfd_priv.h | ||
kfd_process.c | ||
kfd_process_queue_manager.c | ||
kfd_queue.c | ||
kfd_topology.c | ||
kfd_topology.h |