From: Felipe <[email protected]>

[WHY]
New features will require knowing the vrr mode for their enablement.

[HOW]
Pass the state via a member of dc_stream.

Acked-by: Alan Liu <[email protected]>
Signed-off-by: Felipe Clark <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/dc_stream.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/amd/display/dc/dc_stream.h 
b/drivers/gpu/drm/amd/display/dc/dc_stream.h
index c76fac3c153d..ae9382ce82d3 100644
--- a/drivers/gpu/drm/amd/display/dc/dc_stream.h
+++ b/drivers/gpu/drm/amd/display/dc/dc_stream.h
@@ -208,6 +208,7 @@ struct dc_stream_state {
        bool ignore_msa_timing_param;
 
        bool allow_freesync;
+       bool vrr_active_variable;
        bool freesync_on_desktop;
 
        bool converter_disable_audio;
-- 
2.36.1

Reply via email to