Searched refs:cmdline_mode (Results 1 – 9 of 9) sorted by relevance
90 struct drm_cmdline_mode *cmdline_mode = &connector->cmdline_mode; in drm_test_pick_cmdline_res_1920_1080_60() local101 cmdline_mode)); in drm_test_pick_cmdline_res_1920_1080_60()131 struct drm_cmdline_mode *cmdline_mode = &connector->cmdline_mode; in drm_test_pick_cmdline_named() local139 cmdline_mode)); in drm_test_pick_cmdline_named()
70 enum drm_connector_tv_mode cmdline_mode; member81 .cmdline_mode = _cmdline_mode, \99 struct drm_cmdline_mode *cmdline = &connector->cmdline_mode; in drm_test_connector_helper_tv_get_modes_check()107 cmdline->tv_mode = params->cmdline_mode; in drm_test_connector_helper_tv_get_modes_check()
147 struct drm_cmdline_mode *cmdline_mode; in drm_helper_probe_add_cmdline_mode() local150 cmdline_mode = &connector->cmdline_mode; in drm_helper_probe_add_cmdline_mode()151 if (!cmdline_mode->specified) in drm_helper_probe_add_cmdline_mode()156 if (mode->hdisplay != cmdline_mode->xres || in drm_helper_probe_add_cmdline_mode()157 mode->vdisplay != cmdline_mode->yres) in drm_helper_probe_add_cmdline_mode()160 if (cmdline_mode->refresh_specified) { in drm_helper_probe_add_cmdline_mode()162 if (drm_mode_vrefresh(mode) != cmdline_mode->refresh) in drm_helper_probe_add_cmdline_mode()172 cmdline_mode); in drm_helper_probe_add_cmdline_mode()1237 struct drm_cmdline_mode *cmdline = &connector->cmdline_mode; in drm_connector_helper_tv_get_modes()
170 struct drm_cmdline_mode *cmdline_mode; in drm_connector_pick_cmdline_mode() local185 cmdline_mode = &connector->cmdline_mode; in drm_connector_pick_cmdline_mode()186 if (cmdline_mode->specified == false) in drm_connector_pick_cmdline_mode()194 prefer_non_interlace = !cmdline_mode->interlace; in drm_connector_pick_cmdline_mode()198 if (mode->hdisplay != cmdline_mode->xres || in drm_connector_pick_cmdline_mode()199 mode->vdisplay != cmdline_mode->yres) in drm_connector_pick_cmdline_mode()202 if (cmdline_mode->refresh_specified) { in drm_connector_pick_cmdline_mode()203 if (drm_mode_vrefresh(mode) != cmdline_mode->refresh) in drm_connector_pick_cmdline_mode()207 if (cmdline_mode->interlace) { in drm_connector_pick_cmdline_mode()536 if (connector->cmdline_mode.specified) in drm_client_pick_crtcs()[all …]
2288 struct drm_cmdline_mode *cmdline_mode) in drm_mode_parse_cmdline_named_mode() argument2323 strscpy(cmdline_mode->name, mode->name, sizeof(cmdline_mode->name)); in drm_mode_parse_cmdline_named_mode()2324 cmdline_mode->pixel_clock = mode->pixel_clock_khz; in drm_mode_parse_cmdline_named_mode()2325 cmdline_mode->xres = mode->xres; in drm_mode_parse_cmdline_named_mode()2326 cmdline_mode->yres = mode->yres; in drm_mode_parse_cmdline_named_mode()2327 cmdline_mode->interlace = !!(mode->flags & DRM_MODE_FLAG_INTERLACE); in drm_mode_parse_cmdline_named_mode()2328 cmdline_mode->tv_mode = mode->tv_mode; in drm_mode_parse_cmdline_named_mode()2329 cmdline_mode->tv_mode_specified = true; in drm_mode_parse_cmdline_named_mode()2330 cmdline_mode->specified = true; in drm_mode_parse_cmdline_named_mode()
489 struct drm_cmdline_mode *cmdline = &connector->cmdline_mode; in drm_atomic_helper_connector_tv_margins_reset()508 struct drm_cmdline_mode *cmdline = &connector->cmdline_mode; in drm_atomic_helper_connector_tv_reset()
1495 struct drm_cmdline_mode *cmdline_mode = &connector->cmdline_mode; in __drm_fb_helper_find_sizes() local1497 if (!cmdline_mode->bpp_specified) in __drm_fb_helper_find_sizes()1503 cmdline_mode->bpp); in __drm_fb_helper_find_sizes()
158 struct drm_cmdline_mode *mode = &connector->cmdline_mode; in drm_connector_get_cmdline_mode()
1968 struct drm_cmdline_mode cmdline_mode; member