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>
This commit is contained in:
@@ -274,8 +274,6 @@ out_unref:
|
||||
drm_framebuffer_cleanup(fb);
|
||||
kfree(fb);
|
||||
}
|
||||
|
||||
out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -380,6 +378,9 @@ int radeon_fbdev_init(struct radeon_device *rdev)
|
||||
rdev->num_crtc,
|
||||
RADEONFB_CONN_LIMIT);
|
||||
rfbdev->helper.fb_probe = radeon_fb_find_or_create_single;
|
||||
|
||||
drm_fb_helper_single_add_all_connectors(&rfbdev->helper);
|
||||
|
||||
drm_fb_helper_initial_config(&rfbdev->helper);
|
||||
radeonfb_probe(rfbdev);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user