[PATCH 19/23] drm/amd/display: Pass vrr mode to dcn

Hamza Mahfooz hamza.mahfooz at amd.com
Fri Jun 10 20:52:41 UTC 2022


From: Felipe <Felipe.Clark at amd.com>

[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 <HaoPing.Liu at amd.com>
Signed-off-by: Felipe Clark <Felipe.Clark at amd.com>
---
 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



More information about the amd-gfx mailing list