]> Git Repo - linux.git/commit
drm/i915/gt: Flush retire.work timer object on unload
authorChris Wilson <[email protected]>
Fri, 15 Nov 2019 15:08:39 +0000 (15:08 +0000)
committerChris Wilson <[email protected]>
Fri, 15 Nov 2019 16:43:33 +0000 (16:43 +0000)
commitdea397e818b18f688734802465e45a35a976d4df
tree93328e0601c135d231b551395dc9a3753b1a0113
parentaeab92e264d4083864733e6013245257ac28aec1
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 <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/i915/gt/intel_gt.c
drivers/gpu/drm/i915/gt/intel_gt_requests.c
drivers/gpu/drm/i915/gt/intel_gt_requests.h
This page took 0.052357 seconds and 4 git commands to generate.