Matthew Auld 833124a0d1 drm/i915: limit the async bind to bind_async_flags
If the vm doesn't request async binding, like for example with the dpt,
then we should be able to skip the async path and avoid calling
i915_vm_lock_objects() altogether. Currently if we have a moving fence
set for the BO(even though it might have signalled), we still take the
async patch regardless of the bind_async setting, and then later still
end up just doing i915_gem_object_wait_moving_fence() anyway.

Alternatively we would need to add dummy scratch object which can be
locked, just for the dpt.

Suggested-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Reviewed-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220304095934.925036-2-matthew.auld@intel.com
2022-03-07 09:24:19 +00:00
..
2022-02-11 11:55:26 -08:00
2022-02-14 10:52:27 +10:00
2022-02-07 17:42:44 +01:00
2022-01-18 14:03:34 +02:00
2022-02-25 05:50:18 +10:00
2022-01-30 01:06:35 +01:00
2022-02-01 19:02:41 +10:00
2021-12-09 20:06:54 -08:00
2022-02-01 16:52:54 +01:00
2022-02-07 16:35:35 -08:00
2022-01-11 11:35:28 -08:00
2022-01-12 11:11:34 -08:00
2022-02-14 10:52:27 +10:00
2022-02-12 09:56:18 -08:00
2022-01-22 08:33:37 +02:00
2022-01-22 09:52:17 +02:00
2022-02-11 12:55:17 -08:00
2022-01-16 08:08:11 +02:00
2022-02-02 10:33:04 +05:30
2022-02-14 10:52:27 +10:00
2022-01-22 08:33:37 +02:00
2022-01-11 11:26:57 -08:00
2022-01-20 13:25:01 +02:00
2022-01-27 11:23:26 +02:00
2022-02-01 12:39:37 -08:00
2022-02-25 05:50:18 +10:00
2022-02-08 09:48:44 +01:00
2021-12-29 10:54:50 +01:00
2022-01-20 13:31:46 +02:00
2022-02-25 05:50:18 +10:00
2022-01-23 06:20:44 +02:00
2022-01-17 08:07:57 +02:00
2022-01-22 08:33:37 +02:00
2021-12-08 14:53:15 -05:00