Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_panel.c98 const struct drm_display_mode *fixed_mode, *best_mode = NULL; in intel_panel_fixed_mode() local
101 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_fixed_mode()
102 int fixed_mode_vrefresh = drm_mode_vrefresh(fixed_mode); in intel_panel_fixed_mode()
106 best_mode = fixed_mode; in intel_panel_fixed_mode()
137 const struct drm_display_mode *fixed_mode, *best_mode = NULL; in intel_panel_downclock_mode() local
142 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) { in intel_panel_downclock_mode()
143 int vrefresh = drm_mode_vrefresh(fixed_mode); in intel_panel_downclock_mode()
145 if (is_alt_drrs_mode(fixed_mode, adjusted_mode) && in intel_panel_downclock_mode()
148 best_mode = fixed_mode; in intel_panel_downclock_mode()
159 const struct drm_display_mode *fixed_mode, *best_mode = adjusted_mode; in intel_panel_highest_mode() local
[all …]
Dintel_dsi.c65 const struct drm_display_mode *fixed_mode = in intel_dsi_mode_valid() local
79 if (fixed_mode->clock > max_dotclk) in intel_dsi_mode_valid()
Dintel_dvo.c222 const struct drm_display_mode *fixed_mode = in intel_dvo_mode_valid() local
237 if (fixed_mode) { in intel_dvo_mode_valid()
244 target_clock = fixed_mode->clock; in intel_dvo_mode_valid()
260 const struct drm_display_mode *fixed_mode = in intel_dvo_compute_config() local
269 if (fixed_mode) { in intel_dvo_compute_config()
Dintel_lvds.c393 const struct drm_display_mode *fixed_mode = in intel_lvds_mode_valid() local
409 if (fixed_mode->clock > max_pixclk) in intel_lvds_mode_valid()
793 const struct drm_display_mode *fixed_mode = in compute_is_dual_link_lvds() local
802 if (fixed_mode->clock > 112999) in compute_is_dual_link_lvds()
Dintel_dp.c614 const struct drm_display_mode *fixed_mode = in intel_dp_can_link_train_fallback_for_edp() local
618 mode_rate = intel_dp_link_required(fixed_mode->clock, 18); in intel_dp_can_link_train_fallback_for_edp()
1121 const struct drm_display_mode *fixed_mode; in intel_dp_mode_valid() local
1137 fixed_mode = intel_panel_fixed_mode(connector, mode); in intel_dp_mode_valid()
1138 if (intel_dp_is_edp(intel_dp) && fixed_mode) { in intel_dp_mode_valid()
1143 target_clock = fixed_mode->clock; in intel_dp_mode_valid()
2264 const struct drm_display_mode *fixed_mode; in intel_dp_compute_config() local
2275 fixed_mode = intel_panel_fixed_mode(connector, adjusted_mode); in intel_dp_compute_config()
2276 if (intel_dp_is_edp(intel_dp) && fixed_mode) { in intel_dp_compute_config()
2305 if ((intel_dp_is_edp(intel_dp) && fixed_mode) || in intel_dp_compute_config()
[all …]
Dintel_sdvo.c797 const struct drm_display_mode *fixed_mode = in intel_sdvo_create_preferred_input_timing() local
800 if (fixed_mode->hdisplay != args.width || in intel_sdvo_create_preferred_input_timing()
801 fixed_mode->vdisplay != args.height) in intel_sdvo_create_preferred_input_timing()
1379 const struct drm_display_mode *fixed_mode = in intel_sdvo_compute_config() local
1388 if (!intel_sdvo_set_output_timings_from_mode(intel_sdvo, fixed_mode)) in intel_sdvo_compute_config()
1538 const struct drm_display_mode *fixed_mode = in intel_sdvo_pre_enable() local
1541 intel_sdvo_get_dtd_from_mode(&output_dtd, fixed_mode); in intel_sdvo_pre_enable()
Dintel_display_debugfs.c196 const struct drm_display_mode *fixed_mode; in intel_panel_info() local
203 list_for_each_entry(fixed_mode, &connector->panel.fixed_modes, head) in intel_panel_info()
204 intel_seq_print_mode(m, 2, fixed_mode); in intel_panel_info()
Dvlv_dsi.c1579 const struct drm_display_mode *fixed_mode = in vlv_dsi_add_properties() local
1586 fixed_mode->hdisplay, in vlv_dsi_add_properties()
1587 fixed_mode->vdisplay); in vlv_dsi_add_properties()
Dicl_dsi.c1932 const struct drm_display_mode *fixed_mode = in icl_dsi_add_properties() local
1939 fixed_mode->hdisplay, in icl_dsi_add_properties()
1940 fixed_mode->vdisplay); in icl_dsi_add_properties()
/linux-6.6.21/include/drm/
Ddrm_probe_helper.h33 const struct drm_display_mode *fixed_mode);
37 const struct drm_display_mode *fixed_mode);
/linux-6.6.21/drivers/gpu/drm/
Ddrm_probe_helper.c1090 const struct drm_display_mode *fixed_mode) in drm_crtc_helper_mode_valid_fixed() argument
1092 if (mode->hdisplay != fixed_mode->hdisplay && mode->vdisplay != fixed_mode->vdisplay) in drm_crtc_helper_mode_valid_fixed()
1094 else if (mode->hdisplay != fixed_mode->hdisplay) in drm_crtc_helper_mode_valid_fixed()
1096 else if (mode->vdisplay != fixed_mode->vdisplay) in drm_crtc_helper_mode_valid_fixed()
1152 const struct drm_display_mode *fixed_mode) in drm_connector_helper_get_modes_fixed() argument
1157 mode = drm_mode_duplicate(dev, fixed_mode); in drm_connector_helper_get_modes_fixed()
1160 DRM_MODE_ARG(fixed_mode)); in drm_connector_helper_get_modes_fixed()
/linux-6.6.21/drivers/gpu/drm/gma500/
Dcdv_intel_lvds.c160 struct drm_display_mode *fixed_mode = in cdv_intel_lvds_mode_valid() local
171 if (fixed_mode) { in cdv_intel_lvds_mode_valid()
172 if (mode->hdisplay > fixed_mode->hdisplay) in cdv_intel_lvds_mode_valid()
174 if (mode->vdisplay > fixed_mode->vdisplay) in cdv_intel_lvds_mode_valid()
Dpsb_intel_lvds.c338 struct drm_display_mode *fixed_mode = in psb_intel_lvds_mode_valid() local
342 fixed_mode = dev_priv->mode_dev.panel_fixed_mode2; in psb_intel_lvds_mode_valid()
352 if (fixed_mode) { in psb_intel_lvds_mode_valid()
353 if (mode->hdisplay > fixed_mode->hdisplay) in psb_intel_lvds_mode_valid()
355 if (mode->vdisplay > fixed_mode->vdisplay) in psb_intel_lvds_mode_valid()
Dcdv_intel_dp.c873 static void cdv_intel_fixed_panel_mode(struct drm_display_mode *fixed_mode, in cdv_intel_fixed_panel_mode() argument
876 adjusted_mode->hdisplay = fixed_mode->hdisplay; in cdv_intel_fixed_panel_mode()
877 adjusted_mode->hsync_start = fixed_mode->hsync_start; in cdv_intel_fixed_panel_mode()
878 adjusted_mode->hsync_end = fixed_mode->hsync_end; in cdv_intel_fixed_panel_mode()
879 adjusted_mode->htotal = fixed_mode->htotal; in cdv_intel_fixed_panel_mode()
881 adjusted_mode->vdisplay = fixed_mode->vdisplay; in cdv_intel_fixed_panel_mode()
882 adjusted_mode->vsync_start = fixed_mode->vsync_start; in cdv_intel_fixed_panel_mode()
883 adjusted_mode->vsync_end = fixed_mode->vsync_end; in cdv_intel_fixed_panel_mode()
884 adjusted_mode->vtotal = fixed_mode->vtotal; in cdv_intel_fixed_panel_mode()
886 adjusted_mode->clock = fixed_mode->clock; in cdv_intel_fixed_panel_mode()
/linux-6.6.21/drivers/video/fbdev/intelfb/
Dintelfb.h117 #define FIXED_MODE(d) ((d)->fixed_mode)
332 int fixed_mode; member
Dintelfbdrv.c524 dinfo->fixed_mode = fixed; in intelfb_pci_register()
781 dinfo->fixed_mode = 1; in intelfb_pci_register()
/linux-6.6.21/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()