mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
drm/amd/powerplay: add smu if version for navi12
Fix version for navi12. Signed-off-by: Xiaojie Yuan <xiaojie.yuan@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
6cc47f3f96
commit
c1b6921209
@ -29,6 +29,7 @@
|
||||
#define SMU11_DRIVER_IF_VERSION_VG20 0x13
|
||||
#define SMU11_DRIVER_IF_VERSION_ARCT 0x12
|
||||
#define SMU11_DRIVER_IF_VERSION_NV10 0x35
|
||||
#define SMU11_DRIVER_IF_VERSION_NV12 0x33
|
||||
#define SMU11_DRIVER_IF_VERSION_NV14 0x36
|
||||
|
||||
/* MP Apertures */
|
||||
|
@ -275,6 +275,9 @@ int smu_v11_0_check_fw_version(struct smu_context *smu)
|
||||
case CHIP_NAVI10:
|
||||
smu->smc_if_version = SMU11_DRIVER_IF_VERSION_NV10;
|
||||
break;
|
||||
case CHIP_NAVI12:
|
||||
smu->smc_if_version = SMU11_DRIVER_IF_VERSION_NV12;
|
||||
break;
|
||||
case CHIP_NAVI14:
|
||||
smu->smc_if_version = SMU11_DRIVER_IF_VERSION_NV14;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user