Home
last modified time | relevance | path

Searched refs:dcn4x (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubbub/dcn401/
Ddcn401_hubbub.c78 if (safe_to_lower || watermarks->dcn4x.a.urgent > hubbub2->watermarks.dcn4x.a.urgent) { in hubbub401_program_urgent_watermarks()
79 hubbub2->watermarks.dcn4x.a.urgent = watermarks->dcn4x.a.urgent; in hubbub401_program_urgent_watermarks()
81 DCHUBBUB_ARB_DATA_URGENCY_WATERMARK_A, watermarks->dcn4x.a.urgent); in hubbub401_program_urgent_watermarks()
84 watermarks->dcn4x.a.urgent, watermarks->dcn4x.a.urgent); in hubbub401_program_urgent_watermarks()
85 } else if (watermarks->dcn4x.a.urgent < hubbub2->watermarks.dcn4x.a.urgent) in hubbub401_program_urgent_watermarks()
89 if (safe_to_lower || watermarks->dcn4x.a.frac_urg_bw_flip in hubbub401_program_urgent_watermarks()
90 > hubbub2->watermarks.dcn4x.a.frac_urg_bw_flip) { in hubbub401_program_urgent_watermarks()
91 hubbub2->watermarks.dcn4x.a.frac_urg_bw_flip = watermarks->dcn4x.a.frac_urg_bw_flip; in hubbub401_program_urgent_watermarks()
93 DCHUBBUB_ARB_FRAC_URG_BW_FLIP_A, watermarks->dcn4x.a.frac_urg_bw_flip); in hubbub401_program_urgent_watermarks()
94 } else if (watermarks->dcn4x.a.frac_urg_bw_flip in hubbub401_program_urgent_watermarks()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/
Ddml2_dpmm_dcn4.c85 …in_out->programming->min_clocks.dcn4x.active.uclk_khz = dml_round_up(min_uclk_bw > min_uclk_latenc… in calculate_system_active_minimums()
86 …in_out->programming->min_clocks.dcn4x.active.fclk_khz = dml_round_up(min_fclk_bw > min_fclk_latenc… in calculate_system_active_minimums()
87 …in_out->programming->min_clocks.dcn4x.active.dcfclk_khz = dml_round_up(min_dcfclk_bw > min_dcfclk_… in calculate_system_active_minimums()
125 …in_out->programming->min_clocks.dcn4x.svp_prefetch.uclk_khz = dml_round_up(min_uclk_bw > min_uclk_… in calculate_svp_prefetch_minimums()
126 …in_out->programming->min_clocks.dcn4x.svp_prefetch.fclk_khz = dml_round_up(min_fclk_bw > min_fclk_… in calculate_svp_prefetch_minimums()
127 …in_out->programming->min_clocks.dcn4x.svp_prefetch.dcfclk_khz = dml_round_up(min_dcfclk_bw > min_d… in calculate_svp_prefetch_minimums()
149 …in_out->programming->min_clocks.dcn4x.idle.uclk_khz = dml_round_up(min_uclk_avg > min_uclk_latency… in calculate_idle_minimums()
150 …in_out->programming->min_clocks.dcn4x.idle.fclk_khz = dml_round_up(min_fclk_avg > min_fclk_latency… in calculate_idle_minimums()
151 …in_out->programming->min_clocks.dcn4x.idle.dcfclk_khz = dml_round_up(min_dcfclk_avg > min_dcfclk_l… in calculate_idle_minimums()
255 …result = round_up_to_next_dpm(&display_cfg->min_clocks.dcn4x.active.dcfclk_khz, &state_table->dcfc… in map_soc_min_clocks_to_dpm_fine_grained()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/
Ddml21_translation_helper.c1028 …tx.bw.dcn.clk.dispclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.dispclk_khz; in dml21_copy_clocks_to_dc_state()
1029 …context->bw_ctx.bw.dcn.clk.dcfclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x in dml21_copy_clocks_to_dc_state()
1030 …w.dcn.clk.dramclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.active.uclk_khz; in dml21_copy_clocks_to_dc_state()
1031 …context->bw_ctx.bw.dcn.clk.fclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.a… in dml21_copy_clocks_to_dc_state()
1032 …cn.clk.idle_dramclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.idle.uclk_khz; in dml21_copy_clocks_to_dc_state()
1033 …w.dcn.clk.idle_fclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.idle.fclk_khz; in dml21_copy_clocks_to_dc_state()
1034 …clk_deep_sleep_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.deepsleep_dcfclk_k… in dml21_copy_clocks_to_dc_state()
1037 …context->bw_ctx.bw.dcn.clk.dtbclk_en = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.… in dml21_copy_clocks_to_dc_state()
1038 ….dcn.clk.ref_dtbclk_khz = in_ctx->v21.mode_programming.programming->min_clocks.dcn4x.dtbrefclk_khz; in dml21_copy_clocks_to_dc_state()
1069 wm_regs = &watermarks->dcn4x.a; in wm_set_index_to_dc_wm_set()
[all …]
Ddml21_utils.c329 pipe_ctx->plane_res.bw.dppclk_khz = pln_prog->min_clocks.dcn4x.dppclk_khz; in dml21_program_dc_pipe()
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/
Ddml_top_types.h231 } dcn4x; member
266 } dcn4x; member
277 } dcn4x; member
407 } dcn4x; member
Ddml_top_soc_parameter_types.h84 struct dml2_dcn4x_soc_qos_params dcn4x; member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/bounding_boxes/
Ddcn4_soc_bb.h55 .dcn4x = {
181 .dcn4x = {
Ddcn3_soc_bb.h75 .dcn4x = {
231 .dcn4x = {
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/hw/
Dmem_input.h66 } dcn4x; //dcn4+ member
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/
Ddml2_core_shared.c782 …_lib->ms.uclk_freq_mhz * 1000.0), mode_lib->soc.qos_parameters.qos_params.dcn4x.per_uclk_dpm_param… in dml2_core_shared_mode_support()
1788 …mode_lib->soc.qos_parameters.qos_params.dcn4x.per_uclk_dpm_params[mode_lib->ms.qos_param_index].ur… in dml2_core_shared_mode_support()
1789 mode_lib->soc.qos_parameters.qos_params.dcn4x.df_qos_response_time_fclk_cycles, in dml2_core_shared_mode_support()
1790 mode_lib->soc.qos_parameters.qos_params.dcn4x.max_round_trip_to_furthest_cs_fclk_cycles, in dml2_core_shared_mode_support()
1791 mode_lib->soc.qos_parameters.qos_params.dcn4x.mall_overhead_fclk_cycles, in dml2_core_shared_mode_support()
1792 mode_lib->soc.qos_parameters.qos_params.dcn4x.umc_urgent_ramp_latency_margin, in dml2_core_shared_mode_support()
1793 mode_lib->soc.qos_parameters.qos_params.dcn4x.fabric_max_transport_latency_margin); in dml2_core_shared_mode_support()
1800 …mode_lib->soc.qos_parameters.qos_params.dcn4x.per_uclk_dpm_params[mode_lib->ms.qos_param_index].tr… in dml2_core_shared_mode_support()
1801 mode_lib->soc.qos_parameters.qos_params.dcn4x.max_round_trip_to_furthest_cs_fclk_cycles, in dml2_core_shared_mode_support()
1802 mode_lib->soc.qos_parameters.qos_params.dcn4x.mall_overhead_fclk_cycles, in dml2_core_shared_mode_support()
[all …]
Ddml2_core_dcn4_calcs.c6979 struct dml2_dcn4x_soc_qos_params *dcn4x, in get_max_urgent_latency_us() argument
6985 …latency = dcn4x->per_uclk_dpm_params[min_clk_index].maximum_latency_when_urgent_uclk_cycles / uclk… in get_max_urgent_latency_us()
6986 * (1 + dcn4x->umc_max_latency_margin / 100.0) in get_max_urgent_latency_us()
6987 + dcn4x->mall_overhead_fclk_cycles / FabricClock in get_max_urgent_latency_us()
6988 + dcn4x->max_round_trip_to_furthest_cs_fclk_cycles / FabricClock in get_max_urgent_latency_us()
6989 * (1 + dcn4x->fabric_max_transport_latency_margin / 100.0); in get_max_urgent_latency_us()
7057 …_lib->ms.uclk_freq_mhz * 1000.0), mode_lib->soc.qos_parameters.qos_params.dcn4x.per_uclk_dpm_param… in dml_core_mode_support()
8163 …mode_lib->soc.qos_parameters.qos_params.dcn4x.per_uclk_dpm_params[mode_lib->ms.qos_param_index].ur… in dml_core_mode_support()
8164 mode_lib->soc.qos_parameters.qos_params.dcn4x.df_qos_response_time_fclk_cycles, in dml_core_mode_support()
8165 mode_lib->soc.qos_parameters.qos_params.dcn4x.max_round_trip_to_furthest_cs_fclk_cycles, in dml_core_mode_support()
[all …]
Ddml2_core_dcn4.c553 …in_clk_index = lookup_uclk_dpm_index_by_freq(in_out->programming->min_clocks.dcn4x.active.uclk_khz, in core_dcn4_mode_programming()