Home
last modified time | relevance | path

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

/drivers/gpu/drm/i915/display/
Dintel_panel.c41 intel_fixed_panel_mode(const struct drm_display_mode *fixed_mode, in intel_fixed_panel_mode() argument
44 drm_mode_copy(adjusted_mode, fixed_mode); in intel_fixed_panel_mode()
50 const struct drm_display_mode *fixed_mode) in is_downclock_mode() argument
52 return drm_mode_match(downclock_mode, fixed_mode, in is_downclock_mode()
56 downclock_mode->clock < fixed_mode->clock; in is_downclock_mode()
61 const struct drm_display_mode *fixed_mode) in intel_panel_edid_downclock_mode() argument
66 int best_clock = fixed_mode->clock; in intel_panel_edid_downclock_mode()
76 if (is_downclock_mode(scan, fixed_mode) && in intel_panel_edid_downclock_mode()
107 struct drm_display_mode *fixed_mode; in intel_panel_edid_fixed_mode() local
117 fixed_mode = drm_mode_duplicate(&dev_priv->drm, scan); in intel_panel_edid_fixed_mode()
[all …]
Dintel_dsi.c40 if (!intel_connector->panel.fixed_mode) { in intel_dsi_get_modes()
46 intel_connector->panel.fixed_mode); in intel_dsi_get_modes()
61 const struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_dsi_mode_valid() local
69 if (fixed_mode) { in intel_dsi_mode_valid()
70 if (mode->hdisplay > fixed_mode->hdisplay) in intel_dsi_mode_valid()
72 if (mode->vdisplay > fixed_mode->vdisplay) in intel_dsi_mode_valid()
74 if (fixed_mode->clock > max_dotclk) in intel_dsi_mode_valid()
Dintel_dvo.c227 const struct drm_display_mode *fixed_mode = in intel_dvo_mode_valid() local
228 to_intel_connector(connector)->panel.fixed_mode; in intel_dvo_mode_valid()
237 if (fixed_mode) { in intel_dvo_mode_valid()
238 if (mode->hdisplay > fixed_mode->hdisplay) in intel_dvo_mode_valid()
240 if (mode->vdisplay > fixed_mode->vdisplay) in intel_dvo_mode_valid()
243 target_clock = fixed_mode->clock; in intel_dvo_mode_valid()
257 const struct drm_display_mode *fixed_mode = in intel_dvo_compute_config() local
258 intel_dvo->attached_connector->panel.fixed_mode; in intel_dvo_compute_config()
267 if (fixed_mode) in intel_dvo_compute_config()
268 intel_fixed_panel_mode(fixed_mode, adjusted_mode); in intel_dvo_compute_config()
[all …]
Dintel_lvds.c390 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_lvds_mode_valid() local
395 if (mode->hdisplay > fixed_mode->hdisplay) in intel_lvds_mode_valid()
397 if (mode->vdisplay > fixed_mode->vdisplay) in intel_lvds_mode_valid()
399 if (fixed_mode->clock > max_pixclk) in intel_lvds_mode_valid()
445 intel_fixed_panel_mode(intel_connector->panel.fixed_mode, in intel_lvds_compute_config()
483 mode = drm_mode_duplicate(dev, intel_connector->panel.fixed_mode); in intel_lvds_get_modes()
796 if (lvds_encoder->attached_connector->panel.fixed_mode->clock > 112999) in compute_is_dual_link_lvds()
834 struct drm_display_mode *fixed_mode = NULL; in intel_lvds_init() local
974 fixed_mode = intel_panel_edid_fixed_mode(intel_connector); in intel_lvds_init()
975 if (fixed_mode) in intel_lvds_init()
[all …]
Dintel_panel.h21 struct drm_display_mode *fixed_mode,
26 void intel_fixed_panel_mode(const struct drm_display_mode *fixed_mode,
34 const struct drm_display_mode *fixed_mode);
Dintel_drrs.c235 refresh = drm_mode_vrefresh(intel_dp->attached_connector->panel.fixed_mode); in intel_edp_drrs_disable_locked()
372 drm_mode_vrefresh(intel_dp->attached_connector->panel.fixed_mode)); in intel_edp_drrs_invalidate()
418 drm_mode_vrefresh(intel_dp->attached_connector->panel.fixed_mode)); in intel_edp_drrs_flush()
445 struct drm_display_mode *fixed_mode) in intel_dp_drrs_init() argument
472 downclock_mode = intel_panel_edid_downclock_mode(connector, fixed_mode); in intel_dp_drrs_init()
Dintel_dp.c397 const struct drm_display_mode *fixed_mode = in intel_dp_can_link_train_fallback_for_edp() local
398 intel_dp->attached_connector->panel.fixed_mode; in intel_dp_can_link_train_fallback_for_edp()
401 mode_rate = intel_dp_link_required(fixed_mode->clock, 18); in intel_dp_can_link_train_fallback_for_edp()
721 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_dp_mode_valid() local
737 if (intel_dp_is_edp(intel_dp) && fixed_mode) { in intel_dp_mode_valid()
738 if (mode->hdisplay != fixed_mode->hdisplay) in intel_dp_mode_valid()
741 if (mode->vdisplay != fixed_mode->vdisplay) in intel_dp_mode_valid()
744 target_clock = fixed_mode->clock; in intel_dp_mode_valid()
1654 if (intel_dp_is_edp(intel_dp) && intel_connector->panel.fixed_mode) { in intel_dp_compute_config()
1655 intel_fixed_panel_mode(intel_connector->panel.fixed_mode, in intel_dp_compute_config()
[all …]
Dvlv_dsi.c274 const struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_dsi_compute_config() local
281 if (fixed_mode) { in intel_dsi_compute_config()
282 intel_fixed_panel_mode(fixed_mode, adjusted_mode); in intel_dsi_compute_config()
1638 if (connector->panel.fixed_mode) { in vlv_dsi_add_properties()
1653 connector->panel.fixed_mode->hdisplay, in vlv_dsi_add_properties()
1654 connector->panel.fixed_mode->vdisplay); in vlv_dsi_add_properties()
1838 struct drm_display_mode *current_mode, *fixed_mode; in vlv_dsi_init() local
1959 fixed_mode = intel_panel_vbt_fixed_mode(intel_connector); in vlv_dsi_init()
1962 if (!fixed_mode) { in vlv_dsi_init()
1967 intel_panel_init(&intel_connector->panel, fixed_mode, NULL); in vlv_dsi_init()
Dintel_drrs.h30 struct drm_display_mode *fixed_mode);
Dintel_sdvo.c799 const struct drm_display_mode *fixed_mode = in intel_sdvo_create_preferred_input_timing() local
800 intel_sdvo_connector->base.panel.fixed_mode; in intel_sdvo_create_preferred_input_timing()
802 if (fixed_mode->hdisplay != width || in intel_sdvo_create_preferred_input_timing()
803 fixed_mode->vdisplay != height) in intel_sdvo_create_preferred_input_timing()
1339 intel_sdvo_connector->base.panel.fixed_mode)) in intel_sdvo_compute_config()
1494 intel_sdvo_connector->base.panel.fixed_mode); in intel_sdvo_pre_enable()
1893 const struct drm_display_mode *fixed_mode = in intel_sdvo_mode_valid() local
1894 intel_sdvo_connector->base.panel.fixed_mode; in intel_sdvo_mode_valid()
1896 if (mode->hdisplay > fixed_mode->hdisplay) in intel_sdvo_mode_valid()
1899 if (mode->vdisplay > fixed_mode->vdisplay) in intel_sdvo_mode_valid()
[all …]
Dicl_dsi.c1660 const struct drm_display_mode *fixed_mode = in gen11_dsi_compute_config() local
1661 intel_connector->panel.fixed_mode; in gen11_dsi_compute_config()
1667 intel_fixed_panel_mode(fixed_mode, adjusted_mode); in gen11_dsi_compute_config()
1981 connector->panel.fixed_mode->hdisplay, in icl_dsi_add_properties()
1982 connector->panel.fixed_mode->vdisplay); in icl_dsi_add_properties()
1992 struct drm_display_mode *fixed_mode; in icl_dsi_init() local
2049 fixed_mode = intel_panel_vbt_fixed_mode(intel_connector); in icl_dsi_init()
2052 if (!fixed_mode) { in icl_dsi_init()
2057 intel_panel_init(&intel_connector->panel, fixed_mode, NULL); in icl_dsi_init()
Dintel_display_debugfs.c639 const struct drm_display_mode *mode = panel->fixed_mode; in intel_panel_info()
1282 vrefresh = drm_mode_vrefresh(panel->fixed_mode); in drrs_status_per_crtc()
Dintel_display_types.h295 struct drm_display_mode *fixed_mode; member
/drivers/gpu/drm/gma500/
Dpsb_intel_lvds.c340 struct drm_display_mode *fixed_mode = in psb_intel_lvds_mode_valid() local
344 fixed_mode = dev_priv->mode_dev.panel_fixed_mode2; in psb_intel_lvds_mode_valid()
354 if (fixed_mode) { in psb_intel_lvds_mode_valid()
355 if (mode->hdisplay > fixed_mode->hdisplay) in psb_intel_lvds_mode_valid()
357 if (mode->vdisplay > fixed_mode->vdisplay) in psb_intel_lvds_mode_valid()
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()
Dcdv_intel_dp.c877 static void cdv_intel_fixed_panel_mode(struct drm_display_mode *fixed_mode, in cdv_intel_fixed_panel_mode() argument
880 adjusted_mode->hdisplay = fixed_mode->hdisplay; in cdv_intel_fixed_panel_mode()
881 adjusted_mode->hsync_start = fixed_mode->hsync_start; in cdv_intel_fixed_panel_mode()
882 adjusted_mode->hsync_end = fixed_mode->hsync_end; in cdv_intel_fixed_panel_mode()
883 adjusted_mode->htotal = fixed_mode->htotal; in cdv_intel_fixed_panel_mode()
885 adjusted_mode->vdisplay = fixed_mode->vdisplay; in cdv_intel_fixed_panel_mode()
886 adjusted_mode->vsync_start = fixed_mode->vsync_start; in cdv_intel_fixed_panel_mode()
887 adjusted_mode->vsync_end = fixed_mode->vsync_end; in cdv_intel_fixed_panel_mode()
888 adjusted_mode->vtotal = fixed_mode->vtotal; in cdv_intel_fixed_panel_mode()
890 adjusted_mode->clock = fixed_mode->clock; in cdv_intel_fixed_panel_mode()
/drivers/video/fbdev/intelfb/
Dintelfb.h117 #define FIXED_MODE(d) ((d)->fixed_mode)
332 int fixed_mode; member
Dintelfbdrv.c516 dinfo->fixed_mode = fixed; in intelfb_pci_register()
773 dinfo->fixed_mode = 1; in intelfb_pci_register()
/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()