Home
last modified time | relevance | path

Searched refs:cmdline_mode (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/gpu/drm/tests/
H A Ddrm_client_modeset_test.c90 struct drm_cmdline_mode *cmdline_mode = &connector->cmdline_mode; in drm_test_pick_cmdline_res_1920_1080_60() local
101 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() local
139 cmdline_mode)); in drm_test_pick_cmdline_named()
H A Ddrm_probe_helper_test.c70 enum drm_connector_tv_mode cmdline_mode; member
81 .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()
/linux/drivers/gpu/drm/
H A Ddrm_probe_helper.c147 struct drm_cmdline_mode *cmdline_mode; in drm_helper_probe_add_cmdline_mode() local
150 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()
H A Ddrm_client_modeset.c170 struct drm_cmdline_mode *cmdline_mode; in drm_connector_pick_cmdline_mode() local
185 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 …]
H A Ddrm_modes.c2288 struct drm_cmdline_mode *cmdline_mode) in drm_mode_parse_cmdline_named_mode() argument
2323 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()
H A Ddrm_atomic_state_helper.c489 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()
H A Ddrm_fb_helper.c1495 struct drm_cmdline_mode *cmdline_mode = &connector->cmdline_mode; in __drm_fb_helper_find_sizes() local
1497 if (!cmdline_mode->bpp_specified) in __drm_fb_helper_find_sizes()
1503 cmdline_mode->bpp); in __drm_fb_helper_find_sizes()
H A Ddrm_connector.c158 struct drm_cmdline_mode *mode = &connector->cmdline_mode; in drm_connector_get_cmdline_mode()
/linux/include/drm/
H A Ddrm_connector.h1968 struct drm_cmdline_mode cmdline_mode; member