diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/1401-Remove-lazy-param-to-ttm_bo_wait.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/1401-Remove-lazy-param-to-ttm_bo_wait.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/1401-Remove-lazy-param-to-ttm_bo_wait.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/1401-Remove-lazy-param-to-ttm_bo_wait.patch new file mode 100644 index 00000000..2abd3597 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/1401-Remove-lazy-param-to-ttm_bo_wait.patch @@ -0,0 +1,29 @@ +From e48bdf40bb4a29f07c1b6b1999aecebb1d9265c9 Mon Sep 17 00:00:00 2001 +From: Kent Russell <kent.russell@amd.com> +Date: Tue, 5 Jul 2016 10:38:43 -0400 +Subject: [PATCH 1401/4131] Remove lazy param to ttm_bo_wait + +This has been removed from the ttm_bo_wait function, so change our call +accordingly. + +Change-Id: Ic163b3c0d6c16a6423ed5a89d7864f678f22b7f1 +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +index 8ec4859..2826e50 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c +@@ -526,7 +526,7 @@ static void unreserve_bo_and_vms(struct bo_vm_reservation_context *ctx, + int ret; + + list_for_each_entry(entry, &ctx->list, head) { +- ret = ttm_bo_wait(entry->bo, false, false, false); ++ ret = ttm_bo_wait(entry->bo, false, false); + if (ret != 0) + pr_err("amdkfd: Failed to wait for PT/PD update (err == %d)\n", + ret); +-- +2.7.4 + |