Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: John Clements <john.clements@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Hawking Zhang and committed by
Alex Deucher
b08be120 7642c56a

+9 -4
+9 -4
drivers/gpu/drm/amd/amdgpu/psp_gfx_if.h
··· 332 332 uint32_t fwar_db_addr_hi; 333 333 }; 334 334 335 + /* Command-specific response for boot config. */ 336 + struct psp_gfx_uresp_bootcfg { 337 + uint32_t boot_cfg; /* boot config data */ 338 + }; 339 + 335 340 /* Union of command-specific responses for GPCOM ring. */ 336 - union psp_gfx_uresp 337 - { 338 - struct psp_gfx_uresp_reserved reserved; 339 - struct psp_gfx_uresp_fwar_db_info fwar_db_info; 341 + union psp_gfx_uresp { 342 + struct psp_gfx_uresp_reserved reserved; 343 + struct psp_gfx_uresp_bootcfg boot_cfg; 344 + struct psp_gfx_uresp_fwar_db_info fwar_db_info; 340 345 }; 341 346 342 347 /* Structure of GFX Response buffer.