Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_client_modeset.c162 struct drm_cmdline_mode *cmdline_mode; in drm_connector_pick_cmdline_mode() local
166 cmdline_mode = &connector->cmdline_mode; in drm_connector_pick_cmdline_mode()
167 if (cmdline_mode->specified == false) in drm_connector_pick_cmdline_mode()
173 if (cmdline_mode->rb || cmdline_mode->margins) in drm_connector_pick_cmdline_mode()
176 prefer_non_interlace = !cmdline_mode->interlace; in drm_connector_pick_cmdline_mode()
180 if (!strcmp(mode->name, cmdline_mode->name)) in drm_connector_pick_cmdline_mode()
184 if (mode->hdisplay != cmdline_mode->xres || in drm_connector_pick_cmdline_mode()
185 mode->vdisplay != cmdline_mode->yres) in drm_connector_pick_cmdline_mode()
188 if (cmdline_mode->refresh_specified) { in drm_connector_pick_cmdline_mode()
189 if (drm_mode_vrefresh(mode) != cmdline_mode->refresh) in drm_connector_pick_cmdline_mode()
[all …]
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()
Ddrm_fb_helper.c1504 struct drm_cmdline_mode *cmdline_mode; in drm_fb_helper_single_fb_probe() local
1506 cmdline_mode = &connector->cmdline_mode; in drm_fb_helper_single_fb_probe()
1508 if (cmdline_mode->bpp_specified) { in drm_fb_helper_single_fb_probe()
1509 switch (cmdline_mode->bpp) { in drm_fb_helper_single_fb_probe()
Ddrm_atomic_state_helper.c447 struct drm_cmdline_mode *cmdline = &connector->cmdline_mode; in drm_atomic_helper_connector_tv_reset()
Ddrm_connector.c142 struct drm_cmdline_mode *mode = &connector->cmdline_mode; in drm_connector_get_cmdline_mode()
/kernel/linux/linux-5.10/drivers/gpu/drm/mgag200/
Dmgag200_mode.c1486 if (connector->cmdline_mode.specified) { in mga_vga_mode_valid()
1487 if (connector->cmdline_mode.bpp_specified) in mga_vga_mode_valid()
1488 bpp = connector->cmdline_mode.bpp; in mga_vga_mode_valid()
1492 if (connector->cmdline_mode.specified) in mga_vga_mode_valid()
1493 connector->cmdline_mode.specified = false; in mga_vga_mode_valid()
/kernel/linux/linux-5.10/include/drm/
Ddrm_connector.h1373 struct drm_cmdline_mode cmdline_mode; member