Lines Matching defs:desired_mode
373 struct drm_display_mode *desired_mode;
374 desired_mode = fb_helper->crtc_info[i].desired_mode;
376 if (desired_mode) {
379 if (desired_mode->hdisplay < sizes.fb_width)
380 sizes.fb_width = desired_mode->hdisplay;
381 if (desired_mode->vdisplay < sizes.fb_height)
382 sizes.fb_height = desired_mode->vdisplay;
383 if (desired_mode->hdisplay > sizes.surface_width)
384 sizes.surface_width = desired_mode->hdisplay;
385 if (desired_mode->vdisplay > sizes.surface_height)
386 sizes.surface_height = desired_mode->vdisplay;
803 fb_crtc->desired_mode = mode;
807 fb_crtc->desired_mode);