Commit 739cdbd6 authored by Xiaojie Yuan's avatar Xiaojie Yuan Committed by Alex Deucher

drm/amdgpu/psp11: add psp support for navi12

Same as other navi asics.
Signed-off-by: default avatarXiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 9ea8da75
...@@ -59,6 +59,7 @@ static int psp_early_init(void *handle) ...@@ -59,6 +59,7 @@ static int psp_early_init(void *handle)
break; break;
case CHIP_NAVI10: case CHIP_NAVI10:
case CHIP_NAVI14: case CHIP_NAVI14:
case CHIP_NAVI12:
psp_v11_0_set_psp_funcs(psp); psp_v11_0_set_psp_funcs(psp);
psp->autoload_supported = true; psp->autoload_supported = true;
break; break;
......
...@@ -45,6 +45,8 @@ MODULE_FIRMWARE("amdgpu/navi10_sos.bin"); ...@@ -45,6 +45,8 @@ MODULE_FIRMWARE("amdgpu/navi10_sos.bin");
MODULE_FIRMWARE("amdgpu/navi10_asd.bin"); MODULE_FIRMWARE("amdgpu/navi10_asd.bin");
MODULE_FIRMWARE("amdgpu/navi14_sos.bin"); MODULE_FIRMWARE("amdgpu/navi14_sos.bin");
MODULE_FIRMWARE("amdgpu/navi14_asd.bin"); MODULE_FIRMWARE("amdgpu/navi14_asd.bin");
MODULE_FIRMWARE("amdgpu/navi12_sos.bin");
MODULE_FIRMWARE("amdgpu/navi12_asd.bin");
MODULE_FIRMWARE("amdgpu/arcturus_sos.bin"); MODULE_FIRMWARE("amdgpu/arcturus_sos.bin");
MODULE_FIRMWARE("amdgpu/arcturus_asd.bin"); MODULE_FIRMWARE("amdgpu/arcturus_asd.bin");
...@@ -80,6 +82,9 @@ static int psp_v11_0_init_microcode(struct psp_context *psp) ...@@ -80,6 +82,9 @@ static int psp_v11_0_init_microcode(struct psp_context *psp)
case CHIP_NAVI14: case CHIP_NAVI14:
chip_name = "navi14"; chip_name = "navi14";
break; break;
case CHIP_NAVI12:
chip_name = "navi12";
break;
case CHIP_ARCTURUS: case CHIP_ARCTURUS:
chip_name = "arcturus"; chip_name = "arcturus";
break; break;
...@@ -176,6 +181,7 @@ static int psp_v11_0_init_microcode(struct psp_context *psp) ...@@ -176,6 +181,7 @@ static int psp_v11_0_init_microcode(struct psp_context *psp)
break; break;
case CHIP_NAVI10: case CHIP_NAVI10:
case CHIP_NAVI14: case CHIP_NAVI14:
case CHIP_NAVI12:
case CHIP_ARCTURUS: case CHIP_ARCTURUS:
break; break;
default: default:
......
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