linux/drivers/gpu/drm/amd/display/dc/dce120
Roman Li 496091fa04 drm/amd/display: Fix null-deref on vega20 with xgmi
[Why]
After clkmgr rework it gets initialized after resource pool.
The clkmgr is used in resource pool init for xgmi path.
That causes driver crash on Vega20 with xgmi due to NULL deref.

[How]
Move xgmi compensation code to dce121_clk_mgr_construct()
That also allows to make dce121_clock_patch_xgmi_ss_info()
internal static function.

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-06-20 11:34:32 -05:00
..
Makefile drm/amdgpu: add license to Makefiles 2017-12-04 11:47:55 -05:00
dce120_hw_sequencer.c drm/amd/display: Compensate for XGMI SS downspread on dprefclk 2019-01-14 15:04:41 -05:00
dce120_hw_sequencer.h drm/amd/display: Compensate for XGMI SS downspread on dprefclk 2019-01-14 15:04:41 -05:00
dce120_resource.c drm/amd/display: Fix null-deref on vega20 with xgmi 2019-06-20 11:34:32 -05:00
dce120_resource.h drm/amd/display: Flattening core_dc to dc 2017-09-26 18:16:40 -04:00
dce120_timing_generator.c drm/amd/display: Hook up CRC capture support for dce120 2019-05-24 12:21:00 -05:00
dce120_timing_generator.h amdgpu/dc: drop hw_sequencer_types.h 2017-10-06 13:03:20 -04:00