Lines Matching defs:set
102 * that the guest will set the same layout as the host.
211 static int vmw_ldu_crtc_set_config(struct drm_mode_set *set)
222 if (!set)
225 if (!set->crtc)
229 crtc = set->crtc;
231 vfb = set->fb ? vmw_framebuffer_to_vfb(set->fb) : NULL;
234 if (set->num_connectors > 1) {
239 if (set->num_connectors == 1 &&
240 set->connectors[0] != &ldu->base.connector) {
242 set->connectors[0], &ldu->base.connector);
260 if (set->num_connectors == 0 || !set->mode || !set->fb) {
274 /* we now know we want to set a mode */
275 mode = set->mode;
276 fb = set->fb;
278 if (set->x + mode->hdisplay > fb->width ||
279 set->y + mode->vdisplay > fb->height) {
280 DRM_ERROR("set outside of framebuffer\n");
289 crtc->x = set->x;
290 crtc->y = set->y;