Home
last modified time | relevance | path

Searched refs:mode_rate (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c71 unsigned long mode_rate; in atmel_hlcdc_crtc_mode_set_nofb() local
104 mode_rate = adj->crtc_clock * 1000; in atmel_hlcdc_crtc_mode_set_nofb()
106 div = DIV_ROUND_UP(prate, mode_rate); in atmel_hlcdc_crtc_mode_set_nofb()
113 div = DIV_ROUND_UP(prate, mode_rate); in atmel_hlcdc_crtc_mode_set_nofb()
117 int div_low = prate / mode_rate; in atmel_hlcdc_crtc_mode_set_nofb()
120 ((prate / div_low - mode_rate) < in atmel_hlcdc_crtc_mode_set_nofb()
121 10 * (mode_rate - prate / div))) in atmel_hlcdc_crtc_mode_set_nofb()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_dp_mst.c432 int max_rate, mode_rate, max_lanes, max_link_clock; in intel_dp_mst_mode_valid() local
444 mode_rate = intel_dp_link_required(mode->clock, 18); in intel_dp_mst_mode_valid()
453 if (mode_rate > max_rate || mode->clock > max_dotclk) in intel_dp_mst_mode_valid()
Dintel_dp.c451 int mode_rate, max_rate; in intel_dp_can_link_train_fallback_for_edp() local
453 mode_rate = intel_dp_link_required(fixed_mode->clock, 18); in intel_dp_can_link_train_fallback_for_edp()
455 if (mode_rate > max_rate) in intel_dp_can_link_train_fallback_for_edp()
597 int max_rate, mode_rate, max_lanes, max_link_clock; in intel_dp_mode_valid() local
621 mode_rate = intel_dp_link_required(target_clock, 18); in intel_dp_mode_valid()
648 if ((mode_rate > max_rate && !(dsc_max_output_bpp && dsc_slice_count)) || in intel_dp_mode_valid()
1950 int mode_rate, link_clock, link_avail; in intel_dp_compute_link_config_wide() local
1955 mode_rate = intel_dp_link_required(adjusted_mode->crtc_clock, in intel_dp_compute_link_config_wide()
1966 if (mode_rate <= link_avail) { in intel_dp_compute_link_config_wide()