From 8126ddc77edd20e1ef202a6a77b56d91bb6fd9a1 Mon Sep 17 00:00:00 2001 From: Yong Zhao Date: Thu, 5 Oct 2017 16:01:26 -0400 Subject: [PATCH] Update kfd_ioctl.h Kernel file has been changed recently, so we update the file in thunk. Change-Id: I359a389fa9d91641114c7fb75f420ee6b16f467a Signed-off-by: Yong Zhao --- include/linux/kfd_ioctl.h | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/include/linux/kfd_ioctl.h b/include/linux/kfd_ioctl.h index b318a8fd92..ae79f16e1d 100644 --- a/include/linux/kfd_ioctl.h +++ b/include/linux/kfd_ioctl.h @@ -208,14 +208,7 @@ struct kfd_ioctl_dbg_wave_control_args { #define KFD_IOC_WAIT_RESULT_TIMEOUT 1 #define KFD_IOC_WAIT_RESULT_FAIL 2 -/* - * The added 512 is because, currently, 8*(4096/256) signal events are - * reserved for debugger events, and we want to provide at least 4K signal - * events for EOP usage. - * We add 512 to make the allocated size (KFD_SIGNAL_EVENT_LIMIT * 8) be - * page aligned. - */ -#define KFD_SIGNAL_EVENT_LIMIT (4096 + 512) +#define KFD_SIGNAL_EVENT_LIMIT 4096 struct kfd_ioctl_create_event_args { uint64_t event_page_offset; /* from KFD */ @@ -520,7 +513,7 @@ struct kfd_ioctl_cross_memory_copy_args { #define AMDKFD_IOC_CROSS_MEMORY_COPY \ AMDKFD_IOWR(0x1F, struct kfd_ioctl_cross_memory_copy_args) -#define AMDKFD_IOC_GET_QUEUE_WAVE_STATE \ +#define AMDKFD_IOC_GET_QUEUE_WAVE_STATE \ AMDKFD_IOWR(0x20, struct kfd_ioctl_get_queue_wave_state_args) #define AMDKFD_COMMAND_START 0x01