Lines Matching refs:modeset
58 * integration with the output polling code in drm_crtc_helper.c the modeset
740 struct drm_mode_set *modeset;
790 modeset = &fb_helper->crtc_info[i].mode_set;
791 modeset->num_connectors = 0;
792 modeset->fb = NULL;
798 modeset = &fb_crtc->mode_set;
804 if (modeset->mode)
805 drm_mode_destroy(dev, modeset->mode);
806 modeset->mode = drm_mode_duplicate(dev,
808 modeset->connectors[modeset->num_connectors++] = fb_helper->connector_info[i]->connector;
809 modeset->fb = fb_helper->fb;
815 modeset = &fb_helper->crtc_info[i].mode_set;
816 if (modeset->num_connectors == 0) {
817 BUG_ON(modeset->fb);
818 BUG_ON(modeset->num_connectors);
819 if (modeset->mode)
820 drm_mode_destroy(dev, modeset->mode);
821 modeset->mode = NULL;
884 * modeset configuration. Must be run from process context (which usually means