]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Not doing optimize bandwidth if flip pending.
authorYongqiang Sun <yongqiang.sun@amd.com>
Mon, 9 Mar 2020 21:13:02 +0000 (17:13 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 31 Mar 2020 16:26:14 +0000 (12:26 -0400)
commitfee2b6a793b2fea0cbfd3f4170891a6faa8fdb18
tree923ad0956e8cb360f696c18cb1769c29a988d825
parentab63ed2b7deeeeec1507c32a1515554b2e71ad7b
drm/amd/display: Not doing optimize bandwidth if flip pending.

[Why]
In some scenario like 1366x768 VSR enabled connected with a 4K monitor
and playing 4K video in clone mode, underflow will be observed due to
decrease dppclk when previouse surface scan isn't finished

[How]
In this use case, surface flip is switching between 4K and 1366x768,
1366x768 needs smaller dppclk, and when decrease the clk and previous
surface scan is for 4K and scan isn't done, underflow will happen.  Not
doing optimize bandwidth in case of flip pending.

Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c