diff options
author | Julian Parkin <julian.parkin@amd.com> | 2019-08-29 17:06:05 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-10 19:33:00 -0500 |
commit | edb922b022c0c94805c4ffad202b3edff83d76f0 (patch) | |
tree | e92881ff6fdd318579a6274ea14e95141bde9f4f /drivers/gpu/drm/amd/display/dc/clk_mgr | |
parent | drm/amd/display: 3.2.53 (diff) | |
download | linux-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')
0 files changed, 0 insertions, 0 deletions