This series wires GPU events into the render-node EVENTFD notification infrastructure.
It builds on the render-node EVENTFD infrastructure by adding notification producers for USERQ_EOP, QUEUE_RESET, and GPU_RESET events. QUEUE_RESET notifications are generated from the common queue-specific reset helper, while device-level reset accounting and DRM wedged-event notification remain in the top-level recovery paths. Patches ======= 1. drm/amdgpu: Signal USERQ_EOP EVENTFD notifications 2. drm/amdgpu/userq: properly account for resets with user queues 3. drm/amdgpu: Signal QUEUE_RESET EVENTFD notifications 4. drm/amdgpu: Signal GPU_RESET EVENTFD notifications Changes since v4 ================ - Rebased on the latest user queue reset handling changes. - Reworked the QUEUE_RESET producer to reuse the common queue-specific reset helper. - Kept device-level reset accounting and DRM wedged-event notification in the top-level recovery paths. Only compilation tested. Alex Deucher (1): drm/amdgpu: properly account for resets with user queues Srinivasan Shanmugam (3): drm/amdgpu: Signal USERQ_EOP EVENTFD notifications drm/amdgpu: Signal QUEUE_RESET EVENTFD notifications drm/amdgpu: Signal GPU_RESET EVENTFD notifications drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 51 +++++++++++- drivers/gpu/drm/amd/amdgpu/amdgpu_userq.c | 61 +++++++++++++-- drivers/gpu/drm/amd/amdgpu/amdgpu_userq.h | 1 + drivers/gpu/drm/amd/amdgpu/mes_userqueue.c | 77 +++++++++++++------ .../drm/amd/amdkfd/kfd_device_queue_manager.c | 17 +++- 5 files changed, 173 insertions(+), 34 deletions(-) -- 2.34.1
