]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/amd/display: Add Pstate viewport reduction
authorAustin Zheng <Austin.Zheng@amd.com>
Tue, 30 Sep 2025 19:32:03 +0000 (14:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 4 Nov 2025 16:53:20 +0000 (11:53 -0500)
[Why/How]
Add struct to hold calculated reduced viewport pstate
recout reduction lines per plane

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Austin Zheng <Austin.Zheng@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>
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_types.h

index d2584b00a19c700b3ef4d61d708cc50964bf2bf8..452e4a2e72c01ae4430661af1bb585c1679ca233 100644 (file)
@@ -676,6 +676,8 @@ struct dml2_display_cfg_programming {
                        unsigned int PrefetchMode[DML2_MAX_PLANES]; // LEGACY_ONLY
                        bool ROBUrgencyAvoidance;
                        double LowestPrefetchMargin;
+
+                       unsigned int pstate_recout_reduction_lines[DML2_MAX_PLANES];
                } misc;
 
                struct dml2_mode_support_info mode_support_info;