/openbsd-current/sys/dev/pci/drm/i915/display/ |
H A D | intel_drrs.c | 67 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 D | intel_display_types.h | 1475 enum drrs_refresh_rate refresh_rate; member in struct:intel_crtc::__anon56
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dcn32/ |
H A D | dcn32_resource_helpers.c | 517 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 D | rs780_dpm.h | 49 int refresh_rate; member in struct:igp_power_info
|
H A D | rs780_dpm.c | 59 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 D | ci_dpm.c | 1954 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 D | audio_types.h | 43 uint32_t refresh_rate; member in struct:audio_crtc_info
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/core/ |
H A D | dc_stream.c | 310 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 D | amdgpu_dc.c | 436 * @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 D | dc_dsc.c | 1115 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 D | dcn20_optc.h | 85 uint32_t *refresh_rate);
|
H A D | dcn20_optc.c | 507 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 D | dcn32_fpu.c | 683 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 D | dce_mem_input.c | 680 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 D | dce_audio.c | 182 samples *= crtc_info->refresh_rate;
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/inc/hw/ |
H A D | timing_generator.h | 240 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 D | dc_stream.h | 548 uint32_t *refresh_rate);
|
/openbsd-current/sys/dev/pci/drm/amd/display/dc/dml/ |
H A D | display_mode_structs.h | 534 unsigned int refresh_rate; member in struct:_vcs_dpi_display_pipe_dest_params_st
|
H A D | display_mode_vba.c | 570 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 D | dcn30_resource.c | 1884 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 D | smu7_hwmgr.c | 4580 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 D | amdgpu_dm.c | 5683 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 D | dce110_hw_sequencer.c | 1325 audio_output->crtc_info.refresh_rate =
|