diff options
author | Evan Quan <evan.quan@amd.com> | 2017-08-17 03:25:04 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-29 15:27:38 -0400 |
commit | 9dd73b1e89d7eb3f5c0a00aa264e473364ba1aa6 (patch) | |
tree | c86e512c4548eb7ac57184dda4c0e21e41765c2f | |
parent | ddbb5313502f89fb41dbec209427f1a21f628441 (diff) |
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>
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c index 76347ff6d655..c49a6f22002f 100644 --- a/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c +++ b/drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c | |||
@@ -380,7 +380,8 @@ static int smu7_populate_single_firmware_entry(struct pp_smumgr *smumgr, | |||
380 | entry->num_register_entries = 0; | 380 | entry->num_register_entries = 0; |
381 | } | 381 | } |
382 | 382 | ||
383 | if (fw_type == UCODE_ID_RLC_G) | 383 | if ((fw_type == UCODE_ID_RLC_G) |
384 | || (fw_type == UCODE_ID_CP_MEC)) | ||
384 | entry->flags = 1; | 385 | entry->flags = 1; |
385 | else | 386 | else |
386 | entry->flags = 0; | 387 | entry->flags = 0; |