drm/amd/powerplay: unhalt mec after loading
authorEvan Quan <evan.quan@amd.com>
Thu, 17 Aug 2017 07:25:04 +0000 (15:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 23 Aug 2017 21:18:45 +0000 (17:18 -0400)
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>
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c

index 76347ff6d6554b447e8e066c7ac81ef85562d4bc..c49a6f22002f77c9205d6e1973ee405e236f6008 100644 (file)
@@ -380,7 +380,8 @@ static int smu7_populate_single_firmware_entry(struct pp_smumgr *smumgr,
                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;
        else
                entry->flags = 0;