aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
diff options
context:
space:
mode:
authorJulian Parkin <julian.parkin@amd.com>2019-08-29 17:06:05 -0400
committerAlex Deucher <alexander.deucher@amd.com>2019-10-10 19:33:00 -0500
commitedb922b022c0c94805c4ffad202b3edff83d76f0 (patch)
treee92881ff6fdd318579a6274ea14e95141bde9f4f /drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c
parentdrm/amd/display: 3.2.53 (diff)
downloadlinux-dev-edb922b022c0c94805c4ffad202b3edff83d76f0.tar.xz
linux-dev-edb922b022c0c94805c4ffad202b3edff83d76f0.zip
drm/amd/display: Program DWB watermarks from correct state
[Why] When diags adds a DWB via a stream update, we calculate MMHUBBUB paramaters, but dc->current_state has not yet been updated when the DWB programming happens. This leads to overflow on high bandwidth tests since the incorrect MMHUBBUB arbitration parameters are programmed. [How] Pass the updated context down to the (enable|update)_writeback functions so that they can use the correct watermarks when programming MMHUBBUB. Signed-off-by: Julian Parkin <julian.parkin@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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c')
0 files changed, 0 insertions, 0 deletions