diff options
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c index 5556ce979199..ee95e950a19b 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c | |||
@@ -752,6 +752,9 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device, | |||
752 | 752 | ||
753 | if (!adev->pm.fw) { | 753 | if (!adev->pm.fw) { |
754 | switch (adev->asic_type) { | 754 | switch (adev->asic_type) { |
755 | case CHIP_TOPAZ: | ||
756 | strcpy(fw_name, "amdgpu/topaz_smc.bin"); | ||
757 | break; | ||
755 | case CHIP_TONGA: | 758 | case CHIP_TONGA: |
756 | strcpy(fw_name, "amdgpu/tonga_smc.bin"); | 759 | strcpy(fw_name, "amdgpu/tonga_smc.bin"); |
757 | break; | 760 | break; |
@@ -800,6 +803,7 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device, | |||
800 | 803 | ||
801 | info->version = adev->pm.fw_version; | 804 | info->version = adev->pm.fw_version; |
802 | info->image_size = ucode_size; | 805 | info->image_size = ucode_size; |
806 | info->ucode_start_address = ucode_start_address; | ||
803 | info->kptr = (void *)src; | 807 | info->kptr = (void *)src; |
804 | } | 808 | } |
805 | return 0; | 809 | return 0; |