diff options
author | 2021-03-26 15:01:20 -0400 | |
---|---|---|
committer | 2022-06-14 21:38:41 -0400 | |
commit | 3de58f22f544ec9c692993fb1f3bc77163d3d5d8 (patch) | |
tree | 96cf214dd4118adfd8e46bd2860108975f596a98 | |
parent | drm/amd/display: Adding VTEM to dc (diff) | |
download | linux-dev-3de58f22f544ec9c692993fb1f3bc77163d3d5d8.tar.xz linux-dev-3de58f22f544ec9c692993fb1f3bc77163d3d5d8.zip |
drm/amd/display: Pass vrr mode to dcn
[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>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dc_stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; |