Home
last modified time | relevance | path

Searched refs:pix_clk_100hz (Results 1 – 25 of 50) sorted by relevance

12

/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c364 config_data->pipe_data[k].pix_clk_100hz = pipe->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()
489 …max_vtotal_supported = div64_u64(((uint64_t)drr_timing->pix_clk_100hz * 100 * max_drr_supported_us… in populate_subvp_cmd_drr_info()
545 pipe_data->pipe_config.vblank_data.pix_clk_100hz = vblank_pipe->stream->timing.pix_clk_100hz; in populate_subvp_cmd_vblank_pipe_info()
587 …(((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 …]
/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_timing_generator.c87 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()
/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_timing_generator.c87 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()
/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c68 bpp = dc_fixpt_div_int(bpp, timing->pix_clk_100hz / 10); in apply_128b_132b_stream_overhead()
125 kbps = timing->pix_clk_100hz / 10; in dc_bandwidth_in_kbps_from_timing()
457 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_bandwidth_range()
586 bpp_x16 = dc_fixpt_div_int(bpp_x16, timing->pix_clk_100hz); in compute_bpp_x16_from_target_bandwidth()
916 …if (branch_max_throughput_mps && dsc_div_by_10_round_up(timing->pix_clk_100hz) > branch_max_throug… in setup_dsc_config()
961 int pix_clk_per_slice_khz = dsc_div_by_10_round_up(timing->pix_clk_100hz) / min_slices_h; in setup_dsc_config()
1085 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_config()
1103 actual_bandwidth_in_kbps = dc_fixpt_from_fraction(timing->pix_clk_100hz, 10); in dc_dsc_stream_bandwidth_in_kbps()
1121 refresh_rate = dc_fixpt_from_int(timing->pix_clk_100hz); in dc_dsc_stream_bandwidth_overhead_in_kbps()
/drivers/gpu/drm/amd/display/dc/link/
Dlink_validation.c41 uint32_t pxl_clk = timing->pix_clk_100hz; in get_tmds_output_pixel_clock_100hz()
146 if (dongle_caps->dfp_cap_ext.max_pixel_rate_in_mps < (timing->pix_clk_100hz / 10000)) in dp_active_dongle_validate_timing()
276 if ((timing->pix_clk_100hz / 10) == (uint32_t) 25175 && in dp_validate_mode_timing()
/drivers/gpu/drm/amd/display/dc/clk_mgr/dce110/
Ddce110_clk_mgr.c110 * 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()
/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_resource_helpers.c485 sec_per_100_lines = timing->pix_clk_100hz / timing->h_total + 1; in get_frame_rate_at_max_stretch_100hz()
491 scaled_refresh_rate = (timing->pix_clk_100hz) / scaled_stretched_frame_pix_cnt + 1; in get_frame_rate_at_max_stretch_100hz()
533 refresh_rate = ((timing->pix_clk_100hz * 100) / (h_v_total)) + 1; in get_refresh_rate()
654 refresh_rate = (pipe->stream->timing.pix_clk_100hz * (uint64_t)100 + in dcn32_subvp_drr_admissable()
712 refresh_rate = (pipe->stream->timing.pix_clk_100hz * (uint64_t)100 + in dcn32_subvp_vblank_admissable()
Ddcn32_dio_stream_encoder.c78 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()
/drivers/gpu/drm/amd/display/modules/freesync/
Dfreesync.c118 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()
1007 min_hardware_refresh_in_uhz = div64_u64((stream->timing.pix_clk_100hz * 100000000ULL), in mod_freesync_build_vrr_params()
1299 nominal_field_rate_in_uhz = stream->timing.pix_clk_100hz; in mod_freesync_calc_nominal_field_rate()
/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c49 (stream->timing.pix_clk_100hz / 10) > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal()
313 refresh_rate = (stream->timing.pix_clk_100hz * (uint64_t)100 + in is_subvp_high_refresh_candidate()
370 ((stream->timing.pix_clk_100hz * 100) / stream->timing.v_total / stream->timing.h_total) < 120) in dc_stream_set_cursor_attributes()
373 ((stream->timing.pix_clk_100hz * 100) / stream->timing.v_total / stream->timing.h_total) < 120) in dc_stream_set_cursor_attributes()
762 stream->timing.pix_clk_100hz / 10, in dc_stream_log()
Ddc_resource.c532 if (stream1->timing.pix_clk_100hz*100/stream1->timing.h_total/ in resource_are_vblanks_synchronizable()
535 if (stream2->timing.pix_clk_100hz*100/stream2->timing.h_total/ in resource_are_vblanks_synchronizable()
541 stream2->timing.pix_clk_100hz; in resource_are_vblanks_synchronizable()
542 frame_time_diff = div_u64(frame_time_diff, stream1->timing.pix_clk_100hz); in resource_are_vblanks_synchronizable()
579 if (stream1->timing.pix_clk_100hz in resource_are_streams_timing_synchronizable()
580 != stream2->timing.pix_clk_100hz) in resource_are_streams_timing_synchronizable()
2551 uint32_t pix_clk = timing->pix_clk_100hz; in get_norm_pix_clk()
2587 stream->timing.pix_clk_100hz / 10; in calculate_phy_pix_clks()
/drivers/gpu/drm/amd/display/dc/dml/dcn32/
Ddcn32_fpu.c573 (ref_pipe->stream->timing.pix_clk_100hz * 100) / in dcn32_set_phantom_stream_timing()
689 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 + in dcn32_assign_subvp_pipe()
700 !(pipe->stream->timing.pix_clk_100hz / 10000 > DCN3_2_MAX_SUBVP_PIXEL_RATE_MHZ) && in dcn32_assign_subvp_pipe()
717 (double)(stream->timing.pix_clk_100hz * 100)) * 1000000; in dcn32_assign_subvp_pipe()
820 (double)(phantom->timing.pix_clk_100hz * 100) * 1000000 + in subvp_subvp_schedulable()
835 (double)(subvp_pipes[0]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
837 (double)(subvp_pipes[1]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
840 (double)(subvp_pipes[0]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
843 (double)(subvp_pipes[1]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
916 (double)(phantom_timing->pix_clk_100hz * 100) * 1000000 + in subvp_drr_schedulable()
[all …]
/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddcn31_fpu.h52 int pix_clk_100hz, int bpp, int seg_size_kb);
/drivers/gpu/drm/amd/display/dc/dcn314/
Ddcn314_dio_stream_encoder.c111 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc314_stream_encoder_dvi_set_stream_attribute()
312 m_vid_l *= param->timing.pix_clk_100hz / 10; in enc314_stream_encoder_dp_unblank()
/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_psr.c159 stream->timing.pix_clk_100hz * 100), in amdgpu_dm_psr_enable()
/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c539 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()
Ddce_stream_encoder.c663 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()
Ddce_link_encoder.c737 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output()
739 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output()
742 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dce110_link_encoder_validate_dvi_output()
/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_link_encoder.c589 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output()
591 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dcn10_link_encoder_validate_dvi_output()
594 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dcn10_link_encoder_validate_dvi_output()
/drivers/gpu/drm/amd/display/dc/link/hwss/
Dlink_hwss_hpo_dp.c60 dc_fixpt_from_fraction(timing->pix_clk_100hz, 10)); in set_hpo_dp_hblank_min_symbol_width()
/drivers/gpu/drm/amd/display/dc/dce110/
Ddce110_resource.c892 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()
1177 stream->timing.pix_clk_100hz / 10, in dce110_acquire_underlay()
Ddce110_hw_sequencer.c1326 (stream->timing.pix_clk_100hz*100)/ in build_audio_output()
1341 (stream->timing.pix_clk_100hz)) { in build_audio_output()
1829 stream->timing.pix_clk_100hz + in compute_pstate_blackout_duration()
2824 pipe_ctx->stream->timing.pix_clk_100hz / 10, in dce110_apply_ctx_for_surface()
2898 .pixel_clk_khz = pipe_ctx->stream->timing.pix_clk_100hz / 10, in dce110_set_cursor_position()
3079 pipes[i].stream->timing.pix_clk_100hz; in dce110_enable_dp_link_output()
/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h1280 uint32_t pix_clk_100hz; member
1305 uint32_t pix_clk_100hz; member
3690 uint32_t pix_clk_100hz; member
/drivers/gpu/drm/amd/display/dc/dcn315/
Ddcn315_resource.c1697 &context->bw_ctx.dml.soc, timing->pix_clk_100hz, bpp, DCN3_15_CRB_SEGMENT_SIZE_KB); in dcn315_populate_dml_pipes_from_context()
1701 …split_required = split_required || timing->pix_clk_100hz >= dcn_get_max_non_odm_pix_rate_100hz(&dc… in dcn315_populate_dml_pipes_from_context()
1751 …bool split_required = pipe->stream->timing.pix_clk_100hz >= dcn_get_max_non_odm_pix_rate_100hz(&dc… in dcn315_populate_dml_pipes_from_context()
1791 && pipe->stream->timing.pix_clk_100hz < dcn_get_max_non_odm_pix_rate_100hz(&dc->dml.soc)) { in dcn315_populate_dml_pipes_from_context()
/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_edp_panel_control.c755 timing.pix_clk_100hz * 100), in edp_setup_psr()
969 (stream->timing.pix_clk_100hz / 10)) + 1; in edp_setup_replay()

12