/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_wrapper.c | 37 static void dml21_apply_debug_options(const struct dc *in_dc, struct dml2_context *dml_ctx, const s… in dml21_apply_debug_options() argument 48 if (in_dc->debug.dml21_force_pstate_method) { in dml21_apply_debug_options() 51 …dml_ctx->config.pmo.force_pstate_method_values[i] = in_dc->debug.dml21_force_pstate_method_values[… in dml21_apply_debug_options() 56 pmo_options->disable_vblank = ((in_dc->debug.dml21_disable_pstate_method_mask >> 1) & 1); in dml21_apply_debug_options() 59 disable_fams2 = !in_dc->debug.fams2_config.bits.enable; in dml21_apply_debug_options() 60 pmo_options->disable_svp = ((in_dc->debug.dml21_disable_pstate_method_mask >> 2) & 1) || in dml21_apply_debug_options() 61 in_dc->debug.force_disable_subvp || in dml21_apply_debug_options() 63 pmo_options->disable_drr_clamped = ((in_dc->debug.dml21_disable_pstate_method_mask >> 3) & 1) || in dml21_apply_debug_options() 65 pmo_options->disable_drr_var = ((in_dc->debug.dml21_disable_pstate_method_mask >> 4) & 1) || in dml21_apply_debug_options() 69 …pmo_options->disable_drr_var_when_var_active = in_dc->debug.disable_fams_gaming == INGAME_FAMS_DIS… in dml21_apply_debug_options() [all …]
|
D | dml21_translation_helper.h | 19 …nstance_in_out *dml_init, const struct dml2_configuration_options *config, const struct dc *in_dc); 20 …nstance_in_out *dml_init, const struct dml2_configuration_options *config, const struct dc *in_dc); 21 …nstance_in_out *dml_init, const struct dml2_configuration_options *config, const struct dc *in_dc); 22 bool dml21_map_dc_state_into_dml_display_cfg(const struct dc *in_dc, struct dc_state *context, stru… 25 void dml21_extract_legacy_watermark_set(const struct dc *in_dc, struct dcn_watermarks *watermark, e… 26 void dml21_extract_watermark_sets(const struct dc *in_dc, union dcn_watermark_set *watermarks, stru…
|
D | dml21_wrapper.h | 29 bool dml21_create(const struct dc *in_dc, struct dml2_context **dml_ctx, const struct dml2_configur… 35 void dml21_reinit(const struct dc *in_dc, struct dml2_context **dml_ctx, const struct dml2_configur… 58 bool dml21_validate(const struct dc *in_dc, struct dc_state *context, struct dml2_context *dml_ctx,… 61 void dml21_prepare_mcache_programming(struct dc *in_dc, struct dc_state *context, struct dml2_conte…
|
D | dml21_translation_helper.c | 17 const struct dc *in_dc) in dml21_init_socbb_params() argument 22 switch (in_dc->ctx->dce_version) { in dml21_init_socbb_params() 58 const struct dc *in_dc) in dml21_init_ip_params() argument 62 switch (in_dc->ctx->dce_version) { in dml21_init_ip_params() 76 const struct dc *in_dc) in dml21_initialize_soc_bb_params() argument 79 dml21_init_socbb_params(dml_init, config, in_dc); in dml21_initialize_soc_bb_params() 86 const struct dc *in_dc) in dml21_initialize_ip_params() argument 89 dml21_init_ip_params(dml_init, config, in_dc); in dml21_initialize_ip_params() 95 const struct dml2_configuration_options *config, const struct dc *in_dc) in dml21_apply_soc_bb_overrides() argument 99 const struct clk_bw_params *dc_bw_params = in_dc->clk_mgr->bw_params; in dml21_apply_soc_bb_overrides() [all …]
|
D | dml21_utils.h | 33 int dml21_find_dc_pipes_for_plane(const struct dc *in_dc, 44 void dml21_handle_phantom_streams_planes(const struct dc *in_dc, struct dc_state *context, struct d…
|
D | dml21_utils.c | 84 int dml21_find_dc_pipes_for_plane(const struct dc *in_dc, in dml21_find_dc_pipes_for_plane() argument
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ |
D | dml2_wrapper.c | 37 static void initialize_dml2_ip_params(struct dml2_context *dml2, const struct dc *in_dc, struct ip_… in initialize_dml2_ip_params() argument 40 dml2_init_ip_params(dml2, in_dc, out); in initialize_dml2_ip_params() 42 dml2_translate_ip_params(in_dc, out); in initialize_dml2_ip_params() 45 static void initialize_dml2_soc_bbox(struct dml2_context *dml2, const struct dc *in_dc, struct soc_… in initialize_dml2_soc_bbox() argument 48 dml2_init_socbb_params(dml2, in_dc, out); in initialize_dml2_soc_bbox() 50 dml2_translate_socbb_params(in_dc, out); in initialize_dml2_soc_bbox() 54 const struct dc *in_dc, const struct soc_bounding_box_st *in_bbox, struct soc_states_st *out) in initialize_dml2_soc_states() argument 57 dml2_init_soc_states(dml2, in_dc, in_bbox, out); in initialize_dml2_soc_states() 59 dml2_translate_soc_states(in_dc, out, in_dc->dml.soc.num_states); in initialize_dml2_soc_states() 565 static bool dml2_validate_and_build_resource(const struct dc *in_dc, struct dc_state *context) in dml2_validate_and_build_resource() argument [all …]
|
D | dml2_translation_helper.h | 30 void dml2_init_ip_params(struct dml2_context *dml2, const struct dc *in_dc, struct ip_params_st *ou… 31 void dml2_init_socbb_params(struct dml2_context *dml2, const struct dc *in_dc, struct soc_bounding_… 32 void dml2_init_soc_states(struct dml2_context *dml2, const struct dc *in_dc, 34 void dml2_translate_ip_params(const struct dc *in_dc, struct ip_params_st *out); 35 void dml2_translate_socbb_params(const struct dc *in_dc, struct soc_bounding_box_st *out); 36 void dml2_translate_soc_states(const struct dc *in_dc, struct soc_states_st *out, int num_states);
|
D | dml2_wrapper.h | 255 bool dml2_create(const struct dc *in_dc, 264 void dml2_reinit(const struct dc *in_dc, 292 bool dml2_validate(const struct dc *in_dc, 305 void dml2_prepare_mcache_programming(struct dc *in_dc, struct dc_state *context, struct dml2_contex…
|
D | dml2_translation_helper.c | 34 void dml2_init_ip_params(struct dml2_context *dml2, const struct dc *in_dc, struct ip_params_st *ou… in dml2_init_ip_params() argument 244 void dml2_init_socbb_params(struct dml2_context *dml2, const struct dc *in_dc, struct soc_bounding_… in dml2_init_socbb_params() argument 325 void dml2_init_soc_states(struct dml2_context *dml2, const struct dc *in_dc, in dml2_init_soc_states() argument
|