Searched refs:refresh_rate (Results 1 - 23 of 23) sorted by relevance

/openbsd-current/sys/dev/pci/drm/i915/display/
H A Dintel_drrs.c67 enum drrs_refresh_rate refresh_rate)
79 bit, refresh_rate == DRRS_REFRESH_RATE_LOW ? bit : 0);
84 enum drrs_refresh_rate refresh_rate)
87 refresh_rate == DRRS_REFRESH_RATE_LOW ?
97 enum drrs_refresh_rate refresh_rate)
101 if (refresh_rate == crtc->drrs.refresh_rate)
105 intel_drrs_set_refresh_rate_pipeconf(crtc, refresh_rate);
107 intel_drrs_set_refresh_rate_m_n(crtc, refresh_rate);
109 crtc->drrs.refresh_rate
66 intel_drrs_set_refresh_rate_pipeconf(struct intel_crtc *crtc, enum drrs_refresh_rate refresh_rate) argument
83 intel_drrs_set_refresh_rate_m_n(struct intel_crtc *crtc, enum drrs_refresh_rate refresh_rate) argument
96 intel_drrs_set_state(struct intel_crtc *crtc, enum drrs_refresh_rate refresh_rate) argument
[all...]
H A Dintel_display_types.h1475 enum drrs_refresh_rate refresh_rate; member in struct:intel_crtc::__anon56
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn32/
H A Ddcn32_resource_helpers.c517 int refresh_rate = 0; local
533 refresh_rate = ((timing->pix_clk_100hz * 100) / (h_v_total)) + 1;
534 return refresh_rate;
548 int refresh_rate = 0; local
590 refresh_rate = get_refresh_rate(fpo_candidate_stream);
591 if (refresh_rate < minimum_refreshrate_supported)
644 uint64_t refresh_rate = 0; local
654 refresh_rate = (pipe->stream->timing.pix_clk_100hz * (uint64_t)100 +
656 refresh_rate = div_u64(refresh_rate, pip
702 uint64_t refresh_rate = 0; local
[all...]
/openbsd-current/sys/dev/pci/drm/radeon/
H A Drs780_dpm.h49 int refresh_rate; member in struct:igp_power_info
H A Drs780_dpm.c59 pi->refresh_rate = 60;
67 pi->refresh_rate = drm_mode_vrefresh(&crtc->mode);
366 WREG32(FVTHROT_TARGET_REG, 30000000 / pi->refresh_rate);
367 WREG32(FVTHROT_CB1, 1000000 * 5 / pi->refresh_rate);
368 WREG32(FVTHROT_CB2, 1000000 * 10 / pi->refresh_rate);
369 WREG32(FVTHROT_CB3, 1000000 * 30 / pi->refresh_rate);
370 WREG32(FVTHROT_CB4, 1000000 * 50 / pi->refresh_rate);
H A Dci_dpm.c1954 u32 refresh_rate = r600_dpm_get_vrefresh(rdev); local
1964 if (refresh_rate == 0)
1965 refresh_rate = 60;
1968 frame_time_in_us = 1000000 / refresh_rate;
/openbsd-current/sys/dev/pci/drm/amd/display/include/
H A Daudio_types.h43 uint32_t refresh_rate; member in struct:audio_crtc_info
/openbsd-current/sys/dev/pci/drm/amd/display/dc/core/
H A Ddc_stream.c310 uint32_t refresh_rate; local
313 refresh_rate = (stream->timing.pix_clk_100hz * (uint64_t)100 +
315 refresh_rate = div_u64(refresh_rate, stream->timing.v_total);
316 refresh_rate = div_u64(refresh_rate, stream->timing.h_total);
324 if ((refresh_rate >= 120 && refresh_rate <= 175 &&
H A Damdgpu_dc.c436 * @refresh_rate: [in] new refresh_rate
445 uint32_t *refresh_rate)
459 pipe->stream_res.tg->funcs->get_last_used_drr_vtotal(pipe->stream_res.tg, refresh_rate);
443 dc_stream_get_last_used_drr_vtotal(struct dc *dc, struct dc_stream_state *stream, uint32_t *refresh_rate) argument
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dsc/
H A Ddc_dsc.c1115 struct fixed31_32 refresh_rate; local
1121 refresh_rate = dc_fixpt_from_int(timing->pix_clk_100hz);
1122 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->h_total);
1123 refresh_rate = dc_fixpt_div_int(refresh_rate, timing->v_total);
1124 refresh_rate = dc_fixpt_mul_int(refresh_rate, 100);
1130 max_dsc_overhead = dc_fixpt_mul(max_dsc_overhead, refresh_rate);
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn20/
H A Ddcn20_optc.h85 uint32_t *refresh_rate);
H A Ddcn20_optc.c507 void optc2_get_last_used_drr_vtotal(struct timing_generator *optc, uint32_t *refresh_rate) argument
511 REG_GET(OTG_DRR_CONTROL, OTG_V_TOTAL_LAST_USED_BY_DRR, refresh_rate);
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c683 unsigned int refresh_rate = 0; local
689 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 +
703 (refresh_rate < 120 || dcn32_allow_subvp_high_refresh_rate(dc, context, pipe)) &&
1046 uint64_t refresh_rate = 0; local
1056 refresh_rate = (pipe->stream->timing.pix_clk_100hz * (uint64_t)100 +
1058 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.v_total);
1059 refresh_rate = div_u64(refresh_rate, pipe->stream->timing.h_total);
1061 if ((uint32_t)refresh_rate < min_refres
2950 uint32_t refresh_rate = 0; local
2993 uint32_t refresh_rate = 0; local
[all...]
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dce/
H A Ddce_mem_input.c680 uint32_t refresh_rate; local
700 refresh_rate = pixels_per_second / pixels_per_frame;
702 if (!refresh_rate) {
704 ASSERT(refresh_rate);
708 frame_time = us_in_sec / refresh_rate;
H A Ddce_audio.c182 samples *= crtc_info->refresh_rate;
/openbsd-current/sys/dev/pci/drm/amd/display/dc/inc/hw/
H A Dtiming_generator.h240 void (*get_last_used_drr_vtotal)(struct timing_generator *optc, uint32_t *refresh_rate);
/openbsd-current/sys/dev/pci/drm/amd/display/dc/
H A Ddc_stream.h548 uint32_t *refresh_rate);
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/
H A Ddisplay_mode_structs.h534 unsigned int refresh_rate; member in struct:_vcs_dpi_display_pipe_dest_params_st
H A Ddisplay_mode_vba.c570 mode_lib->vba.RefreshRate[mode_lib->vba.NumberOfActivePlanes] = dst->refresh_rate; //todo remove this
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn30/
H A Ddcn30_resource.c1884 int refresh_rate = 0; local
1900 refresh_rate = ((timing->pix_clk_100hz * 100) / (h_v_total)) + 1;
1901 return refresh_rate;
1962 int refresh_rate = 0; local
1984 refresh_rate = get_refresh_rate(context);
1985 if (refresh_rate < minimum_refreshrate_supported)
/openbsd-current/sys/dev/pci/drm/amd/pm/powerplay/hwmgr/
H A Dsmu7_hwmgr.c4580 uint32_t ref_clock, refresh_rate; local
4586 refresh_rate = hwmgr->display_config->vrefresh;
4588 if (0 == refresh_rate)
4589 refresh_rate = 60;
4591 frame_time_in_us = 1000000 / refresh_rate;
/openbsd-current/sys/dev/pci/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c5683 int refresh_rate = 0; local
5685 refresh_rate = (stream_set[j]->timing.pix_clk_100hz*100)/
5687 if (refresh_rate > highest_rfr) {
5688 highest_rfr = refresh_rate;
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dce110/
H A Ddce110_hw_sequencer.c1325 audio_output->crtc_info.refresh_rate =

Completed in 486 milliseconds