OSDN Git Service

drm/amd/display: optimize bandwidth after commit streams.
authorYongqiang Sun <yongqiang.sun@amd.com>
Fri, 18 Oct 2019 22:24:59 +0000 (18:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Nov 2019 20:29:43 +0000 (15:29 -0500)
commitf2988e67144a263e33aa3b916457bf3095288c94
tree6d68563ecccd6601c922b1c97701e531ab41dc85
parent5622b2d68d0a6e2fd960f2129704dc3c561608b2
drm/amd/display: optimize bandwidth after commit streams.

[Why]
System is unable to enter S0i3 due to DISPLAY_OFF_MASK not asserted
in SMU.

[How]
Optimized bandwidth should be called paired and to resolve unplug
display underflow issue, optimize bandwidth after commit streams is
moved to next page flip, in case of S0i3, there is a change for no
flip coming causing display count is 1 in SMU side.
Add optimize bandwidth after commit stream.

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