linux_dsm_epyc7002/drivers/gpu/drm/amd/powerplay
Tiecheng Zhou 690ae30be1 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 15:29:08 -04:00
..
hwmgr drm/amdgpu: Correctly initialize thermal controller for GPUs with Powerplay table v0 (e.g Hawaii) 2020-04-17 17:31:37 -04:00
inc drm/amdgpu/swSMU: handle manual AC/DC notifications 2020-03-25 17:00:11 -04:00
smumgr drm/amdgpu: Move EEPROM I2C adapter to amdgpu_device 2020-03-16 16:21:32 -04:00
amd_powerplay.c drm/amd/powerplay: avoid using pm_en before it is initialized revised 2020-04-28 15:29:08 -04:00
amdgpu_smu.c drm/amdgpu/swSMU: handle manual AC/DC notifications 2020-03-25 17:00:11 -04:00
arcturus_ppt.c drm/amd/powerplay: error out on forcing clock setting not supported 2020-04-08 17:51:54 -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/amd/powerplay: move the ASIC specific nbio operation out of smu_v11_0.c 2020-03-31 12:26:15 -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/amd/powerplay: fix resume failed as smu table initialize early exit 2020-04-17 17:31:36 -04:00
renoir_ppt.h drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK 2020-04-03 17:20:15 -04:00
smu_internal.h drm/amd/swSMU: add callback to set AC/DC power source (v2) 2020-03-25 17:00:11 -04:00
smu_v11_0.c drm/amd/powerplay: unload mp1 for Arcturus RAS baco reset 2020-04-09 17:03:23 -04:00
smu_v12_0.c drm/amdgpu/swsmu: clean up unused header in swsmu 2020-03-13 11:52:36 -04:00
vega20_ppt.c drm/amd/powerplay: move the ASIC specific nbio operation out of smu_v11_0.c 2020-03-31 12:26:15 -04:00
vega20_ppt.h drm/amd/powerplay: simplified od_settings for each asic 2019-06-21 18:59:32 -05:00