drm/amd/display: update bw_calcs to take pipe sync into account (v3)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:32:37 +0000 (11:32 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:32:37 +0000 (11:32 -0500)
commit8b2608f1cfece410801a7f5fba374abde4540c0c
tree4abaff60a481ad1ce31373188b4f3d8bfa99e1e4
parent55b852069d02e406fa493cc9366c523eb9b5d0a9
drm/amd/display: update bw_calcs to take pipe sync into account (v3)

Properly set all_displays_in_sync so that when the data is
propagated to powerplay, it's set properly and we can enable
mclk switching when all monitors are in sync.

v2: fix logic, clean up
v3: check for blending chains, simplify logic

Acked-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dce_calcs.c