linux-loongson/drivers/gpu/drm/amd/display/dc/dml2/dml21
Wenjing Liu 86fa0b9830 drm/amd/display: Refactor DML21 Initialization and Configuration
[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>
2025-06-30 11:58:50 -04:00
..
inc drm/amd/display: DML21 Reintegration 2025-06-24 09:58:07 -04:00
src drm/amd/display: DML21 Reintegration 2025-06-24 09:58:07 -04:00
dml21_translation_helper.c drm/amd/display: Refactor DML21 Initialization and Configuration 2025-06-30 11:58:50 -04:00
dml21_translation_helper.h drm/amd/display: Refactor DML21 Initialization and Configuration 2025-06-30 11:58:50 -04:00
dml21_utils.c drm/amd/display: Add DML path for FAMS methods 2025-06-03 15:35:47 -04:00
dml21_utils.h drm/amd/display: DML2.1 Post-Si Cleanup 2025-01-10 12:00:34 -05:00
dml21_wrapper.c drm/amd/display: Refactor DML21 Initialization and Configuration 2025-06-30 11:58:50 -04:00
dml21_wrapper.h drm/amd/display: Refactor DML21 Initialization and Configuration 2025-06-30 11:58:50 -04:00