OSDN Git Service

drm/amd/display: Fixed corruption on 4K tvs
authorHarry VanZyllDeJong <hvanzyll@amd.com>
Fri, 26 Mar 2021 15:20:58 +0000 (11:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:53:24 +0000 (16:53 -0400)
commit0774e08adf5fe789eac2f9feca9c4eab03cbbc69
treeab041c1e3d869573708b8ab282ee029e04ce2038
parentec3721869cc4211ab61b7b78fe4d8a9ac319b372
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: Harry VanZyllDeJong <hvanzyll@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Jun Lei <Jun.Lei@amd.com>
Acked-by: Qingqing Zhuo <qingqing.zhuo@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/modules/freesync/freesync.c