Commit 717b836c authored by Austin Zheng's avatar Austin Zheng Committed by Alex Deucher
Browse files

drm/amd/display: Add Pstate viewport reduction



[Why/How]
Add struct to hold calculated reduced viewport pstate
recout reduction lines per plane

Reviewed-by: default avatarDillon Varone <dillon.varone@amd.com>
Signed-off-by: default avatarAustin Zheng <Austin.Zheng@amd.com>
Signed-off-by: default avatarRay Wu <ray.wu@amd.com>
Tested-by: default avatarDaniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 1b324635
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;