aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Wunner <lukas@wunner.de>2015-11-01 08:22:00 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2015-11-24 05:41:52 -0500
commitcb1197173f46003616bcacbe2fea55ec3dd90e91 (patch)
treefa74035c2b8a5e1c7b474db81316106913540cf0
parent5f911905054a64cf8c7871fddd33f4af74f07a17 (diff)
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>
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c1
-rw-r--r--drivers/gpu/drm/ast/ast_drv.h1
-rw-r--r--drivers/gpu/drm/cirrus/cirrus_drv.h1
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h2
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_fbcon.h1
-rw-r--r--drivers/gpu/drm/qxl/qxl_fb.c1
-rw-r--r--drivers/gpu/drm/radeon/radeon_fb.c1
-rw-r--r--drivers/gpu/drm/udl/udl_fb.c1
-rw-r--r--drivers/gpu/drm/virtio/virtgpu_fb.c1
9 files changed, 0 insertions, 10 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
index 093a8c618931..6fcbbcc2e99e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
@@ -45,7 +45,6 @@
45struct amdgpu_fbdev { 45struct amdgpu_fbdev {
46 struct drm_fb_helper helper; 46 struct drm_fb_helper helper;
47 struct amdgpu_framebuffer rfb; 47 struct amdgpu_framebuffer rfb;
48 struct list_head fbdev_list;
49 struct amdgpu_device *adev; 48 struct amdgpu_device *adev;
50}; 49};
51 50
diff --git a/drivers/gpu/drm/ast/ast_drv.h b/drivers/gpu/drm/ast/ast_drv.h
index 05f6522c0457..2e931eeba105 100644
--- a/drivers/gpu/drm/ast/ast_drv.h
+++ b/drivers/gpu/drm/ast/ast_drv.h
@@ -256,7 +256,6 @@ struct ast_framebuffer {
256struct ast_fbdev { 256struct ast_fbdev {
257 struct drm_fb_helper helper; 257 struct drm_fb_helper helper;
258 struct ast_framebuffer afb; 258 struct ast_framebuffer afb;
259 struct list_head fbdev_list;
260 void *sysram; 259 void *sysram;
261 int size; 260 int size;
262 struct ttm_bo_kmap_obj mapping; 261 struct ttm_bo_kmap_obj mapping;
diff --git a/drivers/gpu/drm/cirrus/cirrus_drv.h b/drivers/gpu/drm/cirrus/cirrus_drv.h
index 705061537a27..d772f7afafeb 100644
--- a/drivers/gpu/drm/cirrus/cirrus_drv.h
+++ b/drivers/gpu/drm/cirrus/cirrus_drv.h
@@ -153,7 +153,6 @@ struct cirrus_device {
153struct cirrus_fbdev { 153struct cirrus_fbdev {
154 struct drm_fb_helper helper; 154 struct drm_fb_helper helper;
155 struct cirrus_framebuffer gfb; 155 struct cirrus_framebuffer gfb;
156 struct list_head fbdev_list;
157 void *sysram; 156 void *sysram;
158 int size; 157 int size;
159 int x1, y1, x2, y2; /* dirty rect */ 158 int x1, y1, x2, y2; /* dirty rect */
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 0598932ce623..d7926658b93d 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -123,8 +123,6 @@ struct intel_framebuffer {
123struct intel_fbdev { 123struct intel_fbdev {
124 struct drm_fb_helper helper; 124 struct drm_fb_helper helper;
125 struct intel_framebuffer *fb; 125 struct intel_framebuffer *fb;
126 struct list_head fbdev_list;
127 struct drm_display_mode *our_mode;
128 int preferred_bpp; 126 int preferred_bpp;
129}; 127};
130 128
diff --git a/drivers/gpu/drm/nouveau/nouveau_fbcon.h b/drivers/gpu/drm/nouveau/nouveau_fbcon.h
index 1e2e9e27a03b..ca77ad001978 100644
--- a/drivers/gpu/drm/nouveau/nouveau_fbcon.h
+++ b/drivers/gpu/drm/nouveau/nouveau_fbcon.h
@@ -34,7 +34,6 @@
34struct nouveau_fbdev { 34struct nouveau_fbdev {
35 struct drm_fb_helper helper; 35 struct drm_fb_helper helper;
36 struct nouveau_framebuffer nouveau_fb; 36 struct nouveau_framebuffer nouveau_fb;
37 struct list_head fbdev_list;
38 struct drm_device *dev; 37 struct drm_device *dev;
39 unsigned int saved_flags; 38 unsigned int saved_flags;
40 struct nvif_object surf2d; 39 struct nvif_object surf2d;
diff --git a/drivers/gpu/drm/qxl/qxl_fb.c b/drivers/gpu/drm/qxl/qxl_fb.c
index c4a552637c93..a97d16792bed 100644
--- a/drivers/gpu/drm/qxl/qxl_fb.c
+++ b/drivers/gpu/drm/qxl/qxl_fb.c
@@ -40,7 +40,6 @@
40struct qxl_fbdev { 40struct qxl_fbdev {
41 struct drm_fb_helper helper; 41 struct drm_fb_helper helper;
42 struct qxl_framebuffer qfb; 42 struct qxl_framebuffer qfb;
43 struct list_head fbdev_list;
44 struct qxl_device *qdev; 43 struct qxl_device *qdev;
45 44
46 spinlock_t delayed_ops_lock; 45 spinlock_t delayed_ops_lock;
diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c
index 26da2f4d7b4f..adc44bbc81a9 100644
--- a/drivers/gpu/drm/radeon/radeon_fb.c
+++ b/drivers/gpu/drm/radeon/radeon_fb.c
@@ -44,7 +44,6 @@
44struct radeon_fbdev { 44struct radeon_fbdev {
45 struct drm_fb_helper helper; 45 struct drm_fb_helper helper;
46 struct radeon_framebuffer rfb; 46 struct radeon_framebuffer rfb;
47 struct list_head fbdev_list;
48 struct radeon_device *rdev; 47 struct radeon_device *rdev;
49}; 48};
50 49
diff --git a/drivers/gpu/drm/udl/udl_fb.c b/drivers/gpu/drm/udl/udl_fb.c
index 62c7b1dafaa4..b9df46efb622 100644
--- a/drivers/gpu/drm/udl/udl_fb.c
+++ b/drivers/gpu/drm/udl/udl_fb.c
@@ -33,7 +33,6 @@ module_param(fb_defio, int, S_IWUSR | S_IRUSR | S_IWGRP | S_IRGRP);
33struct udl_fbdev { 33struct udl_fbdev {
34 struct drm_fb_helper helper; 34 struct drm_fb_helper helper;
35 struct udl_framebuffer ufb; 35 struct udl_framebuffer ufb;
36 struct list_head fbdev_list;
37 int fb_count; 36 int fb_count;
38}; 37};
39 38
diff --git a/drivers/gpu/drm/virtio/virtgpu_fb.c b/drivers/gpu/drm/virtio/virtgpu_fb.c
index 6a81e084593b..2242a80866a9 100644
--- a/drivers/gpu/drm/virtio/virtgpu_fb.c
+++ b/drivers/gpu/drm/virtio/virtgpu_fb.c
@@ -32,7 +32,6 @@
32struct virtio_gpu_fbdev { 32struct virtio_gpu_fbdev {
33 struct drm_fb_helper helper; 33 struct drm_fb_helper helper;
34 struct virtio_gpu_framebuffer vgfb; 34 struct virtio_gpu_framebuffer vgfb;
35 struct list_head fbdev_list;
36 struct virtio_gpu_device *vgdev; 35 struct virtio_gpu_device *vgdev;
37 struct delayed_work work; 36 struct delayed_work work;
38}; 37};