drm/amd/powerplay: update smu10_verify_smc_interface() to be raven2 compatible
Check the raven2 version number as well. Signed-off-by: Evan Quan <evan.quan@amd.com> Reviewed-by: Huang Rui <ray.huang@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
1a4d427dd2
commit
3e9d06b56f
1 changed files with 2 additions and 1 deletions
|
|
@ -177,7 +177,8 @@ static int smu10_verify_smc_interface(struct pp_hwmgr *hwmgr)
|
|||
PPSMC_MSG_GetDriverIfVersion);
|
||||
smc_driver_if_version = smu10_read_arg_from_smc(hwmgr);
|
||||
|
||||
if (smc_driver_if_version != SMU10_DRIVER_IF_VERSION) {
|
||||
if ((smc_driver_if_version != SMU10_DRIVER_IF_VERSION) &&
|
||||
(smc_driver_if_version != SMU10_DRIVER_IF_VERSION + 1)) {
|
||||
pr_err("Attempt to read SMC IF Version Number Failed!\n");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue