drm/amd/display: fix DML not calculating delivery time
authorJun Lei <Jun.Lei@amd.com>
Wed, 7 Aug 2019 20:24:46 +0000 (16:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Aug 2019 16:43:35 +0000 (11:43 -0500)
commitb1a47f5338a617663b6b24338a8b682fa51c04b2
treec78048645e5775771ff1962ee4777cab5731bc34
parent0ec7d06b225663d62e8867951114375a512e56c4
drm/amd/display: fix DML not calculating delivery time

[why]
Calculating DCFCLK DS time requires calculating
delivery time for luma/chroma, but this value is
not calculated in DMLv2, it was inadvertently
removed when porting DMLv2

[how]
Add the calculation back

Signed-off-by: Jun Lei <Jun.Lei@amd.com>
Reviewed-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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/dml/dcn20/display_mode_vba_20v2.c