]> git.baikalelectronics.ru Git - kernel.git/commit
drm_amdgpu: Add job fence to resv conditionally
authorxinhui pan <xinhui.pan@amd.com>
Mon, 16 Mar 2020 03:45:14 +0000 (11:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Mar 2020 20:21:32 +0000 (16:21 -0400)
commita7c628e34f324b9d0df8b71bab4e53bc75fd9d02
treefea55f4072287f41c44322061d04fd20aad142ce
parenta7d7b78bd2aa4636ecfc75a2f31bd4ee8a6e21c7
drm_amdgpu: Add job fence to resv conditionally

Job fence on page table should be a shared one, so add it to the root
page talbe bo resv.
last_delayed field is not needed anymore. so remove it.

Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Felix Kuehling <Felix.Kuehling@amd.com>
Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: xinhui pan <xinhui.pan@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
drivers/gpu/drm/amd/amdgpu/amdgpu_vm_sdma.c