/linux/drivers/gpu/drm/amd/display/dc/dce80/ |
A 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/drivers/gpu/drm/amd/display/dc/dce60/ |
A 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()
|
A D | dce60_hw_sequencer.c | 406 pipe_ctx->stream->timing.pix_clk_100hz / 10, in dce60_apply_ctx_for_surface()
|
/linux/drivers/gpu/drm/amd/display/dc/dsc/ |
A D | dc_dsc.c | 356 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_bandwidth_range() 484 bpp_x16 = dc_fixpt_div_int(bpp_x16, timing->pix_clk_100hz); in compute_bpp_x16_from_target_bandwidth() 807 …if (branch_max_throughput_mps && dsc_div_by_10_round_up(timing->pix_clk_100hz) > branch_max_throug… in setup_dsc_config() 852 int pix_clk_per_slice_khz = dsc_div_by_10_round_up(timing->pix_clk_100hz) / min_slices_h; in setup_dsc_config() 958 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_config() 977 actual_bandwidth_in_kbps = dc_fixpt_from_fraction(timing->pix_clk_100hz, 10); in dc_dsc_stream_bandwidth_in_kbps() 995 refresh_rate = dc_fixpt_from_int(timing->pix_clk_100hz); in dc_dsc_stream_bandwidth_overhead_in_kbps()
|
/linux/drivers/gpu/drm/amd/display/modules/freesync/ |
A D | freesync.c | 116 stream->timing.pix_clk_100hz)); in calc_duration_in_us_from_v_total() 133 frame_duration_in_ns) * (stream->timing.pix_clk_100hz / 10)), in mod_freesync_calc_v_total_from_refresh() 163 * stream->timing.pix_clk_100hz + (h_total_up_scaled - 1), in calc_v_total_from_duration() 167 duration_in_us) * (stream->timing.pix_clk_100hz / 10)), in calc_v_total_from_duration() 243 current_duration_in_us) * (stream->timing.pix_clk_100hz / 10)), in update_v_total_for_static_ramp() 967 stream->timing.pix_clk_100hz, in mod_freesync_build_vrr_infopacket() 1280 nominal_field_rate_in_uhz = stream->timing.pix_clk_100hz; in mod_freesync_calc_nominal_field_rate()
|
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/ |
A 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/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_psr.c | 116 stream->timing.pix_clk_100hz * 100), in amdgpu_dm_psr_enable()
|
/linux/drivers/gpu/drm/amd/display/dc/dce/ |
A D | dce_clk_mgr.c | 537 cfg->v_refresh = stream->timing.pix_clk_100hz * 100; in dce110_fill_display_configs() 561 * 10000 / stream->timing.pix_clk_100hz; in dce110_get_min_vblank_time_us() 663 pp_display_cfg->line_time_in_us = timing->h_total * 10000 / timing->pix_clk_100hz; in dce11_pplib_apply_display_requirements()
|
A D | dce_stream_encoder.c | 679 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in dce110_stream_encoder_dvi_set_stream_attribute() 703 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in dce110_stream_encoder_lvds_set_stream_attribute() 987 m_vid_l *= param->timing.pix_clk_100hz / 10; in dce110_stream_encoder_dp_unblank()
|
A D | dce_link_encoder.c | 741 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output() 743 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output() 746 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dce110_link_encoder_validate_dvi_output()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
A D | dcn10_link_encoder.c | 593 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output() 595 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output() 598 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dcn10_link_encoder_validate_dvi_output()
|
A D | dcn10_hw_sequencer.c | 1896 stream->timing.h_total * 10000u / stream->timing.pix_clk_100hz; in delay_cursor_until_vupdate() 2027 pipe->stream->timing.pix_clk_100hz * 100 / in is_low_refresh_rate() 2091 hw_crtc_timing[i].pix_clk_100hz = pclk; in dcn10_align_pixel_clocks() 2129 grouped_pipes[i]->stream->timing.pix_clk_100hz = in dcn10_align_pixel_clocks() 2178 grouped_pipes[master]->stream->timing.pix_clk_100hz, in dcn10_enable_vblanks_synchronization() 2179 grouped_pipes[i]->stream->timing.pix_clk_100hz, in dcn10_enable_vblanks_synchronization() 3299 .pixel_clk_khz = pipe_ctx->stream->timing.pix_clk_100hz / 10, in dcn10_set_cursor_position() 3691 params.timing.pix_clk_100hz /= 2; in dcn10_unblank_stream()
|
A D | dcn10_stream_encoder.c | 624 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc1_stream_encoder_dvi_set_stream_attribute() 982 m_vid_l *= param->timing.pix_clk_100hz / 10; in enc1_stream_encoder_dp_unblank()
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
A D | dc_stream.c | 51 (stream->timing.pix_clk_100hz / 10) > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal() 732 stream->timing.pix_clk_100hz / 10, in dc_stream_log()
|
A D | dc_resource.c | 487 if (stream1->timing.pix_clk_100hz*100/stream1->timing.h_total/ in resource_are_vblanks_synchronizable() 490 if (stream2->timing.pix_clk_100hz*100/stream2->timing.h_total/ in resource_are_vblanks_synchronizable() 496 stream2->timing.pix_clk_100hz; in resource_are_vblanks_synchronizable() 497 frame_time_diff = div_u64(frame_time_diff, stream1->timing.pix_clk_100hz); in resource_are_vblanks_synchronizable() 534 if (stream1->timing.pix_clk_100hz in resource_are_streams_timing_synchronizable() 535 != stream2->timing.pix_clk_100hz) in resource_are_streams_timing_synchronizable() 1965 uint32_t pix_clk = timing->pix_clk_100hz; in get_norm_pix_clk() 2001 stream->timing.pix_clk_100hz / 10; in calculate_phy_pix_clks()
|
A D | dc.c | 1152 unsigned int pix_clk_100hz; in disable_vbios_mode_if_required() local 1166 tg_inst, &pix_clk_100hz); in disable_vbios_mode_if_required() 1172 if (pix_clk_100hz != requested_pix_clk_100hz) { in disable_vbios_mode_if_required() 1566 unsigned int pix_clk_100hz; in dc_validate_seamless_boot_timing() local 1570 tg_inst, &pix_clk_100hz); in dc_validate_seamless_boot_timing() 1572 if (crtc_timing->pix_clk_100hz != pix_clk_100hz) in dc_validate_seamless_boot_timing() 1781 context->streams[i]->timing.pix_clk_100hz / 10); in dc_commit_state_no_check()
|
A D | dc_link.c | 2516 stream->phy_pix_clk = stream->timing.pix_clk_100hz / 10; in enable_link_hdmi() 2570 stream->phy_pix_clk = stream->timing.pix_clk_100hz / 10; in enable_link_lvds() 2638 uint32_t pxl_clk = timing->pix_clk_100hz; in get_timing_pixel_clock_100hz() 2728 if (dongle_caps->dfp_cap_ext.max_pixel_rate_in_mps < (timing->pix_clk_100hz / 10000)) in dp_active_dongle_validate_timing() 3125 timing.pix_clk_100hz * 100), in dc_link_setup_psr() 4813 kbps = timing->pix_clk_100hz / 10;
|
/linux/drivers/gpu/drm/amd/display/dc/dce110/ |
A D | dce110_resource.c | 892 pixel_clk_params->requested_pix_clk_100hz = stream->timing.pix_clk_100hz; in get_pixel_clock_parameters() 988 context->streams[0]->timing.pix_clk_100hz / 10); in dce110_validate_bandwidth() 1175 stream->timing.pix_clk_100hz / 10, in dce110_acquire_underlay()
|
A D | dce110_hw_sequencer.c | 1371 (stream->timing.pix_clk_100hz*100)/ 1386 (stream->timing.pix_clk_100hz)) { 1892 stream->timing.pix_clk_100hz + 2879 pipe_ctx->stream->timing.pix_clk_100hz / 10, 2953 .pixel_clk_khz = pipe_ctx->stream->timing.pix_clk_100hz / 10,
|
/linux/drivers/gpu/drm/amd/display/dc/ |
A D | dc_hw_types.h | 761 uint32_t pix_clk_100hz; member
|
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
A D | dcn20_stream_encoder.c | 474 m_vid_l *= param->timing.pix_clk_100hz / 10; in enc2_stream_encoder_dp_unblank()
|
A D | dcn20_hwseq.c | 2148 params.timing.pix_clk_100hz /= 2; in dcn20_unblank_stream() 2607 if (max_input_rate_in_100hz < timing->pix_clk_100hz) in dcn20_optimize_timing_for_fsft() 2613 timing->fast_transport_output_rate_100hz = timing->pix_clk_100hz; in dcn20_optimize_timing_for_fsft() 2614 timing->pix_clk_100hz = max_input_rate_in_100hz; in dcn20_optimize_timing_for_fsft() 2616 …_total = div_u64((unsigned long long)old_v_total * max_input_rate_in_100hz, timing->pix_clk_100hz); in dcn20_optimize_timing_for_fsft()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn31/ |
A D | dcn31_hpo_dp_stream_encoder.c | 363 v_freq = hw_crtc_timing.pix_clk_100hz * 100; in dcn31_hpo_dp_stream_enc_set_stream_attribute()
|
/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
A D | dcn30_dio_stream_encoder.c | 507 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc3_stream_encoder_dvi_set_stream_attribute()
|
/linux/drivers/gpu/drm/amd/display/dc/calcs/ |
A D | dcn_calcs.c | 444 input->dest.pixel_rate_mhz = pipe->stream->timing.pix_clk_100hz/10000.0; in pipe_ctx_to_e2e_pipe_params() 739 hack_force_pipe_split(v, context->streams[0]->timing.pix_clk_100hz); in hack_bounding_box() 931 v->pixel_clock[input_idx] = pipe->stream->timing.pix_clk_100hz/10000.0; in dcn_validate_bandwidth()
|