Commit b08be120 authored by Hawking Zhang's avatar Hawking Zhang Committed by Alex Deucher

drm/amdgpu: update psp gfx i/f to support dynamic GECC

psp_gfx_uresp_bootcfg is used to inform driver
bootcfg settings maintained by tOS
Signed-off-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: default avatarJohn Clements <john.clements@amd.com>
Reviewed-by: default avatarLijo Lazar <lijo.lazar@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7642c56a
...@@ -332,11 +332,16 @@ struct psp_gfx_uresp_fwar_db_info ...@@ -332,11 +332,16 @@ struct psp_gfx_uresp_fwar_db_info
uint32_t fwar_db_addr_hi; uint32_t fwar_db_addr_hi;
}; };
/* Command-specific response for boot config. */
struct psp_gfx_uresp_bootcfg {
uint32_t boot_cfg; /* boot config data */
};
/* Union of command-specific responses for GPCOM ring. */ /* Union of command-specific responses for GPCOM ring. */
union psp_gfx_uresp union psp_gfx_uresp {
{ struct psp_gfx_uresp_reserved reserved;
struct psp_gfx_uresp_reserved reserved; struct psp_gfx_uresp_bootcfg boot_cfg;
struct psp_gfx_uresp_fwar_db_info fwar_db_info; struct psp_gfx_uresp_fwar_db_info fwar_db_info;
}; };
/* Structure of GFX Response buffer. /* Structure of GFX Response buffer.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment