[RFC PATCH 0/3] Enforce DRM scheduler reclaim rules

Matthew Brost posted 3 patches 9 hours ago
drivers/gpu/drm/scheduler/sched_main.c | 10 +++++++++-
include/linux/workqueue.h              | 19 +++++++++++++++++++
kernel/workqueue.c                     |  9 +++++++++
3 files changed, 37 insertions(+), 1 deletion(-)
[RFC PATCH 0/3] Enforce DRM scheduler reclaim rules
Posted by Matthew Brost 9 hours ago
Over the past year, I've randomly reviewed new drivers using the DRM
scheduler and repeatedly spotted misuses related to reclaim. This update
to the DRM scheduler aims to catch some of these misuses.

It's quite possible that this change will expose bugs in upstream
drivers, which is why it's being submitted as an RFC."

Matt

Matthew Brost (3):
  workqueue: Add an interface to taint workqueue lockdep with reclaim
  drm/sched: Taint workqueues with reclaim
  drm/sched: Prevent adding dependencies to an armed job

 drivers/gpu/drm/scheduler/sched_main.c | 10 +++++++++-
 include/linux/workqueue.h              | 19 +++++++++++++++++++
 kernel/workqueue.c                     |  9 +++++++++
 3 files changed, 37 insertions(+), 1 deletion(-)

-- 
2.34.1