/linux/drivers/gpu/drm/arm/display/komeda/ |
A D | komeda_crtc.c | 57 pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000ULL; in komeda_crtc_update_clock_ratio() 150 err = clk_set_rate(master->pxlclk, mode->crtc_clock * 1000); in komeda_crtc_prepare() 420 unsigned long pxlclk = kcrtc_st->base.adjusted_mode.crtc_clock * 1000; in komeda_crtc_get_aclk() 470 adjusted_mode->crtc_clock /= 2; in komeda_crtc_mode_fixup() 477 clk_rate = adjusted_mode->crtc_clock * 1000; in komeda_crtc_mode_fixup() 479 adjusted_mode->crtc_clock = clk_round_rate(kcrtc->master->pxlclk, in komeda_crtc_mode_fixup()
|
/linux/drivers/gpu/drm/i915/display/ |
A D | intel_vrr.c | 109 vmin = DIV_ROUND_UP(adjusted_mode->crtc_clock * 1000, in intel_vrr_compute_config() 111 vmax = adjusted_mode->crtc_clock * 1000 / in intel_vrr_compute_config()
|
A D | intel_audio.c | 248 if (adjusted_mode->crtc_clock == hdmi_audio_clock[i].clock) in audio_config_hdmi_pixel_clock() 252 if (DISPLAY_VER(dev_priv) < 12 && adjusted_mode->crtc_clock > 148500) in audio_config_hdmi_pixel_clock() 258 adjusted_mode->crtc_clock); in audio_config_hdmi_pixel_clock() 531 pixel_clk = crtc_state->hw.adjusted_mode.crtc_clock; in calc_hblank_early_prog()
|
A D | intel_dp_mst.c | 69 crtc_state->pbn = drm_dp_calc_pbn_mode(adjusted_mode->crtc_clock, in intel_dp_mst_compute_link_config() 93 adjusted_mode->crtc_clock, in intel_dp_mst_compute_link_config() 556 u64 crtc_clock_hz = KHz(adjusted_mode->crtc_clock); in intel_mst_enable_dp()
|
A D | intel_dp.c | 1083 int clock = crtc_state->hw.adjusted_mode.crtc_clock * bpc / 8; in intel_dp_hdmi_tmds_clock() 1204 mode_rate = intel_dp_link_required(adjusted_mode->crtc_clock, in intel_dp_compute_link_config_wide() 1374 adjusted_mode->crtc_clock, in intel_dp_dsc_compute_config() 1380 adjusted_mode->crtc_clock, in intel_dp_dsc_compute_config() 1415 if (adjusted_mode->crtc_clock > dev_priv->max_cdclk_freq || in intel_dp_dsc_compute_config() 1492 limits.max_bpp, adjusted_mode->crtc_clock); in intel_dp_compute_link_config() 1495 adjusted_mode->crtc_clock)) in intel_dp_compute_link_config() 1526 intel_dp_link_required(adjusted_mode->crtc_clock, in intel_dp_compute_link_config() 1537 intel_dp_link_required(adjusted_mode->crtc_clock, in intel_dp_compute_link_config() 1832 adjusted_mode->crtc_clock /= n; in intel_dp_compute_config() [all …]
|
A D | intel_crt.c | 140 pipe_config->hw.adjusted_mode.crtc_clock = pipe_config->port_clock; in intel_crt_get_config() 156 pipe_config->hw.adjusted_mode.crtc_clock = lpt_get_iclkip(dev_priv); in hsw_crt_get_config()
|
A D | intel_tv.c | 1156 adjusted_mode->crtc_clock = mode.clock; in intel_tv_get_config() 1158 adjusted_mode->crtc_clock /= 2; in intel_tv_get_config() 1243 adjusted_mode->crtc_clock /= 2; in intel_tv_compute_config()
|
A D | intel_display.c | 3510 mode->clock = timings->crtc_clock; in intel_mode_from_crtc_timings() 3522 crtc_state->hw.pipe_mode.crtc_clock; in intel_crtc_compute_pixel_rate() 3547 pipe_mode->crtc_clock /= 2; in intel_crtc_readout_derived_state() 3566 pipe_mode->crtc_clock *= n; in intel_crtc_readout_derived_state() 3601 pipe_mode->crtc_clock /= 2; in intel_crtc_compute_config() 3621 pipe_mode->crtc_clock *= n; in intel_crtc_compute_config() 3640 if (pipe_mode->crtc_clock > clock_limit) { in intel_crtc_compute_config() 3643 pipe_mode->crtc_clock, clock_limit, in intel_crtc_compute_config() 4298 pipe_config->hw.adjusted_mode.crtc_clock = in i9xx_get_pipe_config() 6291 pipe_mode->crtc_clock); in hsw_linetime_wm() [all …]
|
/linux/drivers/gpu/drm/tiny/ |
A D | arcpgu.c | 189 clk_set_rate(arcpgu->clk, m->crtc_clock * 1000); in arc_pgu_mode_set() 342 unsigned long mode_clock = arcpgu->pipe.crtc.mode.crtc_clock * 1000; in arcpgu_show_pxlclock()
|
/linux/drivers/gpu/drm/armada/ |
A D | armada_510.c | 104 unsigned long desired_khz = mode->crtc_clock; in armada510_crtc_compute_clock()
|
/linux/drivers/gpu/drm/arm/ |
A D | malidp_crtc.c | 34 long rate, req_rate = mode->crtc_clock * 1000; in malidp_crtc_mode_valid() 65 clk_set_rate(hwdev->pxlclk, crtc->state->adjusted_mode.crtc_clock * 1000); in malidp_crtc_atomic_enable()
|
A D | hdlcd_crtc.c | 167 clk_set_rate(hdlcd->clk, m->crtc_clock * 1000); in hdlcd_crtc_mode_set_nofb()
|
A D | hdlcd_drv.c | 237 unsigned long mode_clock = hdlcd->crtc.mode.crtc_clock * 1000; in hdlcd_show_pxlclock()
|
/linux/drivers/gpu/drm/mxsfb/ |
A D | mxsfb_kms.c | 253 clk_set_rate(mxsfb->clk, m->crtc_clock * 1000); in mxsfb_crtc_mode_set_nofb() 259 m->crtc_clock, in mxsfb_crtc_mode_set_nofb()
|
/linux/drivers/gpu/drm/sun4i/ |
A D | sun8i_hdmi_phy.c | 353 clk_set_rate(phy->clk_phy, mode->crtc_clock * 1000); in sun8i_hdmi_phy_config() 355 return phy->variant->phy_config(hdmi, phy, mode->crtc_clock * 1000); in sun8i_hdmi_phy_config()
|
A D | sun4i_hdmi_enc.c | 128 clk_set_rate(hdmi->mod_clk, mode->crtc_clock * 1000); in sun4i_hdmi_mode_set() 129 clk_set_rate(hdmi->tmds_clk, mode->crtc_clock * 1000); in sun4i_hdmi_mode_set()
|
A D | sun8i_dw_hdmi.c | 24 clk_set_rate(hdmi->clk_tmds, mode->crtc_clock * 1000); in sun8i_dw_hdmi_encoder_mode_set()
|
A D | sun4i_tcon.c | 297 clk_set_rate(tcon->dclk, mode->crtc_clock * 1000); in sun4i_tcon0_mode_set_common() 410 start_delay = start_delay / (mode->crtc_clock / 1000) / 8; in sun4i_tcon0_mode_set_cpu() 601 clk_set_rate(tcon->sclk1, mode->crtc_clock * 1000); in sun4i_tcon1_mode_set()
|
/linux/drivers/gpu/drm/ |
A D | drm_vblank.c | 615 int dotclock = mode->crtc_clock; in drm_calc_timestamping_constants() 725 if (mode->crtc_clock == 0) { in drm_crtc_vblank_helper_get_vblank_timestamp_internal() 780 mode->crtc_clock); in drm_crtc_vblank_helper_get_vblank_timestamp_internal() 1360 vblank->hwmode.crtc_clock = 0; in drm_crtc_vblank_off()
|
/linux/drivers/gpu/drm/imx/dcss/ |
A D | dcss-crtc.c | 96 vm.pixelclock = mode->crtc_clock * 1000; in dcss_crtc_atomic_enable()
|
/linux/drivers/gpu/drm/aspeed/ |
A D | aspeed_gfx_crtc.c | 93 clk_set_rate(priv->pixel_clk, m->crtc_clock * 1000); in aspeed_gfx_crtc_mode_set_nofb()
|
/linux/include/drm/ |
A D | drm_modes.h | 295 int crtc_clock; member
|
/linux/drivers/gpu/drm/nouveau/dispnv50/ |
A D | head.c | 297 blankus /= mode->crtc_clock; in nv50_head_atomic_check_mode() 310 m->clock = mode->crtc_clock; in nv50_head_atomic_check_mode()
|
/linux/drivers/gpu/drm/bridge/ |
A D | cdns-dsi.c | 584 dpi_hz = (mode_valid_check ? mode->clock : mode->crtc_clock) * 1000; in cdns_dsi_adjust_phy_config() 617 phy_mipi_dphy_get_default_config(mode->crtc_clock * 1000, in cdns_dsi_check_conf() 641 (mode_valid_check ? mode->clock : mode->crtc_clock) * 1000) in cdns_dsi_check_conf()
|
/linux/drivers/gpu/drm/atmel-hlcdc/ |
A D | atmel_hlcdc_crtc.c | 103 mode_rate = adj->crtc_clock * 1000; in atmel_hlcdc_crtc_mode_set_nofb()
|