diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2023-06-27 16:22:26 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-07 13:51:47 -0400 |
commit | e7347f1c73cd2c0df09a59e90fd31e599e239b61 (patch) | |
tree | 3b6ae2feb67d6fa530230edc46592eb0719942ab /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
parent | 649663af73f59ca6f7dc9021b93c087877e4d8e3 (diff) |
drm/amd: Detect IFWI or PD upgrade support in psp_early_init()
Rather than evaluating the IP version for visibility, evaluate it
at the same time as the IP is initialized.
Suggested-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@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 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h index 4847aacdf9dc..e176cf204202 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h @@ -384,6 +384,10 @@ struct psp_context uint32_t boot_cfg_bitmask; + /* firmware upgrades supported */ + bool sup_pd_fw_up; + bool sup_ifwi_up; + char *vbflash_tmp_buf; size_t vbflash_image_size; bool vbflash_done; |