Lines Matching defs:newmode
1810 struct drm_display_mode *newmode;
1816 newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]);
1817 if (newmode) {
1818 drm_mode_probed_add(connector, newmode);
1845 struct drm_display_mode *newmode;
1850 newmode = drm_gtf_mode(dev, m->w, m->h, m->r, 0, 0);
1851 if (!newmode)
1854 fixup_mode_1366x768(newmode);
1855 if (!mode_in_range(newmode, edid, timing) ||
1856 !valid_inferred_mode(connector, newmode)) {
1857 drm_mode_destroy(dev, newmode);
1861 drm_mode_probed_add(connector, newmode);
1873 struct drm_display_mode *newmode;
1879 newmode = drm_cvt_mode(dev, m->w, m->h, m->r, rb, 0, 0);
1880 if (!newmode)
1883 fixup_mode_1366x768(newmode);
1884 if (!mode_in_range(newmode, edid, timing) ||
1885 !valid_inferred_mode(connector, newmode)) {
1886 drm_mode_destroy(dev, newmode);
1890 drm_mode_probed_add(connector, newmode);
2009 struct drm_display_mode *newmode;
2010 newmode = drm_mode_duplicate(dev, &edid_est_modes[i]);
2011 if (newmode) {
2012 drm_mode_probed_add(connector, newmode);
2037 struct drm_display_mode *newmode;
2040 newmode = drm_mode_std(connector, edid, std,
2042 if (newmode) {
2043 drm_mode_probed_add(connector, newmode);
2066 struct drm_display_mode *newmode;
2068 newmode = drm_mode_std(connector, edid,
2071 if (newmode) {
2072 drm_mode_probed_add(connector, newmode);
2090 struct drm_display_mode *newmode;
2121 newmode = drm_cvt_mode(dev, width, height,
2124 if (newmode) {
2125 drm_mode_probed_add(connector, newmode);
2164 struct drm_display_mode *newmode;
2167 newmode = drm_mode_detailed(closure->connector->dev,
2170 if (!newmode)
2174 newmode->type |= DRM_MODE_TYPE_PREFERRED;
2176 drm_mode_probed_add(closure->connector, newmode);
2321 struct drm_display_mode *newmode;
2339 newmode = drm_mode_duplicate(dev, cea_mode);
2340 if (!newmode)
2348 newmode->clock = clock1;
2350 newmode->clock = clock2;
2352 list_add_tail(&newmode->head, &list, (caddr_t)newmode);
2374 struct drm_display_mode *newmode;
2375 newmode = drm_mode_duplicate(dev,
2377 if (newmode) {
2378 newmode->vrefresh = 0;
2379 drm_mode_probed_add(connector, newmode);