Need fb attached

main
Alan Hourihane 2007-10-23 15:33:20 +01:00
parent be2d68914d
commit 198170ab97
1 changed files with 3 additions and 1 deletions

View File

@ -914,6 +914,8 @@ bool drm_initial_config(struct drm_device *dev, bool can_grow)
if (!output->crtc || !output->crtc->desired_mode)
continue;
/* and needs an attached fb */
if (output->crtc->fb)
drm_crtc_set_mode(output->crtc, output->crtc->desired_mode, 0, 0);
}