diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0001-drm-Remove-unused-fbdev_list-members.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0001-drm-Remove-unused-fbdev_list-members.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0001-drm-Remove-unused-fbdev_list-members.patch b/common/recipes-kernel/linux/files/0001-drm-Remove-unused-fbdev_list-members.patch new file mode 100644 index 00000000..ac621aaf --- /dev/null +++ b/common/recipes-kernel/linux/files/0001-drm-Remove-unused-fbdev_list-members.patch @@ -0,0 +1,41 @@ +From 327138e09ccd825e24563b7fa787a3c50bb2c39f Mon Sep 17 00:00:00 2001 +From: Lukas Wunner <lukas@wunner.de> +Date: Sun, 1 Nov 2015 14:22:00 +0100 +Subject: [PATCH 0001/1110] drm: Remove unused fbdev_list members + +I noticed that intel_fbdev->our_mode is unused. Introduced by +79e539453b34 ("DRM: i915: add mode setting support"). + +Then I noticed that intel_fbdev->fbdev_list is unused as well. +Introduced by 386516744ba4 ("drm/fb: fix fbdev object model + +cleanup properly.") in i915, nouveau and radeon. + +Subsequently cargo culted to amdgpu, ast, cirrus, qxl, udl, +virtio and mgag200. + +Already removed from the latter with cc59487a05b1 ("drm/mgag200: +'fbdev_list' in 'struct mga_fbdev' is not used"). + +Remove it from the others. + +Signed-off-by: Lukas Wunner <lukas@wunner.de> +Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> +--- + drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c +index 093a8c6..6fcbbcc 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c +@@ -45,7 +45,6 @@ + struct amdgpu_fbdev { + struct drm_fb_helper helper; + struct amdgpu_framebuffer rfb; +- struct list_head fbdev_list; + struct amdgpu_device *adev; + }; + +-- +2.7.4 + |