Commit 42f72d0b authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher

drm/amd/powerplay: add error message to remind user updating firmware

Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Reviewed-by: default avatarEvan Quan <evan.quan@amd.com>
Reviewed-by: default avatarEdward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 7ad87b96
...@@ -369,8 +369,11 @@ static int vega10_verify_smc_interface(struct pp_smumgr *smumgr) ...@@ -369,8 +369,11 @@ static int vega10_verify_smc_interface(struct pp_smumgr *smumgr)
"Attempt to read SMC IF Version Number Failed!", "Attempt to read SMC IF Version Number Failed!",
return -1); return -1);
if (smc_driver_if_version != SMU9_DRIVER_IF_VERSION) if (smc_driver_if_version != SMU9_DRIVER_IF_VERSION) {
return -1; pr_err("Your firmware(0x%x) doesn't match SMU9_DRIVER_IF_VERSION(0x%x). Please update your firmware!\n",
smc_driver_if_version, SMU9_DRIVER_IF_VERSION);
return -EINVAL;
}
return 0; return 0;
} }
......
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