aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1682-drm-amdkfd-Fix-CMA-bug.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1682-drm-amdkfd-Fix-CMA-bug.patch')
-rw-r--r--meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1682-drm-amdkfd-Fix-CMA-bug.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1682-drm-amdkfd-Fix-CMA-bug.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1682-drm-amdkfd-Fix-CMA-bug.patch
deleted file mode 100644
index ec6324d0..00000000
--- a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/1682-drm-amdkfd-Fix-CMA-bug.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From d2a2dd18b9218cee4371c14c6bbc98ba36a78a9f Mon Sep 17 00:00:00 2001
-From: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
-Date: Wed, 3 May 2017 15:58:50 -0400
-Subject: [PATCH 1682/4131] drm/amdkfd: Fix CMA bug
-
-If source buffer is copied to multiple destination buffers, the source
-offset is not changed. This resulted in same (top) part of the source
-buffer repeatedly copied into different destination buffers. Fix it.
-
-Change-Id: Ib1344a3571ae8b1b49e1cd3c11b8525b78454109
-Signed-off-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com>
----
- drivers/gpu/drm/amd/amdkfd/kfd_chardev.c | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
-index f394f05..c763103 100644
---- a/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
-+++ b/drivers/gpu/drm/amd/amdkfd/kfd_chardev.c
-@@ -2096,6 +2096,7 @@ static int kfd_ioctl_cross_memory_copy(struct file *filep,
- space_left -= copied;
- dst_va_addr += copied;
- dst_offset += copied;
-+ src_offset += copied;
- if (dst_va_addr > dst_bo->it.last + 1) {
- pr_err("Cross mem copy failed. Memory overflow\n");
- err = -EFAULT;
---
-2.7.4
-