summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c
diff options
context:
space:
mode:
authorCandice Li <candice.li@amd.com>2026-04-17 11:02:50 +0800
committerAlex Deucher <alexander.deucher@amd.com>2026-08-25 18:25:30 -0400
commitf2b1095fe2e00b458ca5fa81aa8d9eeb075bd5c5 (patch)
treeded0523518325a7edd6d34d464db9a0e8b17fa3e /drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c
parent581ada8f9bf3ef8db3cf4441c7b7b1c9a4249dca (diff)
downloadlinux-next-f2b1095fe2e00b458ca5fa81aa8d9eeb075bd5c5.tar.gz
linux-next-f2b1095fe2e00b458ca5fa81aa8d9eeb075bd5c5.zip
drm/amdgpu: load standalone RL firmware on psp v15_0_8
Add psp_init_rl_microcode() to request amdgpu/%s_rl.bin and populate psp->rl using the existing v1.0 PSP firmware header parsing. Wire it up for psp v15_0_8. Signed-off-by: Candice Li <candice.li@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c b/drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c
index ec20cd5eb755..57a079e3f356 100644
--- a/drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c
+++ b/drivers/gpu/drm/amd/amdgpu/psp_v15_0_8.c
@@ -33,6 +33,7 @@
MODULE_FIRMWARE("amdgpu/psp_15_0_8_toc.bin");
MODULE_FIRMWARE("amdgpu/psp_15_0_8_toc_1.bin");
+MODULE_FIRMWARE("amdgpu/psp_15_0_8_rl.bin");
static int psp_v15_0_8_init_microcode(struct psp_context *psp)
{
@@ -46,6 +47,10 @@ static int psp_v15_0_8_init_microcode(struct psp_context *psp)
if (err)
return err;
+ err = psp_init_rl_microcode(psp, ucode_prefix);
+ if (err)
+ return err;
+
return 0;
}