Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c72 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()
111 div = DIV_ROUND_UP(prate, mode_rate); in atmel_hlcdc_crtc_mode_set_nofb()
118 div = DIV_ROUND_UP(prate, mode_rate); in atmel_hlcdc_crtc_mode_set_nofb()
122 int div_low = prate / mode_rate; in atmel_hlcdc_crtc_mode_set_nofb()
125 (10 * (prate / div_low - mode_rate) < in atmel_hlcdc_crtc_mode_set_nofb()
126 (mode_rate - prate / div))) in atmel_hlcdc_crtc_mode_set_nofb()
/Linux-v6.1/drivers/gpu/drm/nouveau/
Dnouveau_dp.c260 unsigned int max_rate, mode_rate, ds_max_dotclock, clock = mode->clock; in nv50_dp_mode_valid() local
270 mode_rate = DIV_ROUND_UP(clock * bpp, 8); in nv50_dp_mode_valid()
271 if (mode_rate > max_rate) in nv50_dp_mode_valid()
/Linux-v6.1/drivers/gpu/drm/i915/display/
Dintel_dp_mst.c692 int max_rate, mode_rate, max_lanes, max_link_clock; in intel_dp_mst_mode_valid_ctx() local
709 mode_rate = intel_dp_link_required(mode->clock, min_bpp); in intel_dp_mst_mode_valid_ctx()
715 if (mode_rate > max_rate || mode->clock > max_dotclk || in intel_dp_mst_mode_valid_ctx()
Dintel_dp.c593 int mode_rate, max_rate; 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()
597 if (mode_rate > max_rate) in intel_dp_can_link_train_fallback_for_edp()
969 int max_rate, mode_rate, max_lanes, max_link_clock; in intel_dp_mode_valid() local
1005 mode_rate = intel_dp_link_required(target_clock, in intel_dp_mode_valid()
1055 if (mode_rate > max_rate && !dsc) in intel_dp_mode_valid()
1333 int mode_rate, link_rate, link_avail; in intel_dp_compute_link_config_wide() local
1338 mode_rate = intel_dp_link_required(clock, output_bpp); in intel_dp_compute_link_config_wide()
1352 if (mode_rate <= link_avail) { in intel_dp_compute_link_config_wide()