linux/drivers/gpu/drm/amd/display
Julian Parkin edb922b022 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>
2019-10-10 19:33:00 -05:00
..
amdgpu_dm drm/amd/display: build up VSIF infopacket 2019-10-10 19:31:56 -05:00
dc drm/amd/display: Program DWB watermarks from correct state 2019-10-10 19:33:00 -05:00
include drm/amd/display: Add HDCP module 2019-10-03 09:10:58 -05:00
modules drm/amd/display: Properly round nominal frequency for SPD 2019-10-10 19:32:16 -05:00
Kconfig drm/amd: Fix Kconfig indentation 2019-10-07 15:11:17 -05:00
Makefile drm/amd/display: Add HDCP module 2019-10-03 09:10:58 -05:00
TODO drm/amd/display: Convert remaining loggers off dc_logger 2018-07-13 14:48:42 -05:00