Home
last modified time | relevance | path

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

123

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_mall_phantom.c246 refresh_rate = (pipe->stream->timing.pix_clk_100hz * 100 + in assign_subvp_pipe()
267 (double)(stream->timing.pix_clk_100hz * 100)) * 1000000; in assign_subvp_pipe()
382 (double)(phantom->timing.pix_clk_100hz * 100) * 1000000 + in subvp_subvp_schedulable()
397 (double)(subvp_pipes[0]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
399 (double)(subvp_pipes[1]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
402 (double)(subvp_pipes[0]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
405 (double)(subvp_pipes[1]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
465 (double)(phantom_timing->pix_clk_100hz * 100) * 1000000 + in dml2_svp_drr_schedulable()
468 (double)(main_timing->pix_clk_100hz * 100) * 1000000; in dml2_svp_drr_schedulable()
470 (double)(drr_timing->pix_clk_100hz * 100) * 1000000; in dml2_svp_drr_schedulable()
[all …]
/linux-6.12.1/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()
119 program_pix_dur(tg, timing->pix_clk_100hz); in program_timing()
/linux-6.12.1/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()
119 program_pix_dur(tg, timing->pix_clk_100hz); in program_timing()
/linux-6.12.1/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()
144 if (dongle_caps->dfp_cap_ext.max_pixel_rate_in_mps < (timing->pix_clk_100hz / 10000)) in dp_active_dongle_validate_timing()
274 if ((timing->pix_clk_100hz / 10) == (uint32_t) 25175 && in dp_validate_mode_timing()
291 …timing->pix_clk_100hz > link->dpcd_caps.max_uncompressed_pixel_rate_cap.bits.max_uncompressed_pixe… in dp_validate_mode_timing()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c476 config_data->pipe_data[k].pix_clk_100hz = pipe->stream->timing.pix_clk_100hz; in dc_dmub_srv_p_state_delegate()
592 (((uint64_t)drr_timing->pix_clk_100hz * 100))); in populate_subvp_cmd_drr_info()
595 (((uint64_t)phantom_timing->pix_clk_100hz * 100))); in populate_subvp_cmd_drr_info()
597 …min_vtotal_supported = div64_u64(((uint64_t)drr_timing->pix_clk_100hz * 100 * min_drr_supported_us… in populate_subvp_cmd_drr_info()
601 … (((uint64_t)phantom_timing->pix_clk_100hz * 100) + dc->caps.subvp_prefetch_end_to_mall_start_us)); in populate_subvp_cmd_drr_info()
603 (((uint64_t)main_timing->pix_clk_100hz * 100))); in populate_subvp_cmd_drr_info()
605 (((uint64_t)drr_timing->pix_clk_100hz * 100))); in populate_subvp_cmd_drr_info()
610 …max_vtotal_supported = div64_u64(((uint64_t)drr_timing->pix_clk_100hz * 100 * max_drr_supported_us… in populate_subvp_cmd_drr_info()
666 pipe_data->pipe_config.vblank_data.pix_clk_100hz = vblank_pipe->stream->timing.pix_clk_100hz; in populate_subvp_cmd_vblank_pipe_info()
722 …(((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.12.1/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()
467 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_bandwidth_range()
601 bpp_x16 = dc_fixpt_div_int(bpp_x16, timing->pix_clk_100hz); in compute_bpp_x16_from_target_bandwidth()
938 …if (branch_max_throughput_mps && dsc_div_by_10_round_up(timing->pix_clk_100hz) > branch_max_throug… in setup_dsc_config()
983 int pix_clk_per_slice_khz = dsc_div_by_10_round_up(timing->pix_clk_100hz) / min_slices_h; in setup_dsc_config()
1124 get_dsc_enc_caps(dsc, &dsc_enc_caps, timing->pix_clk_100hz); in dc_dsc_compute_config()
1142 actual_bandwidth_in_kbps = dc_fixpt_from_fraction(timing->pix_clk_100hz, 10); in dc_dsc_stream_bandwidth_in_kbps()
1160 refresh_rate = dc_fixpt_from_int(timing->pix_clk_100hz); in dc_dsc_stream_bandwidth_overhead_in_kbps()
/linux-6.12.1/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()
/linux-6.12.1/drivers/gpu/drm/amd/display/modules/freesync/
Dfreesync.c119 stream->timing.pix_clk_100hz)); in calc_duration_in_us_from_v_total()
136 frame_duration_in_ns) * (stream->timing.pix_clk_100hz / 10)), in mod_freesync_calc_v_total_from_refresh()
166 * stream->timing.pix_clk_100hz + (h_total_up_scaled - 1), in calc_v_total_from_duration()
170 duration_in_us) * (stream->timing.pix_clk_100hz / 10)), in calc_v_total_from_duration()
246 current_duration_in_us) * (stream->timing.pix_clk_100hz / 10)), in update_v_total_for_static_ramp()
1004 min_hardware_refresh_in_uhz = div64_u64((stream->timing.pix_clk_100hz * 100000000ULL), in mod_freesync_build_vrr_params()
1298 nominal_field_rate_in_uhz = stream->timing.pix_clk_100hz; in mod_freesync_calc_nominal_field_rate()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddcn31_fpu.h53 int pix_clk_100hz, int bpp, int seg_size_kb);
Ddcn31_fpu.c816 int pix_clk_100hz, int bpp, int seg_size_kb) in dcn_get_approx_det_segs_required_for_pstate() argument
821 return (int)(soc->dram_clock_change_latency_us * pix_clk_100hz * bpp in dcn_get_approx_det_segs_required_for_pstate()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn32/
Ddcn32_resource_helpers.c450 sec_per_100_lines = timing->pix_clk_100hz / timing->h_total + 1; in get_frame_rate_at_max_stretch_100hz()
456 scaled_refresh_rate = (timing->pix_clk_100hz) / scaled_stretched_frame_pix_cnt + 1; in get_frame_rate_at_max_stretch_100hz()
502 refresh_rate = ((timing->pix_clk_100hz * 100) / (h_v_total)) + 1; in get_refresh_rate()
665 refresh_rate = (pipe->stream->timing.pix_clk_100hz * (uint64_t)100 + in dcn32_subvp_drr_admissable()
726 refresh_rate = (pipe->stream->timing.pix_clk_100hz * (uint64_t)100 + in dcn32_subvp_vblank_admissable()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml/dcn32/
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()
629 !(pipe->stream->timing.pix_clk_100hz / 10000 > DCN3_2_MAX_SUBVP_PIXEL_RATE_MHZ) && in dcn32_assign_subvp_pipe()
646 (double)(stream->timing.pix_clk_100hz * 100)) * 1000000; in dcn32_assign_subvp_pipe()
749 (double)(phantom->timing.pix_clk_100hz * 100) * 1000000 + in subvp_subvp_schedulable()
764 (double)(subvp_pipes[0]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
766 (double)(subvp_pipes[1]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
769 (double)(subvp_pipes[0]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
772 (double)(subvp_pipes[1]->stream->timing.pix_clk_100hz * 100)) * 1000000; in subvp_subvp_schedulable()
854 (double)(phantom_timing->pix_clk_100hz * 100) * 1000000 + in subvp_drr_schedulable()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c55 (stream->timing.pix_clk_100hz / 10) > TMDS_MAX_PIXEL_CLOCK && in update_stream_signal()
823 stream->timing.pix_clk_100hz / 10, in dc_stream_log()
980 …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()
1029 …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()
1037 …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()
Ddc_resource.c565 if (stream1->timing.pix_clk_100hz*100/stream1->timing.h_total/ in resource_are_vblanks_synchronizable()
568 if (stream2->timing.pix_clk_100hz*100/stream2->timing.h_total/ in resource_are_vblanks_synchronizable()
574 stream2->timing.pix_clk_100hz; in resource_are_vblanks_synchronizable()
575 frame_time_diff = div_u64(frame_time_diff, stream1->timing.pix_clk_100hz); in resource_are_vblanks_synchronizable()
612 if (stream1->timing.pix_clk_100hz in resource_are_streams_timing_synchronizable()
613 != stream2->timing.pix_clk_100hz) in resource_are_streams_timing_synchronizable()
1352 refresh_rate = (stream->timing.pix_clk_100hz * (uint64_t)100 + in is_subvp_high_refresh_candidate()
3369 uint32_t pix_clk = timing->pix_clk_100hz; in get_norm_pix_clk()
3405 stream->timing.pix_clk_100hz / 10; in calculate_phy_pix_clks()
5221 ((stream->timing.pix_clk_100hz * 100) / stream->timing.v_total / stream->timing.h_total) < 120) in check_subvp_sw_cursor_fallback_req()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn32/
Ddcn32_dio_stream_encoder.c78 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc32_stream_encoder_dvi_set_stream_attribute()
269 m_vid_l *= param->timing.pix_clk_100hz / 10; in enc32_stream_encoder_dp_unblank()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn35/
Ddcn35_dio_stream_encoder.c66 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc35_stream_encoder_dvi_set_stream_attribute()
301 m_vid_l *= param->timing.pix_clk_100hz / 10; in enc35_stream_encoder_dp_unblank()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/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()
/linux-6.12.1/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_psr.c161 stream->timing.pix_clk_100hz * (uint64_t)100), in amdgpu_dm_psr_enable()
/linux-6.12.1/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()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/dcn401/
Ddcn401_dio_stream_encoder.c78 cntl.pixel_clock = crtc_timing->pix_clk_100hz / 10; in enc401_stream_encoder_dvi_set_stream_attribute()
284 m_vid_l *= param->timing.pix_clk_100hz / pix_per_container / 10; in enc401_stream_encoder_dp_unblank()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/link/hwss/
Dlink_hwss_hpo_dp.c62 dc_fixpt_from_fraction(timing->pix_clk_100hz, 10)); in set_hpo_dp_hblank_min_symbol_width()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dio/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()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/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()
1178 stream->timing.pix_clk_100hz / 10, in dce110_acquire_underlay()

123