mirror of https://gitee.com/openkylin/linux.git
drm/amdgpu: add ACG SMU firmware for other vega10 variants
Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
a80c929442
commit
747f6c921d
|
@ -719,7 +719,13 @@ static int amdgpu_cgs_get_firmware_info(struct cgs_device *cgs_device,
|
||||||
strcpy(fw_name, "amdgpu/polaris12_smc.bin");
|
strcpy(fw_name, "amdgpu/polaris12_smc.bin");
|
||||||
break;
|
break;
|
||||||
case CHIP_VEGA10:
|
case CHIP_VEGA10:
|
||||||
strcpy(fw_name, "amdgpu/vega10_smc.bin");
|
if ((adev->pdev->device == 0x687f) &&
|
||||||
|
((adev->pdev->revision == 0xc0) ||
|
||||||
|
(adev->pdev->revision == 0xc1) ||
|
||||||
|
(adev->pdev->revision == 0xc3)))
|
||||||
|
strcpy(fw_name, "amdgpu/vega10_acg_smc.bin");
|
||||||
|
else
|
||||||
|
strcpy(fw_name, "amdgpu/vega10_smc.bin");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
DRM_ERROR("SMC firmware not supported\n");
|
DRM_ERROR("SMC firmware not supported\n");
|
||||||
|
|
|
@ -62,8 +62,6 @@
|
||||||
#include "dce_virtual.h"
|
#include "dce_virtual.h"
|
||||||
#include "mxgpu_ai.h"
|
#include "mxgpu_ai.h"
|
||||||
|
|
||||||
MODULE_FIRMWARE("amdgpu/vega10_smc.bin");
|
|
||||||
|
|
||||||
#define mmFabricConfigAccessControl 0x0410
|
#define mmFabricConfigAccessControl 0x0410
|
||||||
#define mmFabricConfigAccessControl_BASE_IDX 0
|
#define mmFabricConfigAccessControl_BASE_IDX 0
|
||||||
#define mmFabricConfigAccessControl_DEFAULT 0x00000000
|
#define mmFabricConfigAccessControl_DEFAULT 0x00000000
|
||||||
|
|
|
@ -43,7 +43,8 @@ MODULE_FIRMWARE("amdgpu/polaris11_smc.bin");
|
||||||
MODULE_FIRMWARE("amdgpu/polaris11_smc_sk.bin");
|
MODULE_FIRMWARE("amdgpu/polaris11_smc_sk.bin");
|
||||||
MODULE_FIRMWARE("amdgpu/polaris11_k_smc.bin");
|
MODULE_FIRMWARE("amdgpu/polaris11_k_smc.bin");
|
||||||
MODULE_FIRMWARE("amdgpu/polaris12_smc.bin");
|
MODULE_FIRMWARE("amdgpu/polaris12_smc.bin");
|
||||||
|
MODULE_FIRMWARE("amdgpu/vega10_smc.bin");
|
||||||
|
MODULE_FIRMWARE("amdgpu/vega10_acg_smc.bin");
|
||||||
|
|
||||||
int smum_early_init(struct pp_instance *handle)
|
int smum_early_init(struct pp_instance *handle)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue