linux/drivers/gpu/drm/amd/powerplay
Tiecheng Zhou c7833d332e drm/amd/powerplay: avoid using pm_en before it is initialized revised
hwmgr->pm_en is initialized at hwmgr_hw_init.

during amdgpu_device_init, there is amdgpu_asic_reset that calls to
soc15_asic_reset (for V320 usecase, Vega10 asic), in which:
1) soc15_asic_reset_method calls to pp_get_asic_baco_capability (pm_en)
2) soc15_asic_baco_reset calls to pp_set_asic_baco_state (pm_en)

pm_en is used in the above two cases while it has not yet been initialized

So avoid using pm_en in the above two functions for V320 passthrough.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Tiecheng Zhou <Tiecheng.Zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-04-28 11:44:11 -04:00
..
hwmgr drm/amd/powerplay: remove defined but not used variables 2020-04-22 18:11:46 -04:00
inc drm/amd/powerplay: update smu12_driver_if.h to align with pmfw 2020-04-22 18:11:49 -04:00
smumgr drm/amd/powerplay: added mutex protection on msg issuing 2020-04-01 14:44:45 -04:00
amd_powerplay.c drm/amd/powerplay: avoid using pm_en before it is initialized revised 2020-04-28 11:44:11 -04:00
amdgpu_smu.c drm/amdgpu: enable one vf mode for nv12 2020-04-24 11:42:11 -04:00
arcturus_ppt.c drm/amd/powerplay: properly set the dpm_enabled state 2020-04-22 18:11:45 -04:00
arcturus_ppt.h drm/amd/powerplay: update arcturus_ppt.c/h V3 2019-07-30 23:48:33 -05:00
Makefile drm/amdgpu/powerplay: add smu ip block for renoir (v2) 2019-08-22 17:36:58 -05:00
navi10_ppt.c drm/amdgpu: enable one vf mode for nv12 2020-04-24 11:42:11 -04:00
navi10_ppt.h drm/amdgpu/smu: custom pstate profiling clock frequence for navi series asics 2020-01-07 12:01:09 -05:00
renoir_ppt.c drm/amdgpu/powerplay:avoid to show invalid DPM table info 2020-04-22 18:11:49 -04:00
renoir_ppt.h drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK 2020-04-03 17:01:33 -04:00
smu_internal.h drm/amd/powerplay: correct i2c eeprom init/fini sequence 2020-04-22 18:11:45 -04:00
smu_v11_0.c drm/amdgpu: enable one vf mode for nv12 2020-04-24 11:42:11 -04:00
smu_v12_0.c drm/amdgpu: cache smu fw version info 2020-04-22 18:11:46 -04:00
vega20_ppt.c drm/amd/powerplay: properly set the dpm_enabled state 2020-04-22 18:11:45 -04:00
vega20_ppt.h drm/amd/powerplay: simplified od_settings for each asic 2019-06-21 18:59:32 -05:00