Lines Matching refs:newmode

1808 	struct drm_display_mode *newmode;
1814 newmode = drm_mode_duplicate(dev, &drm_dmt_modes[i]);
1815 if (newmode) {
1816 drm_mode_probed_add(connector, newmode);
1843 struct drm_display_mode *newmode;
1848 newmode = drm_gtf_mode(dev, m->w, m->h, m->r, 0, 0);
1849 if (!newmode)
1852 fixup_mode_1366x768(newmode);
1853 if (!mode_in_range(newmode, edid, timing) ||
1854 !valid_inferred_mode(connector, newmode)) {
1855 drm_mode_destroy(dev, newmode);
1859 drm_mode_probed_add(connector, newmode);
1871 struct drm_display_mode *newmode;
1877 newmode = drm_cvt_mode(dev, m->w, m->h, m->r, rb, 0, 0);
1878 if (!newmode)
1881 fixup_mode_1366x768(newmode);
1882 if (!mode_in_range(newmode, edid, timing) ||
1883 !valid_inferred_mode(connector, newmode)) {
1884 drm_mode_destroy(dev, newmode);
1888 drm_mode_probed_add(connector, newmode);
2007 struct drm_display_mode *newmode;
2008 newmode = drm_mode_duplicate(dev, &edid_est_modes[i]);
2009 if (newmode) {
2010 drm_mode_probed_add(connector, newmode);
2035 struct drm_display_mode *newmode;
2038 newmode = drm_mode_std(connector, edid, std,
2040 if (newmode) {
2041 drm_mode_probed_add(connector, newmode);
2064 struct drm_display_mode *newmode;
2066 newmode = drm_mode_std(connector, edid,
2069 if (newmode) {
2070 drm_mode_probed_add(connector, newmode);
2088 struct drm_display_mode *newmode;
2119 newmode = drm_cvt_mode(dev, width, height,
2122 if (newmode) {
2123 drm_mode_probed_add(connector, newmode);
2162 struct drm_display_mode *newmode;
2165 newmode = drm_mode_detailed(closure->connector->dev,
2168 if (!newmode)
2172 newmode->type |= DRM_MODE_TYPE_PREFERRED;
2174 drm_mode_probed_add(closure->connector, newmode);
2319 struct drm_display_mode *newmode;
2337 newmode = drm_mode_duplicate(dev, cea_mode);
2338 if (!newmode)
2346 newmode->clock = clock1;
2348 newmode->clock = clock2;
2350 list_add_tail(&newmode->head, &list, (caddr_t)newmode);
2372 struct drm_display_mode *newmode;
2373 newmode = drm_mode_duplicate(dev,
2375 if (newmode) {
2376 newmode->vrefresh = 0;
2377 drm_mode_probed_add(connector, newmode);