diff options
author | Evan Quan <evan.quan@amd.com> | 2020-02-24 17:06:41 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-02-26 14:17:32 -0500 |
commit | 995da6cc4c47c05b16f2099caf99328cd9c719e1 (patch) | |
tree | 52ab4f68886c67d43bb5fbaeb49cd2435f069489 /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
parent | f4a3c42b5c52c8c603fa8433c52aa940a4ad938a (diff) | |
download | kernel_replicant_linux-995da6cc4c47c05b16f2099caf99328cd9c719e1.tar.gz kernel_replicant_linux-995da6cc4c47c05b16f2099caf99328cd9c719e1.tar.bz2 kernel_replicant_linux-995da6cc4c47c05b16f2099caf99328cd9c719e1.zip |
drm/amdgpu: update psp firmwares loading sequence V2
For those ASICs with DF Cstate management centralized to PMFW,
TMR setup should be performed between pmfw loading and other
non-psp firmwares loading.
V2: skip possible SMU firmware reloading
Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h index c77e1abb538a..37fa184f27f6 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h @@ -264,6 +264,8 @@ struct psp_context atomic_t fence_value; /* flag to mark whether gfx fw autoload is supported or not */ bool autoload_supported; + /* flag to mark whether df cstate management centralized to PMFW */ + bool pmfw_centralized_cstate_management; /* xgmi ta firmware and buffer */ const struct firmware *ta_fw; |