/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_dmub_srv.c | 345 config_data->pipe_data[tg_inst].pix_clk_100hz = stream->timing.pix_clk_100hz; in dc_dmub_srv_p_state_delegate() 471 (((uint64_t)drr_timing->pix_clk_100hz * 100))); in populate_subvp_cmd_drr_info() 474 (((uint64_t)phantom_timing->pix_clk_100hz * 100))); in populate_subvp_cmd_drr_info() 476 …min_vtotal_supported = div64_u64(((uint64_t)drr_timing->pix_clk_100hz * 100 * min_drr_supported_us… in populate_subvp_cmd_drr_info() 480 … (((uint64_t)phantom_timing->pix_clk_100hz * 100) + dc->caps.subvp_prefetch_end_to_mall_start_us)); in populate_subvp_cmd_drr_info() 482 (((uint64_t)main_timing->pix_clk_100hz * 100))); in populate_subvp_cmd_drr_info() 484 (((uint64_t)drr_timing->pix_clk_100hz * 100))); in populate_subvp_cmd_drr_info() 488 …max_vtotal_supported = div64_u64(((uint64_t)drr_timing->pix_clk_100hz * 100 * max_drr_supported_us… in populate_subvp_cmd_drr_info() 539 pipe_data->pipe_config.vblank_data.pix_clk_100hz = vblank_pipe->stream->timing.pix_clk_100hz; in populate_subvp_cmd_vblank_pipe_info() 585 …(((uint64_t)phantom_timing0->pix_clk_100hz * 100) + dc->caps.subvp_prefetch_end_to_mall_start_us)); in update_subvp_prefetch_end_to_mall_start() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_timing_generator.c | 87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur() argument 94 if (pix_clk_100hz == 0) in program_pix_dur() 97 pix_dur = div_u64(10000000000ull, pix_clk_100hz); in program_pix_dur() 118 program_pix_dur(tg, timing->pix_clk_100hz); in program_timing()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_timing_generator.c | 87 static void program_pix_dur(struct timing_generator *tg, uint32_t pix_clk_100hz) in program_pix_dur() argument 94 if (pix_clk_100hz == 0) in program_pix_dur() 97 pix_dur = div_u64(10000000000ull, pix_clk_100hz); in program_pix_dur() 118 program_pix_dur(tg, timing->pix_clk_100hz); in program_timing()
|
D | dce60_hw_sequencer.c | 406 pipe_ctx->stream->timing.pix_clk_100hz / 10, in dce60_apply_ctx_for_surface()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/inc/ |
D | dmub_subvp_state.h | 112 uint32_t pix_clk_100hz; member 146 uint32_t pix_clk_100hz; member
|
D | dmub_cmd.h | 988 uint32_t pix_clk_100hz; member 1013 uint32_t pix_clk_100hz; member 2953 uint32_t pix_clk_100hz; member
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dsc/ |
D | dc_dsc.c | 356 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_bandwidth_range() 485 bpp_x16 = dc_fixpt_div_int(bpp_x16, timing->pix_clk_100hz); in compute_bpp_x16_from_target_bandwidth() 815 …if (branch_max_throughput_mps && dsc_div_by_10_round_up(timing->pix_clk_100hz) > branch_max_throug… in setup_dsc_config() 860 int pix_clk_per_slice_khz = dsc_div_by_10_round_up(timing->pix_clk_100hz) / min_slices_h; in setup_dsc_config() 970 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_config() 989 actual_bandwidth_in_kbps = dc_fixpt_from_fraction(timing->pix_clk_100hz, 10); in dc_dsc_stream_bandwidth_in_kbps() 1007 refresh_rate = dc_fixpt_from_int(timing->pix_clk_100hz); in dc_dsc_stream_bandwidth_overhead_in_kbps()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
D | dce110_clk_mgr.c | 110 * 10000 / stream->timing.pix_clk_100hz; in dce110_get_min_vblank_time_us() 163 cfg->v_refresh = stream->timing.pix_clk_100hz * 100; in dce110_fill_display_configs() 242 pp_display_cfg->line_time_in_us = timing->h_total * 10000 / timing->pix_clk_100hz; in dce11_pplib_apply_display_requirements()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/modules/freesync/ |
D | freesync.c | 118 stream->timing.pix_clk_100hz)); in calc_duration_in_us_from_v_total() 135 frame_duration_in_ns) * (stream->timing.pix_clk_100hz / 10)), in mod_freesync_calc_v_total_from_refresh() 165 * stream->timing.pix_clk_100hz + (h_total_up_scaled - 1), in calc_v_total_from_duration() 169 duration_in_us) * (stream->timing.pix_clk_100hz / 10)), in calc_v_total_from_duration() 245 current_duration_in_us) * (stream->timing.pix_clk_100hz / 10)), in update_v_total_for_static_ramp() 995 stream->timing.pix_clk_100hz, in mod_freesync_build_vrr_infopacket() 1343 nominal_field_rate_in_uhz = stream->timing.pix_clk_100hz; in mod_freesync_calc_nominal_field_rate()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
D | dcn32_fpu.c | 558 (ref_pipe->stream->timing.pix_clk_100hz * 100) / in dcn32_set_phantom_stream_timing() 667 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 + in dcn32_assign_subvp_pipe() 689 (double)(stream->timing.pix_clk_100hz * 100)) * 1000000; in dcn32_assign_subvp_pipe() 801 (double)(phantom->timing.pix_clk_100hz * 100) * 1000000 + in subvp_subvp_schedulable() 816 (double)(subvp_pipes[0]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable() 818 (double)(subvp_pipes[1]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable() 821 (double)(subvp_pipes[0]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable() 824 (double)(subvp_pipes[1]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable() 882 (double)(phantom_timing->pix_clk_100hz * 100) * 1000000 + in subvp_drr_schedulable() 885 (double)(main_timing->pix_clk_100hz * 100) * 1000000; in subvp_drr_schedulable() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_dio_stream_encoder.c | 78 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc32_stream_encoder_dvi_set_stream_attribute() 303 m_vid_l *= param->timing.pix_clk_100hz / 10; in enc32_stream_encoder_dp_unblank()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/link/ |
D | link_hwss_hpo_dp.c | 78 dc_fixpt_from_fraction(timing->pix_clk_100hz, 10)); in set_hpo_dp_hblank_min_symbol_width() 114 dto_params.pixclk_khz = pipe_ctx->stream->timing.pix_clk_100hz / 10; in setup_hpo_dp_stream_encoder()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_dio_stream_encoder.c | 111 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc314_stream_encoder_dvi_set_stream_attribute() 309 m_vid_l *= param->timing.pix_clk_100hz / 10; in enc314_stream_encoder_dp_unblank()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/amdgpu_dm/ |
D | amdgpu_dm_psr.c | 155 stream->timing.pix_clk_100hz * 100), in amdgpu_dm_psr_enable()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_clk_mgr.c | 539 cfg->v_refresh = stream->timing.pix_clk_100hz * 100; in dce110_fill_display_configs() 563 * 10000 / stream->timing.pix_clk_100hz; in dce110_get_min_vblank_time_us() 665 pp_display_cfg->line_time_in_us = timing->h_total * 10000 / timing->pix_clk_100hz; in dce11_pplib_apply_display_requirements()
|
D | dce_stream_encoder.c | 663 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in dce110_stream_encoder_dvi_set_stream_attribute() 687 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in dce110_stream_encoder_lvds_set_stream_attribute() 967 m_vid_l *= param->timing.pix_clk_100hz / 10; in dce110_stream_encoder_dp_unblank()
|
D | dce_link_encoder.c | 738 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output() 740 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output() 743 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dce110_link_encoder_validate_dvi_output()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_link_encoder.c | 590 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output() 592 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output() 595 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dcn10_link_encoder_validate_dvi_output()
|
D | dcn10_hw_sequencer.c | 1957 stream->timing.h_total * 10000u / stream->timing.pix_clk_100hz; in delay_cursor_until_vupdate() 2087 pipe->stream->timing.pix_clk_100hz * 100 / in is_low_refresh_rate() 2151 hw_crtc_timing[i].pix_clk_100hz = pclk; in dcn10_align_pixel_clocks() 2189 grouped_pipes[i]->stream->timing.pix_clk_100hz = in dcn10_align_pixel_clocks() 2240 grouped_pipes[master]->stream->timing.pix_clk_100hz, in dcn10_enable_vblanks_synchronization() 2241 grouped_pipes[i]->stream->timing.pix_clk_100hz, in dcn10_enable_vblanks_synchronization() 3407 .pixel_clk_khz = pipe_ctx->stream->timing.pix_clk_100hz / 10, in dcn10_set_cursor_position() 3807 params.timing.pix_clk_100hz /= 2; in dcn10_unblank_stream()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_stream.c | 49 (stream->timing.pix_clk_100hz / 10) > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal() 747 stream->timing.pix_clk_100hz / 10, in dc_stream_log()
|
D | dc_resource.c | 518 if (stream1->timing.pix_clk_100hz*100/stream1->timing.h_total/ in resource_are_vblanks_synchronizable() 521 if (stream2->timing.pix_clk_100hz*100/stream2->timing.h_total/ in resource_are_vblanks_synchronizable() 527 stream2->timing.pix_clk_100hz; in resource_are_vblanks_synchronizable() 528 frame_time_diff = div_u64(frame_time_diff, stream1->timing.pix_clk_100hz); in resource_are_vblanks_synchronizable() 565 if (stream1->timing.pix_clk_100hz in resource_are_streams_timing_synchronizable() 566 != stream2->timing.pix_clk_100hz) in resource_are_streams_timing_synchronizable() 2286 uint32_t pix_clk = timing->pix_clk_100hz; in get_norm_pix_clk() 2322 stream->timing.pix_clk_100hz / 10; in calculate_phy_pix_clks()
|
D | dc.c | 1177 unsigned int pix_clk_100hz; in disable_vbios_mode_if_required() local 1191 tg_inst, &pix_clk_100hz); in disable_vbios_mode_if_required() 1197 if (pix_clk_100hz != requested_pix_clk_100hz) { in disable_vbios_mode_if_required() 1612 unsigned int pix_clk_100hz; in dc_validate_boot_timing() local 1618 tg_inst, &pix_clk_100hz); in dc_validate_boot_timing() 1625 pix_clk_100hz *= 2; in dc_validate_boot_timing() 1627 pix_clk_100hz *= 4; in dc_validate_boot_timing() 1631 if (crtc_timing->pix_clk_100hz != pix_clk_100hz) in dc_validate_boot_timing() 1866 context->streams[i]->timing.pix_clk_100hz / 10); in dc_commit_state_no_check()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_resource.c | 891 pixel_clk_params->requested_pix_clk_100hz = stream->timing.pix_clk_100hz; in get_pixel_clock_parameters() 987 context->streams[0]->timing.pix_clk_100hz / 10); in dce110_validate_bandwidth() 1174 stream->timing.pix_clk_100hz / 10, in dce110_acquire_underlay()
|
D | dce110_hw_sequencer.c | 1329 (stream->timing.pix_clk_100hz*100)/ in build_audio_output() 1344 (stream->timing.pix_clk_100hz)) { in build_audio_output() 1835 stream->timing.pix_clk_100hz + in compute_pstate_blackout_duration() 2819 pipe_ctx->stream->timing.pix_clk_100hz / 10, in dce110_apply_ctx_for_surface() 2893 .pixel_clk_khz = pipe_ctx->stream->timing.pix_clk_100hz / 10, in dce110_set_cursor_position() 3072 pipes[i].stream->timing.pix_clk_100hz; in dce110_enable_dp_link_output()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | dcn314_fpu.c | 327 dcn3_14_ip.VBlankNomDefaultUS / (timing->h_total / (timing->pix_clk_100hz / 10000.0)); in dcn314_populate_dml_pipes_from_context_fpu()
|