/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_drrs.c | 67 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_refresh_rate_pipeconf() argument 80 if (refresh_rate == DRRS_REFRESH_RATE_LOW) in intel_drrs_set_refresh_rate_pipeconf() 90 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_refresh_rate_m_n() argument 93 refresh_rate == DRRS_REFRESH_RATE_LOW ? in intel_drrs_set_refresh_rate_m_n() 103 enum drrs_refresh_rate refresh_rate) in intel_drrs_set_state() argument 107 if (refresh_rate == crtc->drrs.refresh_rate) in intel_drrs_set_state() 111 intel_drrs_set_refresh_rate_pipeconf(crtc, refresh_rate); in intel_drrs_set_state() 113 intel_drrs_set_refresh_rate_m_n(crtc, refresh_rate); in intel_drrs_set_state() 115 crtc->drrs.refresh_rate = refresh_rate; in intel_drrs_set_state() 323 crtc->drrs.refresh_rate == DRRS_REFRESH_RATE_LOW ? in intel_drrs_debugfs_status_show()
|
A D | intel_display_types.h | 1405 enum drrs_refresh_rate refresh_rate; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dsc/ |
A D | dc_dsc.c | 1001 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()
|
/linux-6.3-rc2/drivers/gpu/drm/radeon/ |
A D | rs780_dpm.h | 49 int refresh_rate; member
|
A D | rs780_dpm.c | 59 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 D | ci_dpm.c | 1954 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()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/include/ |
A D | audio_types.h | 43 uint32_t refresh_rate; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_mem_input.c | 680 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()
|
A D | dce_audio.c | 182 samples *= crtc_info->refresh_rate; in check_audio_bandwidth_hdmi()
|
/linux-6.3-rc2/include/video/ |
A D | uvesafb.h | 18 u16 refresh_rate; member
|
/linux-6.3-rc2/drivers/video/fbdev/sis/ |
A D | sis_main.c | 1254 ivideo->refresh_rate = 60; in sisfb_do_set_var() 1290 ivideo->refresh_rate = 60; in sisfb_do_set_var() 1548 refresh_rate = 60; in sisfb_check_var() 1562 refresh_rate = in sisfb_check_var() 1568 refresh_rate = 60; in sisfb_check_var() 1579 refresh_rate = 60; in sisfb_check_var() 1601 myrateindex, refresh_rate)) { in sisfb_check_var() 5958 ivideo->refresh_rate = 0; in sisfb_probe() 6414 ivideo->refresh_rate = 60; in sisfb_probe() 6421 ivideo->refresh_rate)) { in sisfb_probe() [all …]
|
A D | sis.h | 561 unsigned int refresh_rate; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_optc.c | 491 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()
|
A D | dcn20_optc.h | 85 uint32_t *refresh_rate);
|
/linux-6.3-rc2/drivers/gpu/drm/ast/ |
A D | ast_mode.c | 115 u32 refresh_rate_index = 0, refresh_rate; in ast_get_vbios_mode_info() local 179 refresh_rate = drm_mode_vrefresh(mode); in ast_get_vbios_mode_info() 185 while (loop->refresh_rate != 0xff) { in ast_get_vbios_mode_info() 198 if (loop->refresh_rate <= refresh_rate in ast_get_vbios_mode_info() 199 && (!best || loop->refresh_rate > best->refresh_rate)) in ast_get_vbios_mode_info()
|
A D | ast_drv.h | 328 u32 refresh_rate; member
|
/linux-6.3-rc2/drivers/video/fbdev/via/ |
A D | share.h | 305 int refresh_rate; member
|
/linux-6.3-rc2/drivers/auxdisplay/ |
A D | ht16k33.c | 83 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()
|
/linux-6.3-rc2/drivers/iio/temperature/ |
A D | mlx90632.c | 86 #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()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/ |
A D | timing_generator.h | 240 void (*get_last_used_drr_vtotal)(struct timing_generator *optc, uint32_t *refresh_rate);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_resource.c | 1904 int refresh_rate = 0; in get_refresh_rate() local 1920 refresh_rate = ((timing->pix_clk_100hz * 100) / (h_v_total)) + 1; in get_refresh_rate() 1921 return refresh_rate; in get_refresh_rate() 1982 int refresh_rate = 0; in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch() local 2004 refresh_rate = get_refresh_rate(context); in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch() 2005 if (refresh_rate < minimum_refreshrate_supported) in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/ |
A D | display_mode_structs.h | 533 unsigned int refresh_rate; member
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/ |
A D | dc_stream.h | 539 uint32_t *refresh_rate);
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
A D | dcn32_fpu.c | 679 unsigned int refresh_rate = 0; in dcn32_assign_subvp_pipe() local 685 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 + in dcn32_assign_subvp_pipe() 696 …pipe->stream->mall_stream_config.type == SUBVP_NONE && refresh_rate < 120 && !pipe->plane_state->a… in dcn32_assign_subvp_pipe() 2730 uint32_t refresh_rate = 0; in dcn32_allow_subvp_with_active_margin() local 2739 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 + in dcn32_allow_subvp_with_active_margin() 2744 refresh_rate >= 55 && refresh_rate <= 65 && in dcn32_allow_subvp_with_active_margin()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
A D | smu7_hwmgr.c | 4573 uint32_t ref_clock, refresh_rate; in smu7_program_display_gap() local 4579 refresh_rate = hwmgr->display_config->vrefresh; in smu7_program_display_gap() 4581 if (0 == refresh_rate) in smu7_program_display_gap() 4582 refresh_rate = 60; in smu7_program_display_gap() 4584 frame_time_in_us = 1000000 / refresh_rate; in smu7_program_display_gap()
|