drm/i915/gt: Flush retire.work timer object on unload
We need to wait until the timer object is marked as deactivated before unloading, so follow up our gentle cancel_delayed_work() with the synchronous variant to ensure it is flushed off a remote cpu before we mark the memory as freed. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111994 Signed-off-by:Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by:
Tvrtko Ursulin <tvrtko.ursulin@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191115150841.880349-1-chris@chris-wilson.co.uk
Showing
- drivers/gpu/drm/i915/gt/intel_gt.c 1 addition, 0 deletionsdrivers/gpu/drm/i915/gt/intel_gt.c
- drivers/gpu/drm/i915/gt/intel_gt_requests.c 6 additions, 0 deletionsdrivers/gpu/drm/i915/gt/intel_gt_requests.c
- drivers/gpu/drm/i915/gt/intel_gt_requests.h 1 addition, 0 deletionsdrivers/gpu/drm/i915/gt/intel_gt_requests.h
Loading
Please register or sign in to comment