]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amd/display: Add total_num_dpps_required field to informative structure
authorOleh Kuzhylnyi <okuzhyln@amd.com>
Tue, 4 Feb 2025 18:33:00 +0000 (19:33 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Feb 2025 20:13:51 +0000 (15:13 -0500)
commite619ac419174fdb6093b9e78b41bb5d0a97de9dd
treeb30874491e8573c10f76963910a9697db16fafe0
parentde84d580126eb2214937df755cfec5ef0901479e
drm/amd/display: Add total_num_dpps_required field to informative structure

[Why]
The informative structure needs to be extended by the total number of DPPs
required per each active plane.
The new informative field is going to be used as a statistical indicator.

[How]
The dml2_core_calcs_get_informative() routine must count a total number of DPPs.

Reviewed-by: Austin Zheng <austin.zheng@amd.com>
Signed-off-by: Oleh Kuzhylnyi <okuzhyln@amd.com>
Signed-off-by: Roman Li <roman.li@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml21/inc/dml_top_types.h
drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/dml2_core_dcn4_calcs.c