Commit 0774e08a authored by Harry VanZyllDeJong's avatar Harry VanZyllDeJong Committed by Alex Deucher

drm/amd/display: Fixed corruption on 4K tvs

[WHY]
When on the desktop freesync is not enabled,
doing a frame stretch causes the TV to display
undesired output.

[HOW]
By changing the logic so that when ever fresync
is supported the TV is notified we are in fressync
instead on a non fresync state.
Signed-off-by: default avatarHarry VanZyllDeJong <hvanzyll@amd.com>
Reviewed-by: default avatarTony Cheng <Tony.Cheng@amd.com>
Acked-by: default avatarAnthony Koo <Anthony.Koo@amd.com>
Acked-by: default avatarJun Lei <Jun.Lei@amd.com>
Acked-by: default avatarQingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ec372186
...@@ -543,8 +543,8 @@ static void build_vrr_infopacket_data_v1(const struct mod_vrr_params *vrr, ...@@ -543,8 +543,8 @@ static void build_vrr_infopacket_data_v1(const struct mod_vrr_params *vrr,
infopacket->sb[6] |= 0x02; infopacket->sb[6] |= 0x02;
/* PB6 = [Bit 2 = FreeSync Active] */ /* PB6 = [Bit 2 = FreeSync Active] */
if (vrr->state == VRR_STATE_ACTIVE_VARIABLE || if (vrr->state != VRR_STATE_DISABLED &&
vrr->state == VRR_STATE_ACTIVE_FIXED) vrr->state != VRR_STATE_UNSUPPORTED)
infopacket->sb[6] |= 0x04; infopacket->sb[6] |= 0x04;
// For v1 & 2 infoframes program nominal if non-fs mode, otherwise full range // For v1 & 2 infoframes program nominal if non-fs mode, otherwise full range
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment