Searched refs:mode_rate (Results 1 – 5 of 5) sorted by relevance
/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_crtc.c | 72 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()
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_dp.c | 258 unsigned int max_rate, mode_rate, ds_max_dotclock, clock = mode->clock; in nv50_dp_mode_valid() local 272 mode_rate = DIV_ROUND_UP(clock * bpp, 8); in nv50_dp_mode_valid() 273 if (mode_rate > max_rate) in nv50_dp_mode_valid()
|
/drivers/gpu/drm/i915/display/ |
D | intel_dp_mst.c | 698 int max_rate, mode_rate, max_lanes, max_link_clock; in intel_dp_mst_mode_valid_ctx() local 719 mode_rate = intel_dp_link_required(mode->clock, min_bpp); in intel_dp_mst_mode_valid_ctx() 725 if (mode_rate > max_rate || mode->clock > max_dotclk || in intel_dp_mst_mode_valid_ctx()
|
D | intel_dp.c | 593 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 1006 mode_rate = intel_dp_link_required(target_clock, in intel_dp_mode_valid() 1056 if (mode_rate > max_rate && !dsc) in intel_dp_mode_valid() 1334 int mode_rate, link_rate, link_avail; in intel_dp_compute_link_config_wide() local 1339 mode_rate = intel_dp_link_required(clock, output_bpp); in intel_dp_compute_link_config_wide() 1353 if (mode_rate <= link_avail) { in intel_dp_compute_link_config_wide()
|
/drivers/gpu/drm/nouveau/dispnv50/ |
D | disp.c | 419 unsigned int max_rate, mode_rate; in nv50_outp_atomic_fix_depth() local 430 mode_rate = DIV_ROUND_UP(mode->clock * asyh->or.bpc * 3, 8); in nv50_outp_atomic_fix_depth() 431 if (mode_rate <= max_rate) in nv50_outp_atomic_fix_depth()
|