OSDN Git Service

drm/amdgpu: use drm_sched_job_add_resv_dependencies for moves
authorChristian König <christian.koenig@amd.com>
Wed, 28 Sep 2022 08:54:41 +0000 (10:54 +0200)
committerChristian König <christian.koenig@amd.com>
Thu, 3 Nov 2022 11:45:19 +0000 (12:45 +0100)
commit4f91790b42ffba72d80434d901548979ab41dc7c
treef1a96962a78bf9c240482add63cc8e6216317986
parent4d5230b50dd42afa2dfa6b13c44b0d90ecb78510
drm/amdgpu: use drm_sched_job_add_resv_dependencies for moves

Use the new common scheduler functions to figure out what to wait for.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221014084641.128280-4-christian.koenig@amd.com
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c