From: Austin Zheng <[email protected]>

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

Reviewed-by: Dillon Varone <[email protected]>
Signed-off-by: Austin Zheng <[email protected]>
Signed-off-by: Ray Wu <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_types.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_types.h 
b/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_types.h
index d2584b00a19c..452e4a2e72c0 100644
--- a/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_types.h
+++ b/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/inc/dml_top_types.h
@@ -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;
-- 
2.43.0

Reply via email to