/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 39 if (dml2->config.use_native_soc_bb_construction) in initialize_dml2_ip_params() 40 dml2_init_ip_params(dml2, 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 47 if (dml2->config.use_native_soc_bb_construction) in initialize_dml2_soc_bbox() 48 dml2_init_socbb_params(dml2, in_dc, out); in initialize_dml2_soc_bbox() 53 static void initialize_dml2_soc_states(struct dml2_context *dml2, in initialize_dml2_soc_states() argument 56 if (dml2->config.use_native_soc_bb_construction) in initialize_dml2_soc_states() 57 dml2_init_soc_states(dml2, in_dc, in_bbox, out); in initialize_dml2_soc_states() 62 static void map_hw_resources(struct dml2_context *dml2, in map_hw_resources() argument [all …]
|
D | Makefile | 38 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2 39 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/dml2_core 40 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/dml2_mcg/ 41 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/dml2_dpmm/ 42 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/dml2_pmo/ 43 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/dml2_standalone_libraries/ 44 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/src/inc 45 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/inc 46 subdir-ccflags-y += -I$(FULL_AMD_DISPLAY_PATH)/dc/dml2/dml21/ 48 CFLAGS_$(AMDDALPATH)/dc/dml2/display_mode_core.o := $(dml2_ccflags) $(frame_warn_flag) [all …]
|
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 36 switch (dml2->v20.dml_core_ctx.project) { in dml2_init_ip_params() 63 out->max_num_dpp = dml2->config.dcn_pipe_count; in dml2_init_ip_params() 64 out->max_num_otg = dml2->config.dcn_pipe_count; in dml2_init_ip_params() 197 out->max_num_dpp = dml2->config.dcn_pipe_count; in dml2_init_ip_params() 198 out->max_num_otg = dml2->config.dcn_pipe_count; in dml2_init_ip_params() 244 void dml2_init_socbb_params(struct dml2_context *dml2, const struct dc *in_dc, struct soc_bounding_… in dml2_init_socbb_params() argument 246 out->dprefclk_mhz = dml2->config.bbox_overrides.dprefclk_mhz; in dml2_init_socbb_params() 247 out->xtalclk_mhz = dml2->config.bbox_overrides.xtalclk_mhz; in dml2_init_socbb_params() 249 out->refclk_mhz = dml2->config.bbox_overrides.dchub_refclk_mhz; in dml2_init_socbb_params() [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, 37 void map_dc_state_into_dml_display_cfg(struct dml2_context *dml2, struct dc_state *context, struct …
|
D | dml2_wrapper.h | 257 struct dml2_context **dml2); 259 void dml2_destroy(struct dml2_context *dml2); 266 struct dml2_context **dml2); 294 struct dml2_context *dml2, 303 void dml2_extract_dram_and_fclk_change_support(struct dml2_context *dml2, 305 …_prepare_mcache_programming(struct dc *in_dc, struct dc_state *context, struct dml2_context *dml2);
|
D | dml2_utils.c | 216 static bool get_plane_id(struct dml2_context *dml2, const struct dc_state *state, const struct dc_p… in get_plane_id() argument 220 bool is_plane_duplicate = dml2->v20.scratch.plane_duplicate_exists; in get_plane_id() 321 …_from_dml(&context->res_ctx.pipe_ctx[dc_pipe_ctx_index], &context->bw_ctx.dml2->v20.dml_core_ctx, … in dml2_calculate_rq_and_dlg_params() 329 …dex].det_buffer_size_kb = dml_get_det_buffer_size_kbytes(&context->bw_ctx.dml2->v20.dml_core_ctx, … in dml2_calculate_rq_and_dlg_params() 335 …dex].plane_res.bw.dppclk_khz = dml_get_dppclk_calculated(&context->bw_ctx.dml2->v20.dml_core_ctx, … in dml2_calculate_rq_and_dlg_params() 343 …rface_size_in_mall_bytes = dml_get_surface_size_for_mall(&context->bw_ctx.dml2->v20.dml_core_ctx, … in dml2_calculate_rq_and_dlg_params()
|
D | dml2_dc_resource_mgmt.c | 58 static bool get_plane_id(struct dml2_context *dml2, const struct dc_state *state, const struct dc_p… in get_plane_id() argument 62 bool is_plane_duplicate = dml2->v20.scratch.plane_duplicate_exists; in get_plane_id()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_state.c | 214 if (!dml2_create(dc, dml2_opt, &state->bw_ctx.dml2)) { in dc_state_create() 236 struct dml2_context *dst_dml2 = dst_state->bw_ctx.dml2; in dc_state_copy() 243 dst_state->bw_ctx.dml2 = dst_dml2; in dc_state_copy() 244 if (src_state->bw_ctx.dml2) in dc_state_copy() 245 dml2_copy(dst_state->bw_ctx.dml2, src_state->bw_ctx.dml2); in dc_state_copy() 268 new_state->bw_ctx.dml2 = NULL; in dc_state_create_copy() 271 if (src_state->bw_ctx.dml2 && in dc_state_create_copy() 272 !dml2_create_copy(&new_state->bw_ctx.dml2, src_state->bw_ctx.dml2)) { in dc_state_create_copy() 361 dml2_destroy(state->bw_ctx.dml2); in dc_state_free() 362 state->bw_ctx.dml2 = 0; in dc_state_free()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/dml21/ |
D | dml21_wrapper.h | 30 void dml21_destroy(struct dml2_context *dml2);
|
D | dml21_wrapper.c | 113 void dml21_destroy(struct dml2_context *dml2) in dml21_destroy() argument 115 kfree(dml2->v21.dml_init.dml2_instance); in dml21_destroy() 116 kfree(dml2->v21.mode_programming.programming); in dml21_destroy()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/ |
D | Makefile | 39 DC_LIBS += dml2
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/inc/ |
D | core_types.h | 550 struct dml2_context *dml2; member
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn401/ |
D | dcn401_resource.c | 1596 if (dc->debug.using_dml2 && dc->current_state && dc->current_state->bw_ctx.dml2) in dcn401_update_bw_bounding_box() 1597 dml2_reinit(dc, dml2_opt, &dc->current_state->bw_ctx.dml2); in dcn401_update_bw_bounding_box() 1619 …->power_source == DC_POWER_SOURCE_DC ? context->bw_ctx.dml2_dc_power_source : context->bw_ctx.dml2, in dcn401_validate_bandwidth() 1629 …>power_source == DC_POWER_SOURCE_DC ? context->bw_ctx.dml2_dc_power_source : context->bw_ctx.dml2); in dcn401_prepare_mcache_programming()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
D | dcn32_resource.c | 1817 …->power_source == DC_POWER_SOURCE_DC ? context->bw_ctx.dml2_dc_power_source : context->bw_ctx.dml2, in dcn32_validate_bandwidth() 2031 if (dc->debug.using_dml2 && dc->current_state && dc->current_state->bw_ctx.dml2) in dcn32_update_bw_bounding_box() 2032 dml2_reinit(dc, dml2_opt, &dc->current_state->bw_ctx.dml2); in dcn32_update_bw_bounding_box()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn321/ |
D | dcn321_resource.c | 1593 if (dc->debug.using_dml2 && dc->current_state && dc->current_state->bw_ctx.dml2) in dcn321_update_bw_bounding_box() 1594 dml2_reinit(dc, dml2_opt, &dc->current_state->bw_ctx.dml2); in dcn321_update_bw_bounding_box()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
D | dcn351_resource.c | 1723 …->power_source == DC_POWER_SOURCE_DC ? context->bw_ctx.dml2_dc_power_source : context->bw_ctx.dml2, in dcn351_validate_bandwidth()
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/resource/dcn35/ |
D | dcn35_resource.c | 1743 …->power_source == DC_POWER_SOURCE_DC ? context->bw_ctx.dml2_dc_power_source : context->bw_ctx.dml2, in dcn35_validate_bandwidth()
|
/linux-6.12.1/ |
D | MAINTAINERS | 1038 F: drivers/gpu/drm/amd/display/dc/dml2/
|