[git pull] amdkfd next 4.15 (part 2)
Oded Gabbay
oded.gabbay at gmail.com
Thu Nov 2 09:58:18 UTC 2017
Hi Dave,
Second pull request for 4.15 merge window.
highlights include:
- Usermode Events
The current events code implemented some data structures (waitqueue, fifo)
that were already implemented in the kernel. The patches below addresses
this issue by replacing them with the standard kernel implementation.
In addition, they simplify allocation of events IDs and memory for the events.
The patches also increase the maximum number of events while maintaining
compatibility with the older userspace library.
- Remove radeon support
Because Kaveri is fully supported in amdgpu and because current and future
versions of userspace libraries will only support amdgpu, we removed radeon
support from kfd. Current users can move to amdgpu while using the same
userspace libraries.
- Various bug fixes and cleanups
Thanks,
Oded
The following changes since commit 7a88cbd8d65d622c00bd76ba4ae1d893b292c91c:
Backmerge tag 'v4.14-rc7' into drm-next (2017-11-02 12:40:41 +1000)
are available in the git repository at:
git://people.freedesktop.org/~gabbayo/linux tags/drm-amdkfd-next-2017-11-02
for you to fetch changes up to 894a8293aaa702a5aef758bc069162a671ca7a07:
drm/amdkfd: Minor cleanups (2017-11-01 19:21:33 -0400)
----------------------------------------------------------------
Andres Rodriguez (4):
drm/amdkfd: use standard kernel kfifo for IH
drm/amdkfd: increase IH num entries to 8192
drm/amdkfd: wait only for IH work on IH exit
drm/amdkfd: use a high priority workqueue for IH work
Ben Goz (1):
drm/amdkfd: Register/Deregister process on qpd resolution
Besar Wicaksono (1):
drm/amdkfd: Add SDMA trap src id to the KFD isr wanted list
Christian König (1):
drm/radeon: deprecate and remove KFD interface
Felix Kuehling (11):
drm/amdkfd: Don't dereference kfd_process.mm
drm/amdkfd: Clean up kfd_wait_on_events
drm/amdkfd: Fix event destruction with pending waiters
drm/amdkfd: remove redundant kfd_event_waiter.input_index
drm/amdkfd: Use wait_queue_t to implement event waiting
drm/amdkfd: Simplify events page allocator
drm/amdkfd: Simplify event ID and signal slot management
drm/amdkfd: Use IH context ID for signal lookup
drm/amdkfd: Make event limit dependent on user mode mapping size
drm/amdkfd: Update queue_count before mapping queues
drm/amdkfd: Minor cleanups
Jay Cornwall (1):
drm/amdkfd: Disable CP/SDMA ring/doorbell in MQD
Oded Gabbay (1):
drm/amdkfd: increase limit of signal events to 4096 per process
Sean Keely (2):
drm/amdkfd: Short cut for kfd_wait_on_events without waiting
drm/amdkfd: Fix scheduler race in kfd_wait_on_events sleep loop
Yair Shachar (1):
drm/amdkfd: Fix debug unregister procedure on process termination
Yong Zhao (3):
drm/amdkfd: Clean up the data structure in kfd_process
drm/amdkfd: Avoid calling amd_iommu_unbind_pasid() when suspending
drm/amdkfd: Cleanup DQM ASIC-specific ops
MAINTAINERS | 2 -
drivers/gpu/drm/amd/amdkfd/Kconfig | 2 +-
drivers/gpu/drm/amd/amdkfd/cik_event_interrupt.c | 8 +-
drivers/gpu/drm/amd/amdkfd/cik_int.h | 3 +-
drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 9 +-
drivers/gpu/drm/amd/amdkfd/kfd_device.c | 2 +-
.../gpu/drm/amd/amdkfd/kfd_device_queue_manager.c | 49 +-
.../gpu/drm/amd/amdkfd/kfd_device_queue_manager.h | 11 +-
.../drm/amd/amdkfd/kfd_device_queue_manager_cik.c | 20 +-
.../drm/amd/amdkfd/kfd_device_queue_manager_vi.c | 20 +-
drivers/gpu/drm/amd/amdkfd/kfd_events.c | 615 +++++++-------
drivers/gpu/drm/amd/amdkfd/kfd_events.h | 18 +-
drivers/gpu/drm/amd/amdkfd/kfd_interrupt.c | 83 +-
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c | 34 +-
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c | 7 +-
drivers/gpu/drm/amd/amdkfd/kfd_priv.h | 41 +-
drivers/gpu/drm/amd/amdkfd/kfd_process.c | 72 +-
.../gpu/drm/amd/amdkfd/kfd_process_queue_manager.c | 9 +-
drivers/gpu/drm/radeon/Makefile | 3 +-
drivers/gpu/drm/radeon/cik.c | 14 +-
drivers/gpu/drm/radeon/cikd.h | 2 -
drivers/gpu/drm/radeon/radeon.h | 3 -
drivers/gpu/drm/radeon/radeon_drv.c | 10 -
drivers/gpu/drm/radeon/radeon_kfd.c | 901 ---------------------
drivers/gpu/drm/radeon/radeon_kfd.h | 47 --
drivers/gpu/drm/radeon/radeon_kms.c | 7 -
include/uapi/linux/kfd_ioctl.h | 2 +-
27 files changed, 450 insertions(+), 1544 deletions(-)
delete mode 100644 drivers/gpu/drm/radeon/radeon_kfd.c
delete mode 100644 drivers/gpu/drm/radeon/radeon_kfd.h
More information about the dri-devel
mailing list