aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-06-27 21:22:26 +0000
committerAlex Deucher <[email protected]>2023-07-07 17:51:47 +0000
commite7347f1c73cd2c0df09a59e90fd31e599e239b61 (patch)
tree3b6ae2feb67d6fa530230edc46592eb0719942ab /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.h
parentdrm/amd: Add documentation for how to flash a dGPU (diff)
downloadkernel-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.h4
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;