| /linux/drivers/gpu/drm/amd/display/dc/dsc/ |
| H A D | dc_dsc.c | 1340 struct fixed31_32 refresh_rate; in dc_dsc_stream_bandwidth_overhead_in_kbps() local 1346 refresh_rate = dc_fixpt_from_int(timing->pix_clk_100hz); in dc_dsc_stream_bandwidth_overhead_in_kbps() 1347 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->h_total); in dc_dsc_stream_bandwidth_overhead_in_kbps() 1348 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->v_total); in dc_dsc_stream_bandwidth_overhead_in_kbps() 1349 refresh_rate = dc_fixpt_mul_int(refresh_rate, 100); in dc_dsc_stream_bandwidth_overhead_in_kbps() 1355 max_dsc_overhead = dc_fixpt_mul(max_dsc_overhead, refresh_rate); in dc_dsc_stream_bandwidth_overhead_in_kbps()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
| H A D | dcn32_fpu.c | 612 unsigned int refresh_rate = 0; in dcn32_assign_subvp_pipe() local 618 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 + in dcn32_assign_subvp_pipe() 634 (refresh_rate < 120 || dcn32_allow_subvp_high_refresh_rate(dc, context, pipe)) && in dcn32_assign_subvp_pipe() 992 uint64_t refresh_rate = 0; in subvp_subvp_admissable() local 1002 refresh_rate = (pipe->stream->timing.pix_clk_100hz * (uint64_t)100 + in subvp_subvp_admissable() 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() 1007 if ((uint32_t)refresh_rate < min_refresh) in subvp_subvp_admissable() 1008 min_refresh = (uint32_t)refresh_rate; in subvp_subvp_admissable() 1009 if ((uint32_t)refresh_rate > max_refresh) in subvp_subvp_admissable() [all …]
|
| /linux/drivers/gpu/drm/radeon/ |
| H 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()
|
| H A D | rs780_dpm.h | 49 int refresh_rate; member
|
| H A D | ci_dpm.c | 1949 u32 refresh_rate = r600_dpm_get_vrefresh(rdev); in ci_program_display_gap() local 1959 if (refresh_rate == 0) in ci_program_display_gap() 1960 refresh_rate = 60; in ci_program_display_gap() 1963 frame_time_in_us = 1000000 / refresh_rate; in ci_program_display_gap()
|
| /linux/drivers/gpu/drm/amd/display/include/ |
| H A D | audio_types.h | 56 uint16_t refresh_rate; member
|
| /linux/include/video/ |
| H A D | uvesafb.h | 18 u16 refresh_rate; member
|
| /linux/drivers/auxdisplay/ |
| H A D | ht16k33.c | 84 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()
|
| /linux/drivers/video/fbdev/via/ |
| H A D | share.h | 305 int refresh_rate; member
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
| H A D | dcn30_resource.c | 1921 int refresh_rate = 0; in get_refresh_rate() local 1935 refresh_rate = ((timing->pix_clk_100hz * 100) / (h_v_total)) + 1; in get_refresh_rate() 1936 return refresh_rate; in get_refresh_rate() 1997 int refresh_rate = 0; in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch() local 2020 refresh_rate = get_refresh_rate(context); in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch() 2021 if (refresh_rate < minimum_refreshrate_supported) in dcn30_can_support_mclk_switch_using_fw_based_vblank_stretch()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml/ |
| H A D | display_mode_structs.h | 535 unsigned int refresh_rate; member
|
| H A D | display_mode_vba.c | 570 …mode_lib->vba.RefreshRate[mode_lib->vba.NumberOfActivePlanes] = dst->refresh_rate; //todo remove t… in fetch_pipe_params()
|
| /linux/drivers/gpu/drm/amd/display/dc/ |
| H A D | dc_stream.h | 576 uint32_t *refresh_rate);
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_utils.c | 271 …pipe_ctx->pipe_dlg_param.refresh_rate = ((timing->pix_clk_100hz * 100) / timing->h_total) / timing… in populate_pipe_ctx_dlg_params_from_dml()
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
| H A D | smu7_hwmgr.c | 4678 uint32_t ref_clock, refresh_rate; in smu7_program_display_gap() local 4684 refresh_rate = hwmgr->display_config->vrefresh; in smu7_program_display_gap() 4686 if (0 == refresh_rate) in smu7_program_display_gap() 4687 refresh_rate = 60; in smu7_program_display_gap() 4689 frame_time_in_us = 1000000 / refresh_rate; in smu7_program_display_gap()
|
| /linux/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_hw_sequencer.c | 4116 unsigned int refresh_rate = 0; in get_refresh_rate_confirm_color() local 4119 …refresh_rate = (pipe_ctx->stream->timing.pix_clk_100hz * 100) / (pipe_ctx->stream->adjust.v_total_… in get_refresh_rate_confirm_color() 4125 …scaling_factor = MAX_TG_COLOR_VALUE * (refresh_rate - min_refresh_rate) / (max_refresh_rate - min_… in get_refresh_rate_confirm_color()
|
| /linux/drivers/video/fbdev/ |
| H A D | uvesafb.c | 1257 crtc->refresh_rate = (u16)(100 * (crtc->pixel_clock / in uvesafb_set_par()
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.c | 7006 int refresh_rate = 0; in set_master_stream() local 7008 refresh_rate = (stream_set[j]->timing.pix_clk_100hz*100)/ in set_master_stream() 7010 if (refresh_rate > highest_rfr) { in set_master_stream() 7011 highest_rfr = refresh_rate; in set_master_stream()
|
| /linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/ |
| H A D | dce110_hwseq.c | 1473 audio_output->crtc_info.refresh_rate = in build_audio_output()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/ |
| H A D | dml2_core_dcn4_calcs.c | 9276 …unsigned long long refresh_rate = (unsigned long long) ((double)display_cfg->stream_descriptors[di… in dml_core_mode_support() local 9279 if (refresh_rate > 120) in dml_core_mode_support()
|