FIXME: drm/xe: Use per device page fault queues
Having a per-GT page fault queue doesn't provide any real benefit as per
VM or per MM locks need to be held in an exclusive way. Move the page
fault queue to device. This can be revisited if the VM or MM locks can
be held in a shared way.
Also use an array of ordered work queue rather than a single unbound
work queue with multiple threads. Will help with scheduling other work
items on page fault work queues.
FIXME: Layering for init / reset now wrong, clean up before merging
FIXME: GT resets may be broken which patch
Signed-off-by:
Matthew Brost <matthew.brost@intel.com>
Showing
- drivers/gpu/drm/xe/xe_device.c 30 additions, 0 deletionsdrivers/gpu/drm/xe/xe_device.c
- drivers/gpu/drm/xe/xe_device_types.h 63 additions, 0 deletionsdrivers/gpu/drm/xe/xe_device_types.h
- drivers/gpu/drm/xe/xe_gt_pagefault.c 55 additions, 46 deletionsdrivers/gpu/drm/xe/xe_gt_pagefault.c
- drivers/gpu/drm/xe/xe_gt_types.h 0 additions, 60 deletionsdrivers/gpu/drm/xe/xe_gt_types.h
Please register or sign in to comment