RFC Xe driver watch-queue implementation and example
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | lib/xe: add xe_watch listener for watch queue eventsinclude/ include/ lib/ +2 more | +413 | 0 replies | |
| 2/2 | tests/intel/xe_exec_compute_mode: Add a listener for file eventstests/ | +57 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH i-g-t 0/2] Xe driver watch-queue implementation and example
This series aims to provide an example how to use the xe driver watch-queue interface. The interface provides a means for user-space render clients to get asynchronous notifications with metadata attached.
The primary use-case would be the LR mode rebind worker running out of memory. Currently the VM gets killed, but it should be possible to recover, unbind buffer objects and restart.
Thomas Hellström (2):
lib/xe: add xe_watch listener for watch queue events tests/intel/xe_exec_compute_mode: Add a listener for file events
include/drm-uapi/xe_drm.h | 46 ++++++ include/drm-uapi/xe_drm_events.h | 65 +++++++++ lib/meson.build | 1 + lib/xe/xe_watch.c | 221 +++++++++++++++++++++++++++++ lib/xe/xe_watch.h | 80 +++++++++++ tests/intel/xe_exec_compute_mode.c | 59 +++++++- 6 files changed, 470 insertions(+), 2 deletions(-) create mode 100644 include/drm-uapi/xe_drm_events.h create mode 100644 lib/xe/xe_watch.c create mode 100644 lib/xe/xe_watch.h
Signature · 1 line
2.53.0