diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2018-03-19 22:11:09 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-03-21 22:24:00 +0300 |
commit | ad0ad9aa20f246a13686748dbca1da7e9f4011c8 (patch) | |
tree | 831ca7a1ba993998d7634ff0abb9385e622ecd7c /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |
parent | e48a3cd9cbb707e5f3531c1cd6e6fe6ee3a18212 (diff) | |
download | linux-ad0ad9aa20f246a13686748dbca1da7e9f4011c8.tar.xz |
drm/amdgpu: vega12 to smu firmware
Add the cgs interface to query the smu firmware for vega12
and declare the firmware.
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c index 5b37c1ac725c..a8a0fd927da2 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c @@ -654,6 +654,9 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device, else strcpy(fw_name, "amdgpu/vega10_smc.bin"); break; + case CHIP_VEGA12: + strcpy(fw_name, "amdgpu/vega12_smc.bin"); + break; default: DRM_ERROR("SMC firmware not supported\n"); return -EINVAL; |