/Linux-v5.15/drivers/gpu/drm/i915/display/ |
D | intel_dsi.c | 40 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()
|
D | intel_dvo.c | 227 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 …]
|
D | intel_lvds.c | 389 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_lvds_mode_valid() local 394 if (mode->hdisplay > fixed_mode->hdisplay) in intel_lvds_mode_valid() 396 if (mode->vdisplay > fixed_mode->vdisplay) in intel_lvds_mode_valid() 398 if (fixed_mode->clock > max_pixclk) in intel_lvds_mode_valid() 444 intel_fixed_panel_mode(intel_connector->panel.fixed_mode, in intel_lvds_compute_config() 482 mode = drm_mode_duplicate(dev, intel_connector->panel.fixed_mode); in intel_lvds_get_modes() 795 if (lvds_encoder->attached_connector->panel.fixed_mode->clock > 112999) in compute_is_dual_link_lvds() 833 struct drm_display_mode *fixed_mode = NULL; in intel_lvds_init() local 973 fixed_mode = intel_panel_edid_fixed_mode(intel_connector); in intel_lvds_init() 974 if (fixed_mode) in intel_lvds_init() [all …]
|
D | intel_panel.h | 23 struct drm_display_mode *fixed_mode, 28 void intel_fixed_panel_mode(const struct drm_display_mode *fixed_mode, 47 const struct drm_display_mode *fixed_mode);
|
D | intel_panel.c | 45 intel_fixed_panel_mode(const struct drm_display_mode *fixed_mode, in intel_fixed_panel_mode() argument 48 drm_mode_copy(adjusted_mode, fixed_mode); in intel_fixed_panel_mode() 54 const struct drm_display_mode *fixed_mode) in is_downclock_mode() argument 56 return drm_mode_match(downclock_mode, fixed_mode, in is_downclock_mode() 60 downclock_mode->clock < fixed_mode->clock; in is_downclock_mode() 65 const struct drm_display_mode *fixed_mode) in intel_panel_edid_downclock_mode() argument 70 int best_clock = fixed_mode->clock; in intel_panel_edid_downclock_mode() 80 if (is_downclock_mode(scan, fixed_mode) && in intel_panel_edid_downclock_mode() 111 struct drm_display_mode *fixed_mode; in intel_panel_edid_fixed_mode() local 121 fixed_mode = drm_mode_duplicate(&dev_priv->drm, scan); in intel_panel_edid_fixed_mode() [all …]
|
D | intel_dp.c | 388 const struct drm_display_mode *fixed_mode = in intel_dp_can_link_train_fallback_for_edp() local 389 intel_dp->attached_connector->panel.fixed_mode; in intel_dp_can_link_train_fallback_for_edp() 392 mode_rate = intel_dp_link_required(fixed_mode->clock, 18); in intel_dp_can_link_train_fallback_for_edp() 712 struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_dp_mode_valid() local 728 if (intel_dp_is_edp(intel_dp) && fixed_mode) { in intel_dp_mode_valid() 729 if (mode->hdisplay != fixed_mode->hdisplay) in intel_dp_mode_valid() 732 if (mode->vdisplay != fixed_mode->vdisplay) in intel_dp_mode_valid() 735 target_clock = fixed_mode->clock; in intel_dp_mode_valid() 1680 if (intel_dp_is_edp(intel_dp) && intel_connector->panel.fixed_mode) { in intel_dp_compute_config() 1681 intel_fixed_panel_mode(intel_connector->panel.fixed_mode, in intel_dp_compute_config() [all …]
|
D | vlv_dsi.c | 273 const struct drm_display_mode *fixed_mode = intel_connector->panel.fixed_mode; in intel_dsi_compute_config() local 280 if (fixed_mode) { in intel_dsi_compute_config() 281 intel_fixed_panel_mode(fixed_mode, adjusted_mode); in intel_dsi_compute_config() 1637 if (connector->panel.fixed_mode) { in vlv_dsi_add_properties() 1652 connector->panel.fixed_mode->hdisplay, in vlv_dsi_add_properties() 1653 connector->panel.fixed_mode->vdisplay); in vlv_dsi_add_properties() 1837 struct drm_display_mode *current_mode, *fixed_mode; in vlv_dsi_init() local 1958 fixed_mode = intel_panel_vbt_fixed_mode(intel_connector); in vlv_dsi_init() 1961 if (!fixed_mode) { in vlv_dsi_init() 1966 intel_panel_init(&intel_connector->panel, fixed_mode, NULL); in vlv_dsi_init()
|
D | intel_sdvo.c | 799 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 …]
|
D | icl_dsi.c | 1653 const struct drm_display_mode *fixed_mode = in gen11_dsi_compute_config() local 1654 intel_connector->panel.fixed_mode; in gen11_dsi_compute_config() 1660 intel_fixed_panel_mode(fixed_mode, adjusted_mode); in gen11_dsi_compute_config() 1974 connector->panel.fixed_mode->hdisplay, in icl_dsi_add_properties() 1975 connector->panel.fixed_mode->vdisplay); in icl_dsi_add_properties() 1985 struct drm_display_mode *fixed_mode; in icl_dsi_init() local 2042 fixed_mode = intel_panel_vbt_fixed_mode(intel_connector); in icl_dsi_init() 2045 if (!fixed_mode) { in icl_dsi_init() 2050 intel_panel_init(&intel_connector->panel, fixed_mode, NULL); in icl_dsi_init()
|
D | intel_display_types.h | 295 struct drm_display_mode *fixed_mode; member
|
D | intel_display_debugfs.c | 638 const struct drm_display_mode *mode = panel->fixed_mode; in intel_panel_info() 1281 vrefresh = drm_mode_vrefresh(panel->fixed_mode); in drrs_status_per_crtc()
|
/Linux-v5.15/drivers/gpu/drm/gma500/ |
D | cdv_intel_lvds.c | 158 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()
|
D | psb_intel_lvds.c | 340 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()
|
D | cdv_intel_dp.c | 877 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()
|
/Linux-v5.15/drivers/video/fbdev/intelfb/ |
D | intelfb.h | 117 #define FIXED_MODE(d) ((d)->fixed_mode) 332 int fixed_mode; member
|
D | intelfbdrv.c | 516 dinfo->fixed_mode = fixed; in intelfb_pci_register() 773 dinfo->fixed_mode = 1; in intelfb_pci_register()
|
/Linux-v5.15/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 767 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()
|