Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/dc/dce60/
H A 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()
119 program_pix_dur(tg, timing->pix_clk_100hz); in program_timing()
/linux/drivers/gpu/drm/amd/display/dc/dsc/
H A Ddc_dsc.c74 bpp = dc_fixpt_div_int(bpp, timing->pix_clk_100hz / 10); in apply_128b_132b_stream_overhead()
131 kbps = timing->pix_clk_100hz / 10; in dc_bandwidth_in_kbps_from_timing()
479 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_bandwidth_range()
502 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_dump_encoder_caps()
661 dc_fixpt_div_int(dc_fixpt_from_int(dsc_div_by_10_round_up(timing->pix_clk_100hz)), in get_min_dsc_slice_count_for_odm()
782 bpp_x16 = dc_fixpt_div_int(bpp_x16, timing->pix_clk_100hz); in compute_bpp_x16_from_target_bandwidth()
1120 …if (branch_max_throughput_mps && dsc_div_by_10_round_up(timing->pix_clk_100hz) > branch_max_throug… in setup_dsc_config()
1167 int pix_clk_per_slice_khz = dsc_div_by_10_round_up(timing->pix_clk_100hz) / min_slices_h; in setup_dsc_config()
1303 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_config()
1328 actual_bandwidth_in_kbps = dc_fixpt_from_fraction(timing->pix_clk_100hz, 10); in dc_dsc_stream_bandwidth_in_kbps()
[all …]
/linux/drivers/gpu/drm/amd/display/modules/freesync/
H A Dfreesync.c121 stream->timing.pix_clk_100hz)); in calc_duration_in_us_from_v_total()
157 frame_duration_in_ns) * (stream->timing.pix_clk_100hz / 10)), in mod_freesync_calc_v_total_from_refresh()
165 frame_duration_in_ns) * (stream->timing.pix_clk_100hz / 10)), in mod_freesync_calc_v_total_from_refresh()
169 frame_duration_in_ns) * (stream->timing.pix_clk_100hz / 10)), in mod_freesync_calc_v_total_from_refresh()
200 * stream->timing.pix_clk_100hz + (h_total_up_scaled - 1), in calc_v_total_from_duration()
204 duration_in_us) * (stream->timing.pix_clk_100hz / 10)), in calc_v_total_from_duration()
287 current_duration_in_us) * (stream->timing.pix_clk_100hz / 10)), in update_v_total_for_static_ramp()
1012 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()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/
H A Ddcn31_fpu.h53 int pix_clk_100hz, int bpp, int seg_size_kb);
H A Ddcn31_fpu.c818 int pix_clk_100hz, int bpp, int seg_size_kb) in dcn_get_approx_det_segs_required_for_pstate() argument
825 return (int)(soc->dram_clock_change_latency_us * pix_clk_100hz * bpp in dcn_get_approx_det_segs_required_for_pstate()
/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/
H A Ddcn32_fpu.c502 (ref_pipe->stream->timing.pix_clk_100hz * 100) / in dcn32_set_phantom_stream_timing()
618 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 + in dcn32_assign_subvp_pipe()
631 !(pipe->stream->timing.pix_clk_100hz / 10000 > DCN3_2_MAX_SUBVP_PIXEL_RATE_MHZ) && in dcn32_assign_subvp_pipe()
648 (double)(stream->timing.pix_clk_100hz * 100)) * 1000000; in dcn32_assign_subvp_pipe()
751 (double)(phantom->timing.pix_clk_100hz * 100) * 1000000 + in subvp_subvp_schedulable()
766 (double)(subvp_pipes[0]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
768 (double)(subvp_pipes[1]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
771 (double)(subvp_pipes[0]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
774 (double)(subvp_pipes[1]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
856 (double)(phantom_timing->pix_clk_100hz * 100) * 1000000 + in subvp_drr_schedulable()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/
H A Ddml21_translation_helper.c95 uint32_t pix_clk_100hz; in populate_dml21_timing_config_from_stream_state() local
101 timing->pixel_clock_khz = stream->timing.pix_clk_100hz / 10; in populate_dml21_timing_config_from_stream_state()
133 pix_clk_100hz = pipe_ctx->dsc_padding_params.dsc_pix_clk_100hz; in populate_dml21_timing_config_from_stream_state()
135 pix_clk_100hz = stream->timing.pix_clk_100hz; in populate_dml21_timing_config_from_stream_state()
137 min_hardware_refresh_in_uhz = div64_u64((pix_clk_100hz * 100000000ULL), in populate_dml21_timing_config_from_stream_state()
/linux/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_link_encoder.c167 uint32_t pix_clk_100hz) in link_dac_encoder_control() argument
174 encoder_control.pixel_clock = pix_clk_100hz / 10; in link_dac_encoder_control()
786 crtc_timing->pix_clk_100hz > (TMDS_MAX_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output()
788 if (crtc_timing->pix_clk_100hz < (TMDS_MIN_PIXEL_CLOCK * 10)) in dce110_link_encoder_validate_dvi_output()
791 if (crtc_timing->pix_clk_100hz > (max_pixel_clock * 10)) in dce110_link_encoder_validate_dvi_output()
872 if (crtc_timing->pix_clk_100hz > max_pixel_clock_khz * 10) in dce110_link_encoder_validate_rgb_output()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_ism.c146 stream->timing.pix_clk_100hz); in dm_ism_get_sso_delay()
185 stream->timing.pix_clk_100hz); in dm_ism_get_idle_allow_delay()
H A Damdgpu_dm_psr.c164 stream->timing.pix_clk_100hz * (uint64_t)100), in amdgpu_dm_psr_enable()
H A Damdgpu_dm.c679 refresh_hz = div_u64((uint64_t) stream->timing.pix_clk_100hz * in dm_crtc_high_irq()
6692 } else if (dc_crtc_timing->pix_clk_100hz > 270300) { in get_output_color_space()
6737 normalized_clk = timing_out->pix_clk_100hz / 10; in adjust_colour_depth_from_display_info()
6855 timing_out->pix_clk_100hz = mode_in->clock * 10; in fill_stream_properties_from_drm_display_mode()
6865 timing_out->pix_clk_100hz = mode_in->crtc_clock * 10; in fill_stream_properties_from_drm_display_mode()
7008 refresh_rate = (stream_set[j]->timing.pix_clk_100hz*100)/ in set_master_stream()
9433 timing->pix_clk_100hz); in manage_dm_interrupts()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stream.c64 (stream->timing.pix_clk_100hz / 10) > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal()
920 stream->timing.pix_clk_100hz / 10, in dc_stream_log()
1144 …return (int)div64_s64((long long)stream->timing.pix_clk_100hz*100, stream->timing.v_total*(long lo… in dc_stream_calculate_flickerless_refresh_rate()
1193 …int current_refresh_hz = (int)div64_s64((long long)stream->timing.pix_clk_100hz*100, stream->timin… in dc_stream_get_max_flickerless_instant_vtotal_delta()
1201 …int safe_refresh_v_total = (int)div64_s64((long long)stream->timing.pix_clk_100hz*100, safe_refres… in dc_stream_get_max_flickerless_instant_vtotal_delta()
H A Ddc_resource.c625 if (stream1->timing.pix_clk_100hz*100/stream1->timing.h_total/ in resource_are_vblanks_synchronizable()
628 if (stream2->timing.pix_clk_100hz*100/stream2->timing.h_total/ in resource_are_vblanks_synchronizable()
634 stream2->timing.pix_clk_100hz; in resource_are_vblanks_synchronizable()
635 frame_time_diff = div_u64(frame_time_diff, stream1->timing.pix_clk_100hz); in resource_are_vblanks_synchronizable()
672 if (stream1->timing.pix_clk_100hz in resource_are_streams_timing_synchronizable()
673 != stream2->timing.pix_clk_100hz) in resource_are_streams_timing_synchronizable()
3697 uint32_t pix_clk = timing->pix_clk_100hz; in get_norm_pix_clk()
3736 stream->timing.pix_clk_100hz / 10; in calculate_phy_pix_clks()
4402 pipe_ctx->dsc_padding_params.dsc_pix_clk_100hz = stream->timing.pix_clk_100hz; in calculate_timing_params_for_dsc_with_padding()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c691 .pixel_clock = timing ? timing->pix_clk_100hz / 10 : 300000, in dce110_external_encoder_control()
1474 (stream->timing.pix_clk_100hz*100)/ in build_audio_output()
1498 (stream->timing.pix_clk_100hz)) { in build_audio_output()
2132 stream->timing.pix_clk_100hz + in compute_pstate_blackout_duration()
3156 pipe_ctx->stream->timing.pix_clk_100hz / 10, in dce110_apply_ctx_for_surface()
3240 .pixel_clk_khz = pipe_ctx->stream->timing.pix_clk_100hz / 10, in dce110_set_cursor_position()
3389 uint32_t pix_clk_100hz) in dce110_enable_analog_link_output() argument
3393 pix_clk_100hz); in dce110_enable_analog_link_output()
3433 pipes[i].stream->timing.pix_clk_100hz; in dce110_enable_dp_link_output()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce110/
H A Ddce110_resource.c897 pixel_clk_params->requested_pix_clk_100hz = stream->timing.pix_clk_100hz; in get_pixel_clock_parameters()
996 context->streams[0]->timing.pix_clk_100hz / 10); in dce110_validate_bandwidth()
1189 stream->timing.pix_clk_100hz / 10, in dce110_acquire_underlay()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1738 &context->bw_ctx.dml.soc, timing->pix_clk_100hz, bpp, DCN3_15_CRB_SEGMENT_SIZE_KB); in dcn315_populate_dml_pipes_from_context()
1742 …split_required = split_required || timing->pix_clk_100hz >= dcn_get_max_non_odm_pix_rate_100hz(&dc… in dcn315_populate_dml_pipes_from_context()
1791 …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()
1828 && pipe->stream->timing.pix_clk_100hz < dcn_get_max_non_odm_pix_rate_100hz(&dc->dml.soc)) { in dcn315_populate_dml_pipes_from_context()
/linux/drivers/gpu/drm/amd/display/dc/dml2_0/
H A Ddml2_utils.c270 pipe_ctx->pipe_dlg_param.pixel_rate_mhz = pipe_ctx->stream->timing.pix_clk_100hz / 10000.00; in populate_pipe_ctx_dlg_params_from_dml()
271 …pipe_ctx->pipe_dlg_param.refresh_rate = ((timing->pix_clk_100hz * 100) / timing->h_total) / timing… in populate_pipe_ctx_dlg_params_from_dml()
H A Ddml2_translation_helper.c764 …out->RefreshRate[location] = ((in->timing.pix_clk_100hz * 100) / in->timing.h_total) / in->timing.… in populate_dml_timing_cfg_from_stream_state()
766 out->PixelClock[location] = in->timing.pix_clk_100hz / 10000.00; in populate_dml_timing_cfg_from_stream_state()
891 out->PixelClockBackEnd[location] = in->timing.pix_clk_100hz / 10000.00; in populate_dml_output_cfg_from_stream_state()
/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c687 stream->timing.pix_clk_100hz > 480000; in link_set_dsc_on_stream()
1784 stream->phy_pix_clk = stream->timing.pix_clk_100hz / 10; in enable_link_hdmi()
1978 stream->phy_pix_clk = stream->timing.pix_clk_100hz / 10; in enable_link_lvds()
2026 link, pipe_ctx->stream->timing.pix_clk_100hz); in enable_link_analog()
/linux/drivers/gpu/drm/amd/display/modules/power/
H A Dpower_helpers.c910 …e_in_us = (stream->timing.h_total * num_vblank_lines * 1000) / (stream->timing.pix_clk_100hz / 10); in mod_power_calc_psr_configs()
912 line_time_in_us = ((stream->timing.h_total * 1000) / (stream->timing.pix_clk_100hz / 10)) + 1; in mod_power_calc_psr_configs()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.c610 params.timing.pix_clk_100hz /= 2; in dcn201_unblank_stream()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/
H A Ddcn30_resource.c1935 refresh_rate = ((timing->pix_clk_100hz * 100) / (h_v_total)) + 1; in get_refresh_rate()
1967 sec_per_100_lines = timing->pix_clk_100hz / timing->h_total + 1; in get_frame_rate_at_max_stretch_100hz()
1973 scaled_refresh_rate = (timing->pix_clk_100hz) / scaled_stretched_frame_pix_cnt + 1; in get_frame_rate_at_max_stretch_100hz()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce100/
H A Ddce100_resource.c882 if (stream->timing.pix_clk_100hz >= max_pix_clk_khz * 10) in dce100_validate_bandwidth()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn401/
H A Ddcn401_hwseq.c722 patched_crtc_timing.pix_clk_100hz = pipe_ctx->dsc_padding_params.dsc_pix_clk_100hz; in dcn401_enable_stream_timing()
975 .pixel_clk_khz = pipe_ctx->stream->timing.pix_clk_100hz / 10, in dcn401_set_cursor_position()
1557 stream->timing.pix_clk_100hz > 480000; in dcn401_add_dsc_sequence_for_odm_change()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/
H A Ddcn10_resource.c1034 pixel_clk_params->requested_pix_clk_100hz = stream->timing.pix_clk_100hz; in get_pixel_clock_parameters()

12