Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b496626 authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/amdgpu: add support for new smc firmware on iceland



Newer iceland parts require new smc firmware.

Reviewed-by: default avatarHuang Rui <ray.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent 646cccb5
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -795,6 +795,11 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device,
		if (!adev->pm.fw) {
			switch (adev->asic_type) {
			case CHIP_TOPAZ:
				if (((adev->pdev->device == 0x6900) && (adev->pdev->revision == 0x81)) ||
				    ((adev->pdev->device == 0x6900) && (adev->pdev->revision == 0x83)) ||
				    ((adev->pdev->device == 0x6907) && (adev->pdev->revision == 0x87)))
					strcpy(fw_name, "amdgpu/topaz_k_smc.bin");
				else
					strcpy(fw_name, "amdgpu/topaz_smc.bin");
				break;
			case CHIP_TONGA:
+1 −0
Original line number Diff line number Diff line
@@ -80,6 +80,7 @@
#include "dce_virtual.h"

MODULE_FIRMWARE("amdgpu/topaz_smc.bin");
MODULE_FIRMWARE("amdgpu/topaz_k_smc.bin");
MODULE_FIRMWARE("amdgpu/tonga_smc.bin");
MODULE_FIRMWARE("amdgpu/tonga_k_smc.bin");
MODULE_FIRMWARE("amdgpu/fiji_smc.bin");