diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0429-drm-amdgpu-fix-leaking-fence-in-the-pageflip-code.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0429-drm-amdgpu-fix-leaking-fence-in-the-pageflip-code.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/common/recipes-kernel/linux/files/0429-drm-amdgpu-fix-leaking-fence-in-the-pageflip-code.patch b/common/recipes-kernel/linux/files/0429-drm-amdgpu-fix-leaking-fence-in-the-pageflip-code.patch deleted file mode 100644 index b4574ebc..00000000 --- a/common/recipes-kernel/linux/files/0429-drm-amdgpu-fix-leaking-fence-in-the-pageflip-code.patch +++ /dev/null @@ -1,34 +0,0 @@ -From b2a8f8bd510b25322019e5648e1bc0fb343b699c Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com> -Date: Thu, 31 Mar 2016 13:05:51 +0200 -Subject: [PATCH 0429/1110] drm/amdgpu: fix leaking fence in the pageflip code -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -This fixes a memory leak when we can't register the callback on a fence. - -Signed-off-by: Christian König <christian.koenig@amd.com> -Reviewed-by: Alex Deucher <alexander.deucher@amd.com> -Cc: stable@vger.kernel.org -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c -index df65b11..7660f30 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c -@@ -57,7 +57,7 @@ static bool amdgpu_flip_handle_fence(struct amdgpu_flip_work *work, - if (!fence_add_callback(fence, &work->cb, amdgpu_flip_callback)) - return true; - -- fence_put(*f); -+ fence_put(fence); - return false; - } - --- -2.7.4 - |