drm/amd/display: Allow option to use worst-case watermark
authorTony Cheng <tony.cheng@amd.com>
Fri, 8 Jun 2018 21:36:26 +0000 (17:36 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:45 +0000 (16:38 -0500)
commitf3efec54ed6ac05ba63be1bd93bd741d41b6eb37
tree65ec8ee9fa254defd1b06e5c0b79b7ac7adc2718
parent1eeedbcc20d64ff2ef7eb9823f85bbb1c2545064
drm/amd/display: Allow option to use worst-case watermark

use worse case watermark (consider both DCC and VM)
to keep golden consistent regardless of DCC

Signed-off-by: Tony Cheng <tony.cheng@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c
drivers/gpu/drm/amd/display/dc/dc.h