Searched refs:mode_rate (Results 1 – 6 of 6) sorted by relevance
/linux-6.12.1/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_crtc.c | 78 unsigned long mode_rate; in atmel_hlcdc_crtc_mode_set_nofb() local 127 mode_rate = adj->crtc_clock * 1000; in atmel_hlcdc_crtc_mode_set_nofb() 134 div = DIV_ROUND_UP(prate, mode_rate); in atmel_hlcdc_crtc_mode_set_nofb() 141 div = DIV_ROUND_UP(prate, mode_rate); in atmel_hlcdc_crtc_mode_set_nofb() 145 int div_low = prate / mode_rate; in atmel_hlcdc_crtc_mode_set_nofb() 148 (10 * (prate / div_low - mode_rate) < in atmel_hlcdc_crtc_mode_set_nofb() 149 (mode_rate - prate / div))) in atmel_hlcdc_crtc_mode_set_nofb()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/ |
D | nouveau_dp.c | 545 unsigned int max_rate, mode_rate, ds_max_dotclock, clock = mode->clock; in nv50_dp_mode_valid() local 559 mode_rate = DIV_ROUND_UP(clock * bpp, 8); in nv50_dp_mode_valid() 560 if (mode_rate > max_rate) in nv50_dp_mode_valid()
|
/linux-6.12.1/drivers/gpu/drm/i915/display/ |
D | intel_dp_mst.c | 1443 int max_rate, mode_rate, max_lanes, max_link_clock; in intel_dp_mst_mode_valid_ctx() local 1474 mode_rate = intel_dp_link_required(mode->clock, min_bpp); in intel_dp_mst_mode_valid_ctx() 1498 if (mode_rate > max_rate || mode->clock > max_dotclk || in intel_dp_mst_mode_valid_ctx() 1536 if (mode_rate > max_rate && !dsc) { in intel_dp_mst_mode_valid_ctx()
|
D | intel_dp_link_training.c | 1168 int mode_rate, max_rate; in intel_dp_can_link_train_fallback_for_edp() local 1170 mode_rate = intel_dp_link_required(fixed_mode->clock, 18); in intel_dp_can_link_train_fallback_for_edp() 1172 if (mode_rate > max_rate) in intel_dp_can_link_train_fallback_for_edp()
|
D | intel_dp.c | 1315 int max_rate, mode_rate, max_lanes, max_link_clock; in intel_dp_mode_valid() local 1357 mode_rate = intel_dp_link_required(target_clock, in intel_dp_mode_valid() 1405 if (mode_rate > max_rate && !dsc) in intel_dp_mode_valid() 1707 int mode_rate, link_rate, link_avail; in intel_dp_compute_link_config_wide() local 1714 mode_rate = intel_dp_link_required(clock, link_bpp); in intel_dp_compute_link_config_wide() 1730 if (mode_rate <= link_avail) { in intel_dp_compute_link_config_wide()
|
/linux-6.12.1/drivers/gpu/drm/nouveau/dispnv50/ |
D | disp.c | 373 unsigned int max_rate, mode_rate; in nv50_outp_atomic_fix_depth() local 384 mode_rate = DIV_ROUND_UP(mode->clock * asyh->or.bpc * 3, 8); in nv50_outp_atomic_fix_depth() 385 if (mode_rate <= max_rate) in nv50_outp_atomic_fix_depth()
|