]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: get owner ref in validate and map
authorAlex Sierra <alex.sierra@amd.com>
Thu, 6 May 2021 18:18:40 +0000 (13:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jul 2021 04:05:41 +0000 (00:05 -0400)
commit16d0ccd8465d11faa4b262d64d5b4601433a4963
treed81c7f85fa1410bc4dd9a70e783a5efe684a48b9
parent6b81e48f10d68f0d4883803f4640dbbeb157316f
drm/amdgpu: get owner ref in validate and map

Get the proper owner reference for amdgpu_hmm_range_get_pages function.
This is useful for partial migrations. To avoid migrating back to
system memory, VRAM pages, that are accessible by all devices in the
same memory domain.
Ex. multiple devices in the same hive.

Signed-off-by: Alex Sierra <alex.sierra@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_svm.c