/linux-6.1.9/drivers/gpu/drm/nouveau/ |
D | nouveau_dp.c | 156 nv_encoder->dp.link_bw = 27000 * dpcd[DP_MAX_LINK_RATE]; in nouveau_dp_detect() 169 if (val && (i == 0 || val > nv_encoder->dp.link_bw)) in nouveau_dp_detect() 170 nv_encoder->dp.link_bw = val; in nouveau_dp_detect() 176 nv_encoder->dp.link_nr, nv_encoder->dp.link_bw, in nouveau_dp_detect() 180 nv_encoder->dcb->dpconf.link_bw); in nouveau_dp_detect() 184 if (nv_encoder->dcb->dpconf.link_bw < nv_encoder->dp.link_bw) in nouveau_dp_detect() 185 nv_encoder->dp.link_bw = nv_encoder->dcb->dpconf.link_bw; in nouveau_dp_detect() 188 nv_encoder->dp.link_nr, nv_encoder->dp.link_bw); in nouveau_dp_detect() 269 max_rate = outp->dp.link_nr * outp->dp.link_bw; in nv50_dp_mode_valid()
|
D | nouveau_encoder.h | 76 int link_bw; member
|
D | nouveau_bios.c | 1477 entry->dpconf.link_bw = 162000; in parse_dcb20_entry() 1480 entry->dpconf.link_bw = 270000; in parse_dcb20_entry() 1483 entry->dpconf.link_bw = 540000; in parse_dcb20_entry() 1487 entry->dpconf.link_bw = 810000; in parse_dcb20_entry()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | dcb.c | 147 outp->dpconf.link_bw = 0x06; in dcb_outp_parse() 150 outp->dpconf.link_bw = 0x0a; in dcb_outp_parse() 153 outp->dpconf.link_bw = 0x14; in dcb_outp_parse() 157 outp->dpconf.link_bw = 0x1e; in dcb_outp_parse()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
D | anx9805.c | 193 int link_nr, int link_bw, bool enh) in anx9805_aux_lnk_ctl() argument 201 link_nr, link_bw, enh); in anx9805_aux_lnk_ctl() 203 nvkm_wri2cr(adap, aux->addr, 0xa0, link_bw); in anx9805_aux_lnk_ctl()
|
D | aux.h | 17 int (*lnk_ctl)(struct nvkm_i2c_aux *, int link_nr, int link_bw,
|
/linux-6.1.9/drivers/gpu/drm/gma500/ |
D | cdv_intel_dp.c | 260 uint8_t link_bw; member 355 cdv_intel_dp_link_clock(uint8_t link_bw) in cdv_intel_dp_link_clock() argument 357 if (link_bw == DP_LINK_BW_2_7) in cdv_intel_dp_link_clock() 915 intel_dp->link_bw = bws[clock]; in cdv_intel_dp_mode_fixup() 917 adjusted_mode->clock = cdv_intel_dp_link_clock(intel_dp->link_bw); in cdv_intel_dp_mode_fixup() 920 intel_dp->link_bw, intel_dp->lane_count, in cdv_intel_dp_mode_fixup() 929 intel_dp->link_bw = bws[max_clock]; in cdv_intel_dp_mode_fixup() 930 adjusted_mode->clock = cdv_intel_dp_link_clock(intel_dp->link_bw); in cdv_intel_dp_mode_fixup() 933 intel_dp->link_bw, intel_dp->lane_count, in cdv_intel_dp_mode_fixup() 1069 intel_dp->link_configuration[0] = intel_dp->link_bw; in cdv_intel_dp_mode_set()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
D | dcb.h | 49 int link_bw; member
|
/linux-6.1.9/drivers/gpu/drm/i915/display/ |
D | intel_dp_link_training.c | 651 u8 link_bw, rate_select; in intel_dp_prepare_link_train() local 657 &link_bw, &rate_select); in intel_dp_prepare_link_train() 670 if (!link_bw) { in intel_dp_prepare_link_train() 681 if (link_bw) in intel_dp_prepare_link_train() 684 encoder->base.base.id, encoder->base.name, link_bw); in intel_dp_prepare_link_train() 691 link_config[0] = link_bw; in intel_dp_prepare_link_train() 698 if (!link_bw) in intel_dp_prepare_link_train()
|
D | intel_dp.h | 75 u8 *link_bw, u8 *rate_select);
|
D | intel_fdi.c | 238 int lane, link_bw, fdi_dotclock, ret; in ilk_fdi_compute_config() local 249 link_bw = intel_fdi_link_freq(i915, pipe_config); in ilk_fdi_compute_config() 253 lane = ilk_get_lanes_required(fdi_dotclock, link_bw, in ilk_fdi_compute_config() 259 link_bw, &pipe_config->fdi_m_n, false); in ilk_fdi_compute_config()
|
D | intel_display.h | 604 int ilk_get_lanes_required(int target_clock, int link_bw, int bpp);
|
D | intel_dp.c | 1135 u8 *link_bw, u8 *rate_select) in intel_dp_compute_rate() argument 1139 *link_bw = 0; in intel_dp_compute_rate() 1143 *link_bw = drm_dp_link_rate_to_bw_code(port_clock); in intel_dp_compute_rate()
|
D | intel_display.c | 3519 int ilk_get_lanes_required(int target_clock, int link_bw, int bpp) in ilk_get_lanes_required() argument 3527 return DIV_ROUND_UP(bps, link_bw * 8); in ilk_get_lanes_required()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
D | i2c.h | 71 int nvkm_i2c_aux_lnk_ctl(struct nvkm_i2c_aux *, int link_nr, int link_bw,
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_dp.c | 2836 uint32_t link_bw; in perform_link_training_with_retries() local 2844 link_bw = dc_link_bandwidth_kbps(link, &cur_link_settings); in perform_link_training_with_retries() 2845 is_link_bw_low = (req_bw > link_bw); in perform_link_training_with_retries() 2851 __func__, link->link_index, req_bw, link_bw); in perform_link_training_with_retries() 3656 uint32_t link_bw; in decide_dp_link_settings() local 3667 link_bw = dc_link_bandwidth_kbps( in decide_dp_link_settings() 3670 if (req_bw <= link_bw) { in decide_dp_link_settings() 3696 uint32_t link_bw; in decide_edp_link_settings() local 3722 link_bw = dc_link_bandwidth_kbps( in decide_edp_link_settings() 3725 if (req_bw <= link_bw) { in decide_edp_link_settings() [all …]
|
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | dp.c | 574 if (rate > outp->info.dpconf.link_bw * 27000) { in nvkm_dp_enable_supported_link_rates() 645 rate_max = min(rate_max, outp->info.dpconf.link_bw); in nvkm_dp_enable()
|
/linux-6.1.9/include/drm/display/ |
D | drm_dp_helper.h | 70 int drm_dp_bw_code_to_link_rate(u8 link_bw);
|
/linux-6.1.9/drivers/gpu/drm/display/ |
D | drm_dp_helper.c | 476 int drm_dp_bw_code_to_link_rate(u8 link_bw) in drm_dp_bw_code_to_link_rate() argument 478 switch (link_bw) { in drm_dp_bw_code_to_link_rate() 487 return link_bw * 27000; in drm_dp_bw_code_to_link_rate()
|
/linux-6.1.9/drivers/gpu/drm/nouveau/dispnv50/ |
D | disp.c | 1061 outp->dp.link_bw, outp->dp.link_nr); in nv50_msto_atomic_check()
|