Commit c1b69212 authored by Xiaojie Yuan's avatar Xiaojie Yuan Committed by Alex Deucher

drm/amd/powerplay: add smu if version for navi12

Fix version for navi12.
Signed-off-by: default avatarXiaojie Yuan <xiaojie.yuan@amd.com>
Reviewed-by: default avatarHawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 6cc47f3f
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#define SMU11_DRIVER_IF_VERSION_VG20 0x13 #define SMU11_DRIVER_IF_VERSION_VG20 0x13
#define SMU11_DRIVER_IF_VERSION_ARCT 0x12 #define SMU11_DRIVER_IF_VERSION_ARCT 0x12
#define SMU11_DRIVER_IF_VERSION_NV10 0x35 #define SMU11_DRIVER_IF_VERSION_NV10 0x35
#define SMU11_DRIVER_IF_VERSION_NV12 0x33
#define SMU11_DRIVER_IF_VERSION_NV14 0x36 #define SMU11_DRIVER_IF_VERSION_NV14 0x36
/* MP Apertures */ /* MP Apertures */
......
...@@ -275,6 +275,9 @@ int smu_v11_0_check_fw_version(struct smu_context *smu) ...@@ -275,6 +275,9 @@ int smu_v11_0_check_fw_version(struct smu_context *smu)
case CHIP_NAVI10: case CHIP_NAVI10:
smu->smc_if_version = SMU11_DRIVER_IF_VERSION_NV10; smu->smc_if_version = SMU11_DRIVER_IF_VERSION_NV10;
break; break;
case CHIP_NAVI12:
smu->smc_if_version = SMU11_DRIVER_IF_VERSION_NV12;
break;
case CHIP_NAVI14: case CHIP_NAVI14:
smu->smc_if_version = SMU11_DRIVER_IF_VERSION_NV14; smu->smc_if_version = SMU11_DRIVER_IF_VERSION_NV14;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment