Explorar o código

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>
Evan Quan %!s(int64=8) %!d(string=hai) anos
pai
achega
86b03b3321
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c

+ 2 - 1
drivers/gpu/drm/amd/powerplay/smumgr/smu7_smumgr.c

@@ -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;