mirror of https://gitee.com/openkylin/linux.git
drm/amdgpu: Add smu firmware support for vega20
Reviewed-by: Christian König <christian.koenig@amd.com> Signed-off-by: Feifei Xu <Feifei.Xu@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>
This commit is contained in:
parent
e4bd817040
commit
a167ae2509
|
@ -400,6 +400,9 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device,
|
||||||
case CHIP_VEGA12:
|
case CHIP_VEGA12:
|
||||||
strcpy(fw_name, "amdgpu/vega12_smc.bin");
|
strcpy(fw_name, "amdgpu/vega12_smc.bin");
|
||||||
break;
|
break;
|
||||||
|
case CHIP_VEGA20:
|
||||||
|
strcpy(fw_name, "amdgpu/vega20_smc.bin");
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
DRM_ERROR("SMC firmware not supported\n");
|
DRM_ERROR("SMC firmware not supported\n");
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
|
@ -45,6 +45,7 @@ MODULE_FIRMWARE("amdgpu/vegam_smc.bin");
|
||||||
MODULE_FIRMWARE("amdgpu/vega10_smc.bin");
|
MODULE_FIRMWARE("amdgpu/vega10_smc.bin");
|
||||||
MODULE_FIRMWARE("amdgpu/vega10_acg_smc.bin");
|
MODULE_FIRMWARE("amdgpu/vega10_acg_smc.bin");
|
||||||
MODULE_FIRMWARE("amdgpu/vega12_smc.bin");
|
MODULE_FIRMWARE("amdgpu/vega12_smc.bin");
|
||||||
|
MODULE_FIRMWARE("amdgpu/vega20_smc.bin");
|
||||||
|
|
||||||
int smum_thermal_avfs_enable(struct pp_hwmgr *hwmgr)
|
int smum_thermal_avfs_enable(struct pp_hwmgr *hwmgr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue