drm/amdgpu: add navi10 gpu info firmware
authorHuang Rui <ray.huang@amd.com>
Fri, 4 Aug 2017 03:10:15 +0000 (11:10 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 02:15:29 +0000 (21:15 -0500)
gpu info firmware stores configuration data for various
IP blocks.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index 4c40de13dd296fbfa30e54e98b9838a954d2e108..dc69fbe202e6bacda795ec6b91b2d3ae975ccd8a 100644 (file)
@@ -68,6 +68,7 @@ MODULE_FIRMWARE("amdgpu/vega12_gpu_info.bin");
 MODULE_FIRMWARE("amdgpu/raven_gpu_info.bin");
 MODULE_FIRMWARE("amdgpu/picasso_gpu_info.bin");
 MODULE_FIRMWARE("amdgpu/raven2_gpu_info.bin");
+MODULE_FIRMWARE("amdgpu/navi10_gpu_info.bin");
 
 #define AMDGPU_RESUME_MS               2000
 
@@ -1378,6 +1379,9 @@ static int amdgpu_device_parse_gpu_info_fw(struct amdgpu_device *adev)
                else
                        chip_name = "raven";
                break;
+       case CHIP_NAVI10:
+               chip_name = "navi10";
+               break;
        }
 
        snprintf(fw_name, sizeof(fw_name), "amdgpu/%s_gpu_info.bin", chip_name);