aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
diff options
context:
space:
mode:
authorTiecheng Zhou <[email protected]>2020-04-02 08:49:36 +0000
committerAlex Deucher <[email protected]>2020-04-03 21:03:54 +0000
commit764a21cb085b8d7d754b5d74e2ecc6adc064e3e7 (patch)
tree8051b24029f268f370755ff24b6e4e0e44325c41 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c
parentdrm/amd/powerplay: implement the is_dpm_running() (diff)
downloadkernel-764a21cb085b8d7d754b5d74e2ecc6adc064e3e7.tar.gz
kernel-764a21cb085b8d7d754b5d74e2ecc6adc064e3e7.zip
drm/amd/powerplay: avoid using pm_en before it is initialized
hwmgr->pm_en is initialized at hwmgr_hw_init. during amdgpu_device_init, there is amdgpu_asic_reset that calls to pp_get_asic_baco_capability, while hwmgr->pm_en has not yet been initialized. so avoid using pm_en in pp_get_asic_baco_capability. Reviewed-by: Emily Deng <[email protected]> Signed-off-by: Tiecheng Zhou <[email protected]> Signed-off-by: Yintian Tao <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions