]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/ttm: Update i915_gem_obj_copy_ttm() to be asynchronous
authorThomas Hellström <thomas.hellstrom@linux.intel.com>
Mon, 22 Nov 2021 21:45:54 +0000 (22:45 +0100)
committerThomas Hellström <thomas.hellstrom@linux.intel.com>
Thu, 25 Nov 2021 08:36:20 +0000 (09:36 +0100)
commit967caf43d2ca4ebb5bbbe75129eb7dc94904c97e
tree13239fcd657173d113953931374f5ec3f9bade0c
parentcb6a9facc3aa0a84a9cffc3f59a8b7dd8a099067
drm/i915/ttm: Update i915_gem_obj_copy_ttm() to be asynchronous

Update the copy function i915_gem_obj_copy_ttm() to be asynchronous for
future users and update the only current user to sync the objects
as needed after this function.

Signed-off-by: Thomas Hellström <thomas.hellstrom@linux.intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20211122214554.371864-7-thomas.hellstrom@linux.intel.com
drivers/gpu/drm/i915/gem/i915_gem_ttm_move.c
drivers/gpu/drm/i915/gem/i915_gem_ttm_pm.c