drm/amd/powerplay: unhalt mec after loading

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:
Evan Quan 2017-08-17 15:25:04 +08:00 committed by Alex Deucher
parent 766cff839d
commit 86b03b3321
1 changed files with 2 additions and 1 deletions

View File

@ -380,7 +380,8 @@ static int smu7_populate_single_firmware_entry(struct pp_smumgr *smumgr,
entry->num_register_entries = 0; entry->num_register_entries = 0;
} }
if (fw_type == UCODE_ID_RLC_G) if ((fw_type == UCODE_ID_RLC_G)
|| (fw_type == UCODE_ID_CP_MEC))
entry->flags = 1; entry->flags = 1;
else else
entry->flags = 0; entry->flags = 0;