]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Flush context free work on cleanup
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Nov 2019 15:00:51 +0000 (15:00 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Nov 2019 16:11:37 +0000 (16:11 +0000)
commit4126a48150227a62fb4b329cb2e1a89e6511c755
tree0d1cb8062c744ca23139c3ca289eb309737ccca1
parent4ea884fc03ebad9e8a904e736e809aebfc59c8c9
drm/i915: Flush context free work on cleanup

Throw in a flush_work() to specifically flush the context cleanup work
before the module is unloaded.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=112248
Fixes: 06568f8e356d ("drm/i915: Move context management under GEM")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191112150051.1603-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gem/i915_gem_context.c