drm/amd/display: Pass vrr mode to dcn
authorFelipe Clark <Felipe.Clark@amd.com>
Fri, 26 Mar 2021 19:01:20 +0000 (15:01 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 15 Jun 2022 01:38:41 +0000 (21:38 -0400)
[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@amd.com>
Signed-off-by: Felipe Clark <Felipe.Clark@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/dc_stream.h

index c76fac3..ae9382c 100644 (file)
@@ -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;