drm/amd/display: add safe_to_lower support to dcn wm programming
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Thu, 24 May 2018 19:09:40 +0000 (15:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 5 Jul 2018 21:38:36 +0000 (16:38 -0500)
commitd7b539d34acea44ee555a4fe35e77c23b8dc4bc4
tree1e8eac31b49cd69723d95572458d718944f9eadf
parent294c7e7347d400b2f2d9f09898e8c462f752f500
drm/amd/display: add safe_to_lower support to dcn wm programming

This will prevent watermarks from lowering when unsafe to do so.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Charlene Liu <Charlene.Liu@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/dcn10/dcn10_hubbub.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.h
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c