]> Git Repo - linux.git/commitdiff
drm/amdgpu/psp: Add initial psp support for vega20
authorFeifei Xu <[email protected]>
Fri, 20 Apr 2018 05:36:54 +0000 (13:36 +0800)
committerAlex Deucher <[email protected]>
Thu, 17 May 2018 15:13:11 +0000 (10:13 -0500)
The same as vega10 for now.

Reviewed-by: Christian König <[email protected]>
Signed-off-by: Feifei Xu <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Hawking Zhang <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c

index c7d43e064fc76a010a04b5634713c51fd816c0ad..9f1a5bd39ae8a8667d31fe025bdf3f0e2fc5b99b 100644 (file)
@@ -52,6 +52,7 @@ static int psp_sw_init(void *handle)
        switch (adev->asic_type) {
        case CHIP_VEGA10:
        case CHIP_VEGA12:
+       case CHIP_VEGA20:
                psp_v3_1_set_psp_funcs(psp);
                break;
        case CHIP_RAVEN:
index 196e75def1f24dd6feea4852465efe96febca449..0c768e388ace5f9f8fc70c500ef09e20ccae9743 100644 (file)
@@ -41,6 +41,9 @@ MODULE_FIRMWARE("amdgpu/vega10_sos.bin");
 MODULE_FIRMWARE("amdgpu/vega10_asd.bin");
 MODULE_FIRMWARE("amdgpu/vega12_sos.bin");
 MODULE_FIRMWARE("amdgpu/vega12_asd.bin");
+MODULE_FIRMWARE("amdgpu/vega20_sos.bin");
+MODULE_FIRMWARE("amdgpu/vega20_asd.bin");
+
 
 #define smnMP1_FIRMWARE_FLAGS 0x3010028
 
This page took 0.053078 seconds and 4 git commands to generate.