diff options
author | Felix Kuehling <Felix.Kuehling@amd.com> | 2017-10-28 02:35:26 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2017-10-28 02:35:26 +0300 |
commit | 50cb7dd94cb43a6204813376e1be1d21780b71fb (patch) | |
tree | 188bfff5f52f789cefcad752091702bf41904aac /drivers/gpu/drm/amd/amdkfd/kfd_events.h | |
parent | 74e4071665da243e0ff1b7a0e1b8ac7d89cdb3ca (diff) | |
download | linux-50cb7dd94cb43a6204813376e1be1d21780b71fb.tar.xz |
drm/amdkfd: Simplify events page allocator
The first event page is always big enough to handle all events.
Handling of multiple events pages is not supported by user mode, and
not necessary.
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Oded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdkfd/kfd_events.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_events.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_events.h b/drivers/gpu/drm/amd/amdkfd/kfd_events.h index 96f9122805fa..f85fcee4414b 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_events.h +++ b/drivers/gpu/drm/amd/amdkfd/kfd_events.h @@ -60,7 +60,6 @@ struct kfd_event { wait_queue_head_t wq; /* List of event waiters. */ /* Only for signal events. */ - struct signal_page *signal_page; unsigned int signal_slot_index; uint64_t __user *user_signal_address; |