Re: [PATCH v5 0/4] drm/amdgpu: Wire GPU events into EVENTFD notifications

Alex Deucher <[email protected]>
Newsgroups org.freedesktop.lists.amd-gfx
Message-ID <CADnq5_OUy6LqBZioxrp2aVh9mGTrFQmY=MKF68VdBUbnq591ew@mail.gmail.com>
Series is:
Reviewed-by: Alex Deucher <[email protected]>

On Wed, Jul 15, 2026 at 10:39 AM Srinivasan Shanmugam
<[email protected]> wrote:
>
> 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
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.