Home
last modified time | relevance | path

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

12

/drivers/gpu/drm/i915/display/
A Dintel_drrs.c80 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_refresh_rate_pipeconf() argument
92 bit, refresh_rate == DRRS_REFRESH_RATE_LOW ? bit : 0); in intel_drrs_set_refresh_rate_pipeconf()
97 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_refresh_rate_m_n() argument
100 refresh_rate == DRRS_REFRESH_RATE_LOW ? in intel_drrs_set_refresh_rate_m_n()
110 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_state() argument
114 if (refresh_rate == crtc->drrs.refresh_rate) in intel_drrs_set_state()
118 intel_drrs_set_refresh_rate_pipeconf(crtc, refresh_rate); in intel_drrs_set_state()
120 intel_drrs_set_refresh_rate_m_n(crtc, refresh_rate); in intel_drrs_set_state()
122 crtc->drrs.refresh_rate = refresh_rate; in intel_drrs_set_state()
337 crtc->drrs.refresh_rate == DRRS_REFRESH_RATE_LOW ? in intel_drrs_debugfs_status_show()
A Dintel_vbt_defs.h607 u8 refresh_rate[3]; member
723 u16 refresh_rate; member
923 u8 refresh_rate; member
/drivers/gpu/drm/amd/display/dc/resource/dcn32/
A Ddcn32_resource_helpers.c486 int refresh_rate = 0; in get_refresh_rate() local
503 return refresh_rate; in get_refresh_rate()
517 int refresh_rate = 0; in dcn32_can_support_mclk_switch_using_fw_based_vblank_stretch() local
573 if (refresh_rate < minimum_refreshrate_supported) in dcn32_can_support_mclk_switch_using_fw_based_vblank_stretch()
652 uint64_t refresh_rate = 0; in dcn32_subvp_drr_admissable() local
667 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total); in dcn32_subvp_drr_admissable()
668 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_total); in dcn32_subvp_drr_admissable()
682 ((uint32_t)refresh_rate < 120)) in dcn32_subvp_drr_admissable()
713 uint64_t refresh_rate = 0; in dcn32_subvp_vblank_admissable() local
728 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total); in dcn32_subvp_vblank_admissable()
[all …]
/drivers/gpu/drm/ast/
A Dast_vbios.c220 u32 refresh_rate; in ast_vbios_find_mode() local
226 refresh_rate = drm_mode_vrefresh(mode); in ast_vbios_find_mode()
235 if (vmode->refresh_rate <= refresh_rate && in ast_vbios_find_mode()
236 (!best_vmode || vmode->refresh_rate > best_vmode->refresh_rate)) in ast_vbios_find_mode()
A Dast_vbios.h92 u32 refresh_rate; member
102 return vmode->ht && vmode->vt && vmode->refresh_rate; in ast_vbios_mode_is_valid()
/drivers/gpu/drm/amd/display/dc/dsc/
A Ddc_dsc.c1337 struct fixed31_32 refresh_rate; in dc_dsc_stream_bandwidth_overhead_in_kbps() local
1343 refresh_rate = dc_fixpt_from_int(timing->pix_clk_100hz); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1344 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->h_total); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1345 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->v_total); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1346 refresh_rate = dc_fixpt_mul_int(refresh_rate, 100); in dc_dsc_stream_bandwidth_overhead_in_kbps()
1352 max_dsc_overhead = dc_fixpt_mul(max_dsc_overhead, refresh_rate); in dc_dsc_stream_bandwidth_overhead_in_kbps()
/drivers/gpu/drm/amd/display/dc/dml/dcn32/
A Ddcn32_fpu.c612 unsigned int refresh_rate = 0; in dcn32_assign_subvp_pipe() local
992 uint64_t refresh_rate = 0; in subvp_subvp_admissable() local
1004 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total); in subvp_subvp_admissable()
1005 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_total); in subvp_subvp_admissable()
3394 uint32_t refresh_rate = 0; in dcn32_allow_subvp_with_active_margin() local
3405 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total); in dcn32_allow_subvp_with_active_margin()
3406 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_total); in dcn32_allow_subvp_with_active_margin()
3408 if (refresh_rate >= min_refresh && refresh_rate <= max_refresh && in dcn32_allow_subvp_with_active_margin()
3436 uint32_t refresh_rate = 0; in dcn32_allow_subvp_high_refresh_rate() local
3456 min_refresh = refresh_rate; in dcn32_allow_subvp_high_refresh_rate()
[all …]
/drivers/gpu/drm/radeon/
A 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()
A Drs780_dpm.h49 int refresh_rate; member
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
A Ddcn32_clk_mgr.c573 uint64_t refresh_rate; in dcn32_auto_dpm_test_log() local
578 refresh_rate = (curr_pipe_ctx->stream->timing.pix_clk_100hz * (uint64_t)100 + in dcn32_auto_dpm_test_log()
580 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.v_total); in dcn32_auto_dpm_test_log()
581 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.h_total); in dcn32_auto_dpm_test_log()
582 disp_src_refresh_list[i] = refresh_rate; in dcn32_auto_dpm_test_log()
/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_mem_input.c698 uint32_t refresh_rate; in get_dmif_switch_time_us() local
718 refresh_rate = pixels_per_second / pixels_per_frame; in get_dmif_switch_time_us()
720 if (!refresh_rate) { in get_dmif_switch_time_us()
722 ASSERT(refresh_rate); in get_dmif_switch_time_us()
726 frame_time = us_in_sec / refresh_rate; in get_dmif_switch_time_us()
/drivers/video/fbdev/sis/
A Dsis_main.c1223 ivideo->refresh_rate = 60; in sisfb_do_set_var()
1259 ivideo->refresh_rate = 60; in sisfb_do_set_var()
1519 refresh_rate = 60; in sisfb_check_var()
1533 refresh_rate = in sisfb_check_var()
1539 refresh_rate = 60; in sisfb_check_var()
1550 refresh_rate = 60; in sisfb_check_var()
1572 myrateindex, refresh_rate)) { in sisfb_check_var()
5909 ivideo->refresh_rate = 0; in sisfb_probe()
6365 ivideo->refresh_rate = 60; in sisfb_probe()
6372 ivideo->refresh_rate)) { in sisfb_probe()
[all …]
/drivers/gpu/drm/amd/display/include/
A Daudio_types.h53 uint32_t refresh_rate; member
/drivers/gpu/drm/amd/display/dc/optc/dcn20/
A Ddcn20_optc.c498 void optc2_get_last_used_drr_vtotal(struct timing_generator *optc, uint32_t *refresh_rate) in optc2_get_last_used_drr_vtotal() argument
502 REG_GET(OTG_DRR_CONTROL, OTG_V_TOTAL_LAST_USED_BY_DRR, refresh_rate); in optc2_get_last_used_drr_vtotal()
A Ddcn20_optc.h90 uint32_t *refresh_rate);
/drivers/auxdisplay/
A Dht16k33.c84 uint32_t refresh_rate; member
213 schedule_delayed_work(&priv->work, HZ / fbdev->refresh_rate); in ht16k33_fb_queue()
611 &fbdev->refresh_rate); in ht16k33_fbdev_probe()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn401/
A Ddcn401_clk_mgr.c475 uint64_t refresh_rate; in dcn401_auto_dpm_test_log() local
480 refresh_rate = (curr_pipe_ctx->stream->timing.pix_clk_100hz * (uint64_t)100 + in dcn401_auto_dpm_test_log()
483 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.v_total); in dcn401_auto_dpm_test_log()
484 refresh_rate = div_u64(refresh_rate, curr_pipe_ctx->stream->timing.h_total); in dcn401_auto_dpm_test_log()
485 disp_src_refresh_list[i] = refresh_rate; in dcn401_auto_dpm_test_log()
/drivers/video/fbdev/via/
A Dshare.h305 int refresh_rate; member
/drivers/iio/temperature/
A Dmlx90632.c86 #define MLX90632_REFRESH_RATE_STATUS(refresh_rate) (refresh_rate << 8) argument
928 int *refresh_rate) in mlx90632_get_refresh_rate() argument
937 *refresh_rate = MLX90632_REFRESH_RATE(meas1); in mlx90632_get_refresh_rate()
A Dmlx90635.c637 unsigned int *refresh_rate) in mlx90635_get_refresh_rate() argument
646 *refresh_rate = FIELD_GET(MLX90635_CTRL1_REFRESH_RATE_MASK, reg); in mlx90635_get_refresh_rate()
/drivers/gpu/drm/amd/display/dc/dml2/
A Ddml2_mall_phantom.c240 unsigned int refresh_rate = 0; in assign_subvp_pipe() local
246 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 + in assign_subvp_pipe()
256 …nfig.svp_pstate.callbacks.get_pipe_subvp_type(context, pipe) == SUBVP_NONE && refresh_rate < 120 && in assign_subvp_pipe()
/drivers/gpu/drm/amd/display/dc/resource/dcn30/
A Ddcn30_resource.c1885 int refresh_rate = 0; in get_refresh_rate() local
1899 refresh_rate = ((timing->pix_clk_100hz * 100) / (h_v_total)) + 1; in get_refresh_rate()
1900 return refresh_rate; in get_refresh_rate()
1961 int refresh_rate = 0; in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch() local
1984 refresh_rate = get_refresh_rate(context); in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch()
1985 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/
A Dtiming_generator.h277 void (*get_last_used_drr_vtotal)(struct timing_generator *optc, uint32_t *refresh_rate);
/drivers/gpu/drm/amd/display/dc/dml/
A Ddisplay_mode_structs.h535 unsigned int refresh_rate; member
/drivers/gpu/drm/amd/display/dc/
A Ddc_stream.h536 uint32_t *refresh_rate);

Completed in 79 milliseconds

12