aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_fb.c
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2010-03-30 01:34:15 -0400
committerDave Airlie <airlied@redhat.com>2010-04-06 20:28:01 -0400
commit0b4c0f3f0eceacb691e2b5570d9b16d751ce1b48 (patch)
tree708eecc3e3b86f4328df588400e2b7a3f6f2b32d /drivers/gpu/drm/radeon/radeon_fb.c
parent8be48d924c307e72e3797ab5bde81b07a1ccc52d (diff)
drm/kms/fb: separate fbdev connector list from core drm connectors
This breaks the connection between the core drm connector list and the fbdev connector usage, and allows them to become disjoint in the future. It also removes the untype void* that was in the connector struct to support this. All connectors are added to the fbdev now but this could be changed in the future. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_fb.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_fb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c
index 705425defba0..7275b2e09444 100644
--- a/drivers/gpu/drm/radeon/radeon_fb.c
+++ b/drivers/gpu/drm/radeon/radeon_fb.c
@@ -274,8 +274,6 @@ out_unref:
274 drm_framebuffer_cleanup(fb); 274 drm_framebuffer_cleanup(fb);
275 kfree(fb); 275 kfree(fb);
276 } 276 }
277
278out:
279 return ret; 277 return ret;
280} 278}
281 279
@@ -380,6 +378,9 @@ int radeon_fbdev_init(struct radeon_device *rdev)
380 rdev->num_crtc, 378 rdev->num_crtc,
381 RADEONFB_CONN_LIMIT); 379 RADEONFB_CONN_LIMIT);
382 rfbdev->helper.fb_probe = radeon_fb_find_or_create_single; 380 rfbdev->helper.fb_probe = radeon_fb_find_or_create_single;
381
382 drm_fb_helper_single_add_all_connectors(&rfbdev->helper);
383
383 drm_fb_helper_initial_config(&rfbdev->helper); 384 drm_fb_helper_initial_config(&rfbdev->helper);
384 radeonfb_probe(rfbdev); 385 radeonfb_probe(rfbdev);
385 return 0; 386 return 0;