Home
last modified time | relevance | path

Searched refs:refresh_rate (Results 1 – 25 of 29) sorted by relevance

12

/drivers/gpu/drm/i915/display/
Dintel_drrs.c66 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_refresh_rate_pipeconf() argument
79 if (refresh_rate == DRRS_REFRESH_RATE_LOW) in intel_drrs_set_refresh_rate_pipeconf()
89 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_refresh_rate_m_n() argument
92 refresh_rate == DRRS_REFRESH_RATE_LOW ? in intel_drrs_set_refresh_rate_m_n()
102 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_state() argument
106 if (refresh_rate == crtc->drrs.refresh_rate) in intel_drrs_set_state()
110 intel_drrs_set_refresh_rate_pipeconf(crtc, refresh_rate); in intel_drrs_set_state()
112 intel_drrs_set_refresh_rate_m_n(crtc, refresh_rate); in intel_drrs_set_state()
114 crtc->drrs.refresh_rate = refresh_rate; in intel_drrs_set_state()
Dintel_display_types.h1386 enum drrs_refresh_rate refresh_rate; member
/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c1001 struct fixed31_32 refresh_rate; in dc_dsc_stream_bandwidth_overhead_in_kbps() local
1007 refresh_rate = dc_fixpt_from_int(timing->pix_clk_100hz); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1008 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->h_total); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1009 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->v_total); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1010 refresh_rate = dc_fixpt_mul_int(refresh_rate, 100); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1016 max_dsc_overhead = dc_fixpt_mul(max_dsc_overhead, refresh_rate); in dc_dsc_stream_bandwidth_overhead_in_kbps()
/drivers/gpu/drm/radeon/
Drs780_dpm.c59 pi->refresh_rate = 60; in rs780_get_pm_mode_parameters()
67 pi->refresh_rate = drm_mode_vrefresh(&crtc->mode); in rs780_get_pm_mode_parameters()
366 WREG32(FVTHROT_TARGET_REG, 30000000 / pi->refresh_rate); in rs780_program_at()
367 WREG32(FVTHROT_CB1, 1000000 * 5 / pi->refresh_rate); in rs780_program_at()
368 WREG32(FVTHROT_CB2, 1000000 * 10 / pi->refresh_rate); in rs780_program_at()
369 WREG32(FVTHROT_CB3, 1000000 * 30 / pi->refresh_rate); in rs780_program_at()
370 WREG32(FVTHROT_CB4, 1000000 * 50 / pi->refresh_rate); in rs780_program_at()
Drs780_dpm.h49 int refresh_rate; member
Dci_dpm.c1954 u32 refresh_rate = r600_dpm_get_vrefresh(rdev); in ci_program_display_gap() local
1964 if (refresh_rate == 0) in ci_program_display_gap()
1965 refresh_rate = 60; in ci_program_display_gap()
1968 frame_time_in_us = 1000000 / refresh_rate; in ci_program_display_gap()
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_mem_input.c680 uint32_t refresh_rate; in get_dmif_switch_time_us() local
700 refresh_rate = pixels_per_second / pixels_per_frame; in get_dmif_switch_time_us()
702 if (!refresh_rate) { in get_dmif_switch_time_us()
704 ASSERT(refresh_rate); in get_dmif_switch_time_us()
708 frame_time = us_in_sec / refresh_rate; in get_dmif_switch_time_us()
Ddce_audio.c182 samples *= crtc_info->refresh_rate; in check_audio_bandwidth_hdmi()
/drivers/gpu/drm/amd/display/include/
Daudio_types.h43 uint32_t refresh_rate; member
/drivers/video/fbdev/sis/
Dsis_main.c735 ivideo->refresh_rate = sisfb_vrate[i].refresh; in sisfb_search_refresh_rate()
741 ivideo->refresh_rate = sisfb_vrate[i-1].refresh; in sisfb_search_refresh_rate()
1252 ivideo->refresh_rate = (unsigned int) (hrate * 2 / vtotal); in sisfb_do_set_var()
1254 ivideo->refresh_rate = 60; in sisfb_do_set_var()
1288 if(sisfb_search_refresh_rate(ivideo, ivideo->refresh_rate, ivideo->sisfb_mode_idx) == 0) { in sisfb_do_set_var()
1290 ivideo->refresh_rate = 60; in sisfb_do_set_var()
1331 ivideo->current_refresh_rate = ivideo->refresh_rate; in sisfb_do_set_var()
1332 ivideo->sisfb_lastrates[ivideo->mode_no] = ivideo->refresh_rate; in sisfb_do_set_var()
1470 int refresh_rate, search_idx, tidx; in sisfb_check_var() local
1550 refresh_rate = 60; in sisfb_check_var()
[all …]
Dsis.h561 unsigned int refresh_rate; member
/drivers/gpu/drm/ast/
Dast_mode.c86 u32 refresh_rate_index = 0, refresh_rate; in ast_get_vbios_mode_info() local
150 refresh_rate = drm_mode_vrefresh(mode); in ast_get_vbios_mode_info()
156 while (loop->refresh_rate != 0xff) { in ast_get_vbios_mode_info()
169 if (loop->refresh_rate <= refresh_rate in ast_get_vbios_mode_info()
170 && (!best || loop->refresh_rate > best->refresh_rate)) in ast_get_vbios_mode_info()
Dast_drv.h327 u32 refresh_rate; member
/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_optc.c491 void optc2_get_last_used_drr_vtotal(struct timing_generator *optc, uint32_t *refresh_rate) in optc2_get_last_used_drr_vtotal() argument
495 REG_GET(OTG_DRR_CONTROL, OTG_V_TOTAL_LAST_USED_BY_DRR, refresh_rate); in optc2_get_last_used_drr_vtotal()
Ddcn20_optc.h85 uint32_t *refresh_rate);
/drivers/auxdisplay/
Dht16k33.c83 uint32_t refresh_rate; member
242 schedule_delayed_work(&priv->work, HZ / fbdev->refresh_rate); in ht16k33_fb_queue()
634 &fbdev->refresh_rate); in ht16k33_fbdev_probe()
/drivers/video/fbdev/via/
Dshare.h305 int refresh_rate; member
/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_resource.c1902 int refresh_rate = 0; in get_refresh_rate() local
1918 refresh_rate = ((timing->pix_clk_100hz * 100) / (h_v_total)) + 1; in get_refresh_rate()
1919 return refresh_rate; in get_refresh_rate()
1980 int refresh_rate = 0; in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch() local
2002 refresh_rate = get_refresh_rate(context); in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch()
2003 if (refresh_rate < minimum_refreshrate_supported) in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch()
/drivers/gpu/drm/amd/display/dc/inc/hw/
Dtiming_generator.h240 void (*get_last_used_drr_vtotal)(struct timing_generator *optc, uint32_t *refresh_rate);
/drivers/gpu/drm/amd/display/dc/dml/
Ddisplay_mode_structs.h532 unsigned int refresh_rate; member
Ddisplay_mode_vba.c568 …mode_lib->vba.RefreshRate[mode_lib->vba.NumberOfActivePlanes] = dst->refresh_rate; //todo remove t… in fetch_pipe_params()
/drivers/gpu/drm/amd/display/dc/
Ddc_stream.h527 uint32_t *refresh_rate);
/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c661 unsigned int refresh_rate = 0; in dcn32_assign_subvp_pipe() local
667 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 + in dcn32_assign_subvp_pipe()
678 …pipe->stream->mall_stream_config.type == SUBVP_NONE && refresh_rate < 120 && !pipe->plane_state->a… in dcn32_assign_subvp_pipe()
2571 uint32_t refresh_rate = 0; in dcn32_allow_subvp_with_active_margin() local
2580 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 + in dcn32_allow_subvp_with_active_margin()
2585 refresh_rate >= 55 && refresh_rate <= 65 && in dcn32_allow_subvp_with_active_margin()
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dsmu7_hwmgr.c4578 uint32_t ref_clock, refresh_rate; in smu7_program_display_gap() local
4584 refresh_rate = hwmgr->display_config->vrefresh; in smu7_program_display_gap()
4586 if (0 == refresh_rate) in smu7_program_display_gap()
4587 refresh_rate = 60; in smu7_program_display_gap()
4589 frame_time_in_us = 1000000 / refresh_rate; in smu7_program_display_gap()
/drivers/video/fbdev/
Duvesafb.c1260 crtc->refresh_rate = (u16)(100 * (crtc->pixel_clock / in uvesafb_set_par()

12