#define FIRMWARE_CARRIZO "amdgpu/carrizo_vce.bin"
#define FIRMWARE_FIJI "amdgpu/fiji_vce.bin"
#define FIRMWARE_STONEY "amdgpu/stoney_vce.bin"
+#define FIRMWARE_ELLESMERE "amdgpu/ellesmere_vce.bin"
+#define FIRMWARE_BAFFIN "amdgpu/baffin_vce.bin"
#ifdef CONFIG_DRM_AMDGPU_CIK
MODULE_FIRMWARE(FIRMWARE_BONAIRE);
MODULE_FIRMWARE(FIRMWARE_CARRIZO);
MODULE_FIRMWARE(FIRMWARE_FIJI);
MODULE_FIRMWARE(FIRMWARE_STONEY);
+MODULE_FIRMWARE(FIRMWARE_ELLESMERE);
+MODULE_FIRMWARE(FIRMWARE_BAFFIN);
static void amdgpu_vce_idle_work_handler(struct work_struct *work);
case CHIP_STONEY:
fw_name = FIRMWARE_STONEY;
break;
+ case CHIP_ELLESMERE:
+ fw_name = FIRMWARE_ELLESMERE;
+ break;
+ case CHIP_BAFFIN:
+ fw_name = FIRMWARE_BAFFIN;
+ break;
default:
return -EINVAL;
{
u32 tmp;
- /* Fiji, Stoney are single pipe */
+ /* Fiji, Stoney, Ellesmere, Baffin are single pipe */
if ((adev->asic_type == CHIP_FIJI) ||
- (adev->asic_type == CHIP_STONEY))
+ (adev->asic_type == CHIP_STONEY) ||
+ (adev->asic_type == CHIP_ELLESMERE) ||
+ (adev->asic_type == CHIP_BAFFIN))
return AMDGPU_VCE_HARVEST_VCE1;
/* Tonga and CZ are dual or single pipe */