]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amd/display: Rename dml2 to dml2_0 folder
authorAustin Zheng <Austin.Zheng@amd.com>
Tue, 21 Oct 2025 05:52:58 +0000 (13:52 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Oct 2025 13:57:39 +0000 (09:57 -0400)
commite6a8a000cfe6a1106c17ab4a47eb6dd21596968c
tree43ae0c771bdbde9ed1cdc7ea6838ac13aa5fe117
parent6cf0552e03033da74eff5137a10b33030c8a450a
drm/amd/display: Rename dml2 to dml2_0 folder

[Why]
dml2 folder contains all logic for all versions of DML2
This is currently DML2.0 and DML2.1.
Rename dml2 to dml2_0 folder to reflect this better (dml2_0
for DML2.0).

[How]
Rename dml2 to dml2_0 folder and update dml2 references to
use dml2_0 folder.

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Austin Zheng <Austin.Zheng@amd.com>
Signed-off-by: waynelin <Wayne.Lin@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
89 files changed:
drivers/gpu/drm/amd/display/dc/Makefile
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/core/dc_state.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dml2/Makefile [deleted file]
drivers/gpu/drm/amd/display/dc/dml2_0/Makefile [new file with mode: 0644]
drivers/gpu/drm/amd/display/dc/dml2_0/cmntypes.h [moved from drivers/gpu/drm/amd/display/dc/dml2/cmntypes.h with 93% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_core.c [moved from drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_core.h [moved from drivers/gpu/drm/amd/display/dc/dml2/display_mode_core.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_core_structs.h [moved from drivers/gpu/drm/amd/display/dc/dml2/display_mode_core_structs.h with 99% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_lib_defines.h [moved from drivers/gpu/drm/amd/display/dc/dml2/display_mode_lib_defines.h with 95% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.c [moved from drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/display_mode_util.h [moved from drivers/gpu/drm/amd/display/dc/dml2/display_mode_util.h with 99% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_translation_helper.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_utils.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_utils.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_utils.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_wrapper.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_wrapper.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_wrapper.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/dml21_wrapper.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/bounding_boxes/dcn4_soc_bb.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/bounding_boxes/dcn4_soc_bb.h with 99% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml2_external_lib_deps.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/dml2_external_lib_deps.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/dml_top.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_dchub_registers.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/dml_top_dchub_registers.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_display_cfg_types.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/dml_top_display_cfg_types.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_policy_types.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/dml_top_policy_types.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_soc_parameter_types.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/dml_top_soc_parameter_types.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_types.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/dml_top_types.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_dcn4_calcs.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_factory.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_factory.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_factory.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_factory.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_shared_types.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_shared_types.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_utils.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_utils.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_core/dml2_core_utils.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_utils.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_dpmm/dml2_dpmm_dcn4.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/dml2_dpmm_dcn4.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_dpmm/dml2_dpmm_dcn4.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/dml2_dpmm_dcn4.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_dpmm/dml2_dpmm_factory.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/dml2_dpmm_factory.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_dpmm/dml2_dpmm_factory.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_dpmm/dml2_dpmm_factory.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_mcg/dml2_mcg_dcn4.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_mcg/dml2_mcg_dcn4.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_mcg/dml2_mcg_dcn4.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_mcg/dml2_mcg_dcn4.h with 97% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_mcg/dml2_mcg_factory.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_mcg/dml2_mcg_factory.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_mcg/dml2_mcg_factory.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_mcg/dml2_mcg_factory.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn3.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn3.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn3.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn3.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_dcn4_fams2.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_factory.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_factory.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_pmo/dml2_pmo_factory.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/dml2_pmo_factory.h with 97% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_standalone_libraries/lib_float_math.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_standalone_libraries/lib_float_math.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_standalone_libraries/lib_float_math.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_standalone_libraries/lib_float_math.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_interfaces.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/dml2_top_interfaces.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_legacy.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/dml2_top_legacy.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_legacy.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/dml2_top_legacy.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_soc15.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/dml2_top_soc15.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/dml2_top/dml2_top_soc15.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_top/dml2_top_soc15.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/inc/dml2_debug.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/inc/dml2_debug.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/src/inc/dml2_internal_shared_types.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml21/src/inc/dml2_internal_shared_types.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_dc_resource_mgmt.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_dc_resource_mgmt.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_resource_mgmt.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_dc_types.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_dc_types.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_internal_types.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_internal_types.h with 99% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_mall_phantom.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_mall_phantom.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_mall_phantom.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_policy.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_policy.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_policy.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.c with 99% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_translation_helper.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_utils.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_utils.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_utils.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_wrapper.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_wrapper.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml2_wrapper.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml_assert.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml_assert.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml_depedencies.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml_depedencies.h with 99% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml_display_rq_dlg_calc.c [moved from drivers/gpu/drm/amd/display/dc/dml2/dml_display_rq_dlg_calc.c with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml_display_rq_dlg_calc.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml_display_rq_dlg_calc.h with 100% similarity]
drivers/gpu/drm/amd/display/dc/dml2_0/dml_logging.h [moved from drivers/gpu/drm/amd/display/dc/dml2/dml_logging.h with 99% similarity]
drivers/gpu/drm/amd/display/dc/hubp/dcn401/dcn401_hubp.h
drivers/gpu/drm/amd/display/dc/inc/core_types.h
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h
drivers/gpu/drm/amd/display/dc/inc/hw/mem_input.h
drivers/gpu/drm/amd/display/dc/resource/dcn32/dcn32_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn35/dcn35_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn351/dcn351_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn36/dcn36_resource.c
drivers/gpu/drm/amd/display/dc/resource/dcn401/dcn401_resource.c
drivers/gpu/drm/amd/display/dc/soc_and_ip_translator/dcn401/dcn401_soc_and_ip_translator.h