drm/amdgpu/psp: initial vega12 support
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Mar 2018 03:18:09 +0000 (22:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 19:24:07 +0000 (14:24 -0500)
Same as vega10 for now.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
drivers/gpu/drm/amd/amdgpu/psp_v3_1.c

index 9a75410cd576769bfaaec77adf61f8c02de765d9..19e71f4a8ac2fa6bd579b835cd6cd2513ff0999e 100644 (file)
@@ -51,6 +51,7 @@ static int psp_sw_init(void *handle)
 
        switch (adev->asic_type) {
        case CHIP_VEGA10:
+       case CHIP_VEGA12:
                psp_v3_1_set_psp_funcs(psp);
                break;
        case CHIP_RAVEN:
index 690b9766d8ae0e2363eef4d56e229652b0e7a231..5c824a38982b30ef19826030d257c89d8e401e92 100644 (file)
@@ -39,6 +39,8 @@
 
 MODULE_FIRMWARE("amdgpu/vega10_sos.bin");
 MODULE_FIRMWARE("amdgpu/vega10_asd.bin");
+MODULE_FIRMWARE("amdgpu/vega12_sos.bin");
+MODULE_FIRMWARE("amdgpu/vega12_asd.bin");
 
 #define smnMP1_FIRMWARE_FLAGS 0x3010028