]> 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)
commitd00eca50702b827f5719c610377b62b808a4a395
tree13239fcd657173d113953931374f5ec3f9bade0c
parent6efbc7bbfe7597d66226ad9eeccb9f3b2ad8cd77
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