drm/i915: remove excessive i915_gem_drain_freed_objects
authorNirmoy Das <nirmoy.das@intel.com>
Fri, 23 Sep 2022 07:35:15 +0000 (09:35 +0200)
committerAndi Shyti <andi.shyti@linux.intel.com>
Thu, 29 Sep 2022 11:29:57 +0000 (13:29 +0200)
commitda3dbdfea49cbaef41f37a566470b27df3e0e9ab
tree5ed34395c14c4268c1d85a8a75926e2e315f6c87
parentc50cec9bab620927445e9c7c050a8fae536557b8
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
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/selftests/mock_gem_device.c