adding support for scratch memory

Signed-off-by: Moses Reuben <moses.reuben@amd.com>
This commit is contained in:
Moses Reuben
2015-06-09 05:37:05 +03:00
committed by Ben Goz
parent 2e76017278
commit 29c083f695
5 changed files with 98 additions and 8 deletions
+5 -1
View File
@@ -336,7 +336,11 @@ struct kfd_ioctl_open_graphic_handle_args {
#define AMDKFD_IOC_OPEN_GRAPHIC_HANDLE \
AMDKFD_IOWR(0x15, struct kfd_ioctl_open_graphic_handle_args)
#define AMDKFD_IOC_ALLOC_MEMORY_OF_SCRATCH \
AMDKFD_IOWR(0x16, struct kfd_ioctl_alloc_memory_of_gpu_args)
#define AMDKFD_COMMAND_START 0x01
#define AMDKFD_COMMAND_END 0x16
#define AMDKFD_COMMAND_END 0x17
#endif