/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dsc/ |
D | dc_dsc.c | 471 struct fixed31_32 refresh_rate; in compute_dsc_max_bandwidth_overhead() local 477 refresh_rate = dc_fixpt_from_int(timing->pix_clk_100hz); in compute_dsc_max_bandwidth_overhead() 478 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->h_total); in compute_dsc_max_bandwidth_overhead() 479 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->v_total); in compute_dsc_max_bandwidth_overhead() 480 refresh_rate = dc_fixpt_mul_int(refresh_rate, 100); in compute_dsc_max_bandwidth_overhead() 486 max_dsc_overhead = dc_fixpt_mul(max_dsc_overhead, refresh_rate); in compute_dsc_max_bandwidth_overhead()
|
/Linux-v5.15/drivers/gpu/drm/radeon/ |
D | rs780_dpm.h | 49 int refresh_rate; member
|
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()
|
D | ci_dpm.c | 1955 u32 refresh_rate = r600_dpm_get_vrefresh(rdev); in ci_program_display_gap() local 1965 if (refresh_rate == 0) in ci_program_display_gap() 1966 refresh_rate = 60; in ci_program_display_gap() 1969 frame_time_in_us = 1000000 / refresh_rate; in ci_program_display_gap()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/include/ |
D | audio_types.h | 43 uint32_t refresh_rate; member
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce/ |
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()
|
D | dce_audio.c | 190 samples *= crtc_info->refresh_rate; in check_audio_bandwidth_hdmi()
|
/Linux-v5.15/drivers/auxdisplay/ |
D | ht16k33.c | 65 uint32_t refresh_rate; member 120 schedule_delayed_work(&fbdev->work, HZ / fbdev->refresh_rate); in ht16k33_fb_queue() 435 &fbdev->refresh_rate); in ht16k33_probe()
|
/Linux-v5.15/include/video/ |
D | uvesafb.h | 18 u16 refresh_rate; member
|
/Linux-v5.15/drivers/gpu/drm/ast/ |
D | ast_mode.c | 88 u32 refresh_rate_index = 0, refresh_rate; in ast_get_vbios_mode_info() local 149 refresh_rate = drm_mode_vrefresh(mode); in ast_get_vbios_mode_info() 155 while (loop->refresh_rate != 0xff) { in ast_get_vbios_mode_info() 168 if (loop->refresh_rate <= refresh_rate in ast_get_vbios_mode_info() 169 && (!best || loop->refresh_rate > best->refresh_rate)) in ast_get_vbios_mode_info()
|
D | ast_drv.h | 297 u32 refresh_rate; member
|
/Linux-v5.15/drivers/video/fbdev/sis/ |
D | sis_main.c | 734 ivideo->refresh_rate = sisfb_vrate[i].refresh; in sisfb_search_refresh_rate() 740 ivideo->refresh_rate = sisfb_vrate[i-1].refresh; in sisfb_search_refresh_rate() 1251 ivideo->refresh_rate = (unsigned int) (hrate * 2 / vtotal); in sisfb_do_set_var() 1253 ivideo->refresh_rate = 60; in sisfb_do_set_var() 1287 if(sisfb_search_refresh_rate(ivideo, ivideo->refresh_rate, ivideo->sisfb_mode_idx) == 0) { in sisfb_do_set_var() 1289 ivideo->refresh_rate = 60; in sisfb_do_set_var() 1330 ivideo->current_refresh_rate = ivideo->refresh_rate; in sisfb_do_set_var() 1331 ivideo->sisfb_lastrates[ivideo->mode_no] = ivideo->refresh_rate; in sisfb_do_set_var() 1469 int refresh_rate, search_idx, tidx; in sisfb_check_var() local 1547 refresh_rate = 60; in sisfb_check_var() [all …]
|
D | sis.h | 561 unsigned int refresh_rate; member
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_optc.c | 524 void optc2_get_last_used_drr_vtotal(struct timing_generator *optc, uint32_t *refresh_rate) in optc2_get_last_used_drr_vtotal() argument 528 REG_GET(OTG_DRR_CONTROL, OTG_V_TOTAL_LAST_USED_BY_DRR, refresh_rate); in optc2_get_last_used_drr_vtotal()
|
D | dcn20_optc.h | 85 uint32_t *refresh_rate);
|
/Linux-v5.15/drivers/video/fbdev/via/ |
D | share.h | 305 int refresh_rate; member
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | timing_generator.h | 228 void (*get_last_used_drr_vtotal)(struct timing_generator *optc, uint32_t *refresh_rate);
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/ |
D | dc_stream.h | 470 uint32_t *refresh_rate);
|
/Linux-v5.15/drivers/gpu/drm/i915/display/ |
D | intel_dp.c | 4734 int refresh_rate) in intel_dp_set_drrs_state() argument 4740 if (refresh_rate <= 0) { in intel_dp_set_drrs_state() 4763 refresh_rate) in intel_dp_set_drrs_state() 4813 refresh_rate); in intel_dp_set_drrs_state()
|
/Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | smu7_hwmgr.c | 4526 uint32_t ref_clock, refresh_rate; in smu7_program_display_gap() local 4532 refresh_rate = hwmgr->display_config->vrefresh; in smu7_program_display_gap() 4534 if (0 == refresh_rate) in smu7_program_display_gap() 4535 refresh_rate = 60; in smu7_program_display_gap() 4537 frame_time_in_us = 1000000 / refresh_rate; in smu7_program_display_gap()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/core/ |
D | dc.c | 344 uint32_t *refresh_rate) in dc_stream_get_last_used_drr_vtotal() argument 358 pipe->stream_res.tg->funcs->get_last_used_drr_vtotal(pipe->stream_res.tg, refresh_rate); in dc_stream_get_last_used_drr_vtotal()
|
/Linux-v5.15/drivers/video/fbdev/ |
D | uvesafb.c | 1260 crtc->refresh_rate = (u16)(100 * (crtc->pixel_clock / in uvesafb_set_par()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm.c | 5539 int refresh_rate = 0; in set_master_stream() local 5541 refresh_rate = (stream_set[j]->timing.pix_clk_100hz*100)/ in set_master_stream() 5543 if (refresh_rate > highest_rfr) { in set_master_stream() 5544 highest_rfr = refresh_rate; in set_master_stream()
|
/Linux-v5.15/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 1289 audio_output->crtc_info.refresh_rate = in build_audio_output()
|