Home
last modified time | relevance | path

Searched refs:fixed_mode (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/display/
Dintel_panel.c61 const struct drm_display_mode *fixed_mode, *best_mode = NULL; in intel_panel_fixed_mode() local
65 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_fixed_mode()
67 abs(drm_mode_vrefresh(fixed_mode) - vrefresh) < in intel_panel_fixed_mode()
69 best_mode = fixed_mode; in intel_panel_fixed_mode()
100 const struct drm_display_mode *fixed_mode, *best_mode = NULL; in intel_panel_downclock_mode() local
105 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_downclock_mode()
106 int vrefresh = drm_mode_vrefresh(fixed_mode); in intel_panel_downclock_mode()
108 if (is_alt_drrs_mode(fixed_mode, adjusted_mode) && in intel_panel_downclock_mode()
111 best_mode = fixed_mode; in intel_panel_downclock_mode()
122 const struct drm_display_mode *fixed_mode, *best_mode = adjusted_mode; in intel_panel_highest_mode() local
[all …]
Dintel_dsi.c45 const struct drm_display_mode *fixed_mode = in intel_dsi_mode_valid() local
59 if (fixed_mode->clock > max_dotclk) in intel_dsi_mode_valid()
Dintel_dvo.c228 const struct drm_display_mode *fixed_mode = in intel_dvo_mode_valid() local
238 if (fixed_mode) { in intel_dvo_mode_valid()
245 target_clock = fixed_mode->clock; in intel_dvo_mode_valid()
261 const struct drm_display_mode *fixed_mode = in intel_dvo_compute_config() local
270 if (fixed_mode) { in intel_dvo_compute_config()
Dintel_lvds.c392 const struct drm_display_mode *fixed_mode = in intel_lvds_mode_valid() local
404 if (fixed_mode->clock > max_pixclk) in intel_lvds_mode_valid()
785 const struct drm_display_mode *fixed_mode = in compute_is_dual_link_lvds() local
794 if (fixed_mode->clock > 112999) in compute_is_dual_link_lvds()
Dintel_dp.c591 const struct drm_display_mode *fixed_mode = in intel_dp_can_link_train_fallback_for_edp() local
595 mode_rate = intel_dp_link_required(fixed_mode->clock, 18); in intel_dp_can_link_train_fallback_for_edp()
967 const struct drm_display_mode *fixed_mode; in intel_dp_mode_valid() local
982 fixed_mode = intel_panel_fixed_mode(connector, mode); in intel_dp_mode_valid()
983 if (intel_dp_is_edp(intel_dp) && fixed_mode) { in intel_dp_mode_valid()
988 target_clock = fixed_mode->clock; in intel_dp_mode_valid()
2019 const struct drm_display_mode *fixed_mode; in intel_dp_compute_config() local
2028 fixed_mode = intel_panel_fixed_mode(connector, adjusted_mode); in intel_dp_compute_config()
2029 if (intel_dp_is_edp(intel_dp) && fixed_mode) { in intel_dp_compute_config()
2058 if ((intel_dp_is_edp(intel_dp) && fixed_mode) || in intel_dp_compute_config()
[all …]
Dintel_sdvo.c798 const struct drm_display_mode *fixed_mode = in intel_sdvo_create_preferred_input_timing() local
801 if (fixed_mode->hdisplay != args.width || in intel_sdvo_create_preferred_input_timing()
802 fixed_mode->vdisplay != args.height) in intel_sdvo_create_preferred_input_timing()
1335 const struct drm_display_mode *fixed_mode = in intel_sdvo_compute_config() local
1344 if (!intel_sdvo_set_output_timings_from_mode(intel_sdvo, fixed_mode)) in intel_sdvo_compute_config()
1498 const struct drm_display_mode *fixed_mode = in intel_sdvo_pre_enable() local
1501 intel_sdvo_get_dtd_from_mode(&output_dtd, fixed_mode); in intel_sdvo_pre_enable()
Dvlv_dsi.c1663 const struct drm_display_mode *fixed_mode = in vlv_dsi_add_properties() local
1678 fixed_mode->hdisplay, in vlv_dsi_add_properties()
1679 fixed_mode->vdisplay); in vlv_dsi_add_properties()
Dicl_dsi.c1975 const struct drm_display_mode *fixed_mode = in icl_dsi_add_properties() local
1990 fixed_mode->hdisplay, in icl_dsi_add_properties()
1991 fixed_mode->vdisplay); in icl_dsi_add_properties()
Dintel_display_debugfs.c481 const struct drm_display_mode *fixed_mode; in intel_panel_info() local
488 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) in intel_panel_info()
489 intel_seq_print_mode(m, 2, fixed_mode); in intel_panel_info()
/linux-6.1.9/include/drm/
Ddrm_probe_helper.h32 const struct drm_display_mode *fixed_mode);
36 const struct drm_display_mode *fixed_mode);
/linux-6.1.9/drivers/gpu/drm/
Ddrm_probe_helper.c1028 const struct drm_display_mode *fixed_mode) in drm_crtc_helper_mode_valid_fixed() argument
1030 if (mode->hdisplay != fixed_mode->hdisplay && mode->vdisplay != fixed_mode->vdisplay) in drm_crtc_helper_mode_valid_fixed()
1032 else if (mode->hdisplay != fixed_mode->hdisplay) in drm_crtc_helper_mode_valid_fixed()
1034 else if (mode->vdisplay != fixed_mode->vdisplay) in drm_crtc_helper_mode_valid_fixed()
1090 const struct drm_display_mode *fixed_mode) in drm_connector_helper_get_modes_fixed() argument
1095 mode = drm_mode_duplicate(dev, fixed_mode); in drm_connector_helper_get_modes_fixed()
1098 DRM_MODE_ARG(fixed_mode)); in drm_connector_helper_get_modes_fixed()
/linux-6.1.9/drivers/gpu/drm/gma500/
Dcdv_intel_lvds.c158 struct drm_display_mode *fixed_mode = in cdv_intel_lvds_mode_valid() local
169 if (fixed_mode) { in cdv_intel_lvds_mode_valid()
170 if (mode->hdisplay > fixed_mode->hdisplay) in cdv_intel_lvds_mode_valid()
172 if (mode->vdisplay > fixed_mode->vdisplay) in cdv_intel_lvds_mode_valid()
Dpsb_intel_lvds.c336 struct drm_display_mode *fixed_mode = in psb_intel_lvds_mode_valid() local
340 fixed_mode = dev_priv->mode_dev.panel_fixed_mode2; in psb_intel_lvds_mode_valid()
350 if (fixed_mode) { in psb_intel_lvds_mode_valid()
351 if (mode->hdisplay > fixed_mode->hdisplay) in psb_intel_lvds_mode_valid()
353 if (mode->vdisplay > fixed_mode->vdisplay) in psb_intel_lvds_mode_valid()
Dcdv_intel_dp.c872 static void cdv_intel_fixed_panel_mode(struct drm_display_mode *fixed_mode, in cdv_intel_fixed_panel_mode() argument
875 adjusted_mode->hdisplay = fixed_mode->hdisplay; in cdv_intel_fixed_panel_mode()
876 adjusted_mode->hsync_start = fixed_mode->hsync_start; in cdv_intel_fixed_panel_mode()
877 adjusted_mode->hsync_end = fixed_mode->hsync_end; in cdv_intel_fixed_panel_mode()
878 adjusted_mode->htotal = fixed_mode->htotal; in cdv_intel_fixed_panel_mode()
880 adjusted_mode->vdisplay = fixed_mode->vdisplay; in cdv_intel_fixed_panel_mode()
881 adjusted_mode->vsync_start = fixed_mode->vsync_start; in cdv_intel_fixed_panel_mode()
882 adjusted_mode->vsync_end = fixed_mode->vsync_end; in cdv_intel_fixed_panel_mode()
883 adjusted_mode->vtotal = fixed_mode->vtotal; in cdv_intel_fixed_panel_mode()
885 adjusted_mode->clock = fixed_mode->clock; in cdv_intel_fixed_panel_mode()
/linux-6.1.9/drivers/video/fbdev/intelfb/
Dintelfb.h117 #define FIXED_MODE(d) ((d)->fixed_mode)
332 int fixed_mode; member
Dintelfbdrv.c521 dinfo->fixed_mode = fixed; in intelfb_pci_register()
778 dinfo->fixed_mode = 1; in intelfb_pci_register()
/linux-6.1.9/drivers/net/ethernet/nvidia/
Dforcedeth.c767 int fixed_mode; member
3422 if (np->fixed_mode & LPA_100FULL) { in nv_update_linkspeed()
3425 } else if (np->fixed_mode & LPA_100HALF) { in nv_update_linkspeed()
3428 } else if (np->fixed_mode & LPA_10FULL) { in nv_update_linkspeed()
4547 np->fixed_mode = adv; in nv_set_link_ksettings()
4557 if (np->fixed_mode & (ADVERTISE_10FULL|ADVERTISE_100FULL)) in nv_set_link_ksettings()
4559 if (np->fixed_mode & (ADVERTISE_100HALF|ADVERTISE_100FULL)) in nv_set_link_ksettings()