diff options
Diffstat (limited to 'drivers/gpu/drm/drm_fb_helper.c')
-rw-r--r-- | drivers/gpu/drm/drm_fb_helper.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c index 66493178ffcf..a504a5e05676 100644 --- a/drivers/gpu/drm/drm_fb_helper.c +++ b/drivers/gpu/drm/drm_fb_helper.c | |||
@@ -2843,7 +2843,7 @@ int drm_fb_helper_fbdev_setup(struct drm_device *dev, | |||
2843 | if (!max_conn_count) | 2843 | if (!max_conn_count) |
2844 | max_conn_count = dev->mode_config.num_connector; | 2844 | max_conn_count = dev->mode_config.num_connector; |
2845 | if (!max_conn_count) { | 2845 | if (!max_conn_count) { |
2846 | DRM_DEV_ERROR(dev->dev, "No connectors\n"); | 2846 | DRM_DEV_ERROR(dev->dev, "fbdev: No connectors\n"); |
2847 | return -EINVAL; | 2847 | return -EINVAL; |
2848 | } | 2848 | } |
2849 | 2849 | ||
@@ -2851,13 +2851,13 @@ int drm_fb_helper_fbdev_setup(struct drm_device *dev, | |||
2851 | 2851 | ||
2852 | ret = drm_fb_helper_init(dev, fb_helper, max_conn_count); | 2852 | ret = drm_fb_helper_init(dev, fb_helper, max_conn_count); |
2853 | if (ret < 0) { | 2853 | if (ret < 0) { |
2854 | DRM_DEV_ERROR(dev->dev, "Failed to initialize fbdev helper\n"); | 2854 | DRM_DEV_ERROR(dev->dev, "fbdev: Failed to initialize (ret=%d)\n", ret); |
2855 | return ret; | 2855 | return ret; |
2856 | } | 2856 | } |
2857 | 2857 | ||
2858 | ret = drm_fb_helper_single_add_all_connectors(fb_helper); | 2858 | ret = drm_fb_helper_single_add_all_connectors(fb_helper); |
2859 | if (ret < 0) { | 2859 | if (ret < 0) { |
2860 | DRM_DEV_ERROR(dev->dev, "Failed to add connectors\n"); | 2860 | DRM_DEV_ERROR(dev->dev, "fbdev: Failed to add connectors (ret=%d)\n", ret); |
2861 | goto err_drm_fb_helper_fini; | 2861 | goto err_drm_fb_helper_fini; |
2862 | } | 2862 | } |
2863 | 2863 | ||
@@ -2866,7 +2866,7 @@ int drm_fb_helper_fbdev_setup(struct drm_device *dev, | |||
2866 | 2866 | ||
2867 | ret = drm_fb_helper_initial_config(fb_helper, preferred_bpp); | 2867 | ret = drm_fb_helper_initial_config(fb_helper, preferred_bpp); |
2868 | if (ret < 0) { | 2868 | if (ret < 0) { |
2869 | DRM_DEV_ERROR(dev->dev, "Failed to set fbdev configuration\n"); | 2869 | DRM_DEV_ERROR(dev->dev, "fbdev: Failed to set configuration (ret=%d)\n", ret); |
2870 | goto err_drm_fb_helper_fini; | 2870 | goto err_drm_fb_helper_fini; |
2871 | } | 2871 | } |
2872 | 2872 | ||