drm/amdgpu: add VEGAM SDMA firmware support
authorLeo Liu <leo.liu@amd.com>
Thu, 9 Nov 2017 18:56:12 +0000 (13:56 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:56 +0000 (13:43 -0500)
Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c

index be20a387d9611f4526b716d0b888aa5b95a4a667..add0b80a5355468cfe95e018fd77a88031328f4d 100644 (file)
@@ -62,6 +62,8 @@ MODULE_FIRMWARE("amdgpu/polaris11_sdma.bin");
 MODULE_FIRMWARE("amdgpu/polaris11_sdma1.bin");
 MODULE_FIRMWARE("amdgpu/polaris12_sdma.bin");
 MODULE_FIRMWARE("amdgpu/polaris12_sdma1.bin");
+MODULE_FIRMWARE("amdgpu/vegam_sdma.bin");
+MODULE_FIRMWARE("amdgpu/vegam_sdma1.bin");
 
 
 static const u32 sdma_offsets[SDMA_MAX_INSTANCE] =
@@ -275,15 +277,18 @@ static int sdma_v3_0_init_microcode(struct amdgpu_device *adev)
        case CHIP_FIJI:
                chip_name = "fiji";
                break;
-       case CHIP_POLARIS11:
-               chip_name = "polaris11";
-               break;
        case CHIP_POLARIS10:
                chip_name = "polaris10";
                break;
+       case CHIP_POLARIS11:
+               chip_name = "polaris11";
+               break;
        case CHIP_POLARIS12:
                chip_name = "polaris12";
                break;
+       case CHIP_VEGAM:
+               chip_name = "vegam";
+               break;
        case CHIP_CARRIZO:
                chip_name = "carrizo";
                break;