diff options
author | Dave Airlie <airlied@redhat.com> | 2008-06-05 16:32:41 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-06-05 16:32:41 +1000 |
commit | d9ead89c79732124f54b4a9dfe698bc7aad7faee (patch) | |
tree | edb4820eef15ca7b22d89690c4d781dcac86e4b9 /linux-core/intel_fb.c | |
parent | b31adb005afc5553fb30aa2c1710faee299bc730 (diff) |
drm/modeset: add more debugging and fixup some fb enable/disabe bits
Diffstat (limited to 'linux-core/intel_fb.c')
-rw-r--r-- | linux-core/intel_fb.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/linux-core/intel_fb.c b/linux-core/intel_fb.c index b4afb155..5ec5bb8f 100644 --- a/linux-core/intel_fb.c +++ b/linux-core/intel_fb.c @@ -309,11 +309,9 @@ static int intelfb_set_par(struct fb_info *info) int ret; list_for_each_entry(modeset, &par->mode_set_list, head) { - if (modeset->num_connectors) { - ret = modeset->crtc->funcs->set_config(modeset); - if (ret) - return ret; - } + ret = modeset->crtc->funcs->set_config(modeset); + if (ret) + return ret; } return 0; } @@ -782,6 +780,7 @@ static int intelfb_single_fb_probe(struct drm_device *dev) struct intelfb_par *par; struct drm_mode_set *modeset; + DRM_DEBUG("\n"); /* first up get a count of crtcs now in use and new min/maxes width/heights */ list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { if (drm_helper_crtc_in_use(crtc)) { |