drm/amdgpu: add gpu_info firmware for vega12
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Sep 2017 20:20:53 +0000 (16:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Mar 2018 19:23:49 +0000 (14:23 -0500)
Stores gpu configuration details.

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_device.c

index 565f766a264d25e3b6063f34f24def3b18a7de62..56fd8adc8cec33bfed1d29572aa85358f20ac5bd 100644 (file)
@@ -59,6 +59,7 @@
 #include "amdgpu_pm.h"
 
 MODULE_FIRMWARE("amdgpu/vega10_gpu_info.bin");
+MODULE_FIRMWARE("amdgpu/vega12_gpu_info.bin");
 MODULE_FIRMWARE("amdgpu/raven_gpu_info.bin");
 
 #define AMDGPU_RESUME_MS               2000
@@ -1343,6 +1344,9 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev)
        case CHIP_VEGA10:
                chip_name = "vega10";
                break;
+       case CHIP_VEGA12:
+               chip_name = "vega12";
+               break;
        case CHIP_RAVEN:
                chip_name = "raven";
                break;