drm/amd/display: fix pipe interdependent hubp programming
authorDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Wed, 31 Oct 2018 11:59:54 +0000 (07:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Nov 2018 20:27:41 +0000 (15:27 -0500)
commit1a1adf172f6a9747d5dd2d9236af28ccff8646a8
tree1761e1ecfeb47652798bfd84409134fe6c3e55cd
parent14fee4ca84ecaa42aeada8ff404269e8c0a15efb
drm/amd/display: fix pipe interdependent hubp programming

A number of registers need to be updated for all active
pipes wherever any pipe causes a change in watermarks.

This change separates programming of these registers into
a separate function call that is called for all active pipes
during a bw update.

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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/dcn10/dcn10_hubp.c
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/inc/hw/hubp.h