aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux/linux-yocto-4.14.71/4136-drm-amdgpu-Use-the-drm_driver.dumb_destroy-default.patch
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4136-drm-amdgpu-Use-the-drm_driver.dumb_destroy-default.patch')
-rw-r--r--common/recipes-kernel/linux/linux-yocto-4.14.71/4136-drm-amdgpu-Use-the-drm_driver.dumb_destroy-default.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4136-drm-amdgpu-Use-the-drm_driver.dumb_destroy-default.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4136-drm-amdgpu-Use-the-drm_driver.dumb_destroy-default.patch
new file mode 100644
index 00000000..05d8a1a4
--- /dev/null
+++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4136-drm-amdgpu-Use-the-drm_driver.dumb_destroy-default.patch
@@ -0,0 +1,35 @@
+From 3b333942ab68ee667cfe8c5df7ba2765010e6a44 Mon Sep 17 00:00:00 2001
+From: noral f <noralf@tronnes.org>
+Date: Sun, 23 Jul 2017 21:16:45 +0200
+Subject: [PATCH 4136/5725] drm/amdgpu: Use the drm_driver.dumb_destroy default
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+drm_gem_dumb_destroy() is the drm_driver.dumb_destroy default,
+so no need to set it.
+
+Cc: Alex Deucher <alexander.deucher@amd.com>
+Cc: Christian König <christian.koenig@amd.com>
+Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
+Acked-by: Alex Deucher <alexander.deucher@amd.com>
+Link: https://patchwork.freedesktop.org/patch/msgid/1500837417-40580-30-git-send-email-noralf@tronnes.org
+---
+ drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+index 1397a47..3f68ca9 100644
+--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
+@@ -895,7 +895,6 @@ static struct drm_driver kms_driver = {
+ .gem_close_object = amdgpu_gem_object_close,
+ .dumb_create = amdgpu_mode_dumb_create,
+ .dumb_map_offset = amdgpu_mode_dumb_mmap,
+- .dumb_destroy = drm_gem_dumb_destroy,
+ .fops = &amdgpu_driver_kms_fops,
+
+ .prime_handle_to_fd = drm_gem_prime_handle_to_fd,
+--
+2.7.4
+