diff options
| author | Mario Limonciello <[email protected]> | 2023-06-27 21:22:26 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-07-07 17:51:47 +0000 |
| commit | e7347f1c73cd2c0df09a59e90fd31e599e239b61 (patch) | |
| tree | 3b6ae2feb67d6fa530230edc46592eb0719942ab /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h | |
| parent | drm/amd: Add documentation for how to flash a dGPU (diff) | |
| download | kernel-e7347f1c73cd2c0df09a59e90fd31e599e239b61.tar.gz kernel-e7347f1c73cd2c0df09a59e90fd31e599e239b61.zip | |
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 <[email protected]>
Signed-off-by: Mario Limonciello <[email protected]>
Reviewed-by: Lijo Lazar <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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; |
