mirror of https://github.com/torvalds/linux.git
[Why & How] - Consolidated the initialization of DML21 parameters into a single function `dml21_populate_dml_init_params` to streamline the process and improve code readability. - Updated the function signatures in the header files to reflect changes in parameter passing for DML context. - Removed redundant debug option handling and integrated it into the new configuration population function. - Adjusted the DML21 initialization logic in the wrapper to accommodate the new structure, ensuring compatibility with different DCN versions. - Enhanced the handling of clock parameters and bounding box configurations from various sources, including hardware defaults and software policies. - Improved the clarity of the code by renaming functions and variables for better understanding of their purposes. Reviewed-by: Austin Zheng <austin.zheng@amd.com> Signed-off-by: Wenjing Liu <wenjing.liu@amd.com> Signed-off-by: Ray Wu <ray.wu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |
||
|---|---|---|
| .. | ||
| dml21 | ||
| Makefile | ||
| cmntypes.h | ||
| display_mode_core.c | ||
| display_mode_core.h | ||
| display_mode_core_structs.h | ||
| display_mode_lib_defines.h | ||
| display_mode_util.c | ||
| display_mode_util.h | ||
| dml2_dc_resource_mgmt.c | ||
| dml2_dc_resource_mgmt.h | ||
| dml2_dc_types.h | ||
| dml2_internal_types.h | ||
| dml2_mall_phantom.c | ||
| dml2_mall_phantom.h | ||
| dml2_policy.c | ||
| dml2_policy.h | ||
| dml2_translation_helper.c | ||
| dml2_translation_helper.h | ||
| dml2_utils.c | ||
| dml2_utils.h | ||
| dml2_wrapper.c | ||
| dml2_wrapper.h | ||
| dml_assert.h | ||
| dml_depedencies.h | ||
| dml_display_rq_dlg_calc.c | ||
| dml_display_rq_dlg_calc.h | ||
| dml_logging.h | ||