linux/drivers/gpu/drm/amd/amdkfd
Oded Gabbay 524a640444 drm/amdkfd: Do copy_to/from_user in general kfd_ioctl()
This patch moves the copy_to_user() and copy_from_user() calls from the
different ioctl functions in amdkfd to the general kfd_ioctl() function, as
this is a common code for all ioctls.

This was done according to example taken from drm_ioctl.c

Signed-off-by: Oded Gabbay <oded.gabbay@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
2015-01-06 19:44:26 +02:00
..
cik_regs.h amdkfd: Add mqd_manager module 2014-07-17 00:36:17 +03:00
Kconfig amdkfd: Remove DRM_AMDGPU dependency from Kconfig 2014-11-21 22:36:09 +02:00
kfd_chardev.c drm/amdkfd: Do copy_to/from_user in general kfd_ioctl() 2015-01-06 19:44:26 +02:00
kfd_crat.h
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_device.c amdkfd: Clear ctx cb before suspend 2014-11-09 22:36:22 +02: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 amdkfd: Instead of using get function, use container_of 2014-11-19 17:07:00 +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_process.c amdkfd: init aperture once per process 2014-11-18 13:56:23 +02: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
Makefile amdkfd: Add interrupt handling module 2014-07-17 01:37:30 +03:00