mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
drm/i915: remove excessive i915_gem_drain_freed_objects
i915_gem_drain_workqueue() call i915_gem_drain_freed_objects() so no need to call that again. Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Signed-off-by: Nirmoy Das <nirmoy.das@intel.com> Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com> Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220923073515.23093-2-nirmoy.das@intel.com
This commit is contained in:
@@ -67,7 +67,6 @@ static void mock_device_release(struct drm_device *dev)
|
||||
intel_gt_driver_remove(to_gt(i915));
|
||||
|
||||
i915_gem_drain_workqueue(i915);
|
||||
i915_gem_drain_freed_objects(i915);
|
||||
|
||||
mock_fini_ggtt(to_gt(i915)->ggtt);
|
||||
destroy_workqueue(i915->wq);
|
||||
|
||||
Reference in New Issue
Block a user