mirror of
https://github.com/torvalds/linux.git
synced 2026-04-19 15:24:02 -04:00
drm/amd/display: Update adaptive sync infopackets for replay
Update infopackets for replay Signed-off-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
7fc4ccf1b1
commit
81a7be799a
@@ -6045,7 +6045,7 @@ create_stream_for_sink(struct amdgpu_dm_connector *aconnector,
|
||||
if (stream->signal == SIGNAL_TYPE_HDMI_TYPE_A)
|
||||
mod_build_hf_vsif_infopacket(stream, &stream->vsp_infopacket);
|
||||
|
||||
if (stream->link->psr_settings.psr_feature_enabled) {
|
||||
if (stream->link->psr_settings.psr_feature_enabled || stream->link->replay_settings.replay_feature_enabled) {
|
||||
//
|
||||
// should decide stream support vsc sdp colorimetry capability
|
||||
// before building vsc info packet
|
||||
@@ -7785,7 +7785,7 @@ static void update_freesync_state_on_stream(
|
||||
|
||||
aconn = (struct amdgpu_dm_connector *)new_stream->dm_stream_context;
|
||||
|
||||
if (aconn && aconn->as_type == FREESYNC_TYPE_PCON_IN_WHITELIST) {
|
||||
if (aconn && (aconn->as_type == FREESYNC_TYPE_PCON_IN_WHITELIST || aconn->vsdb_info.replay_mode)) {
|
||||
pack_sdp_v1_3 = aconn->pack_sdp_v1_3;
|
||||
|
||||
if (aconn->vsdb_info.amd_vsdb_version == 1)
|
||||
|
||||
Reference in New Issue
Block a user