Commit 5a0918b4 authored by Tim Huang's avatar Tim Huang Committed by Alex Deucher
Browse files

drm/amd/pm: Enable GFXOFF feature for SMU IP v13.0.4



The driver needs to set EnableGfxImu message parameter to tell the PMFW
to set the flag that enables the GFXOFF feature.

Signed-off-by: default avatarTim Huang <tim.huang@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent fa0bbd3b
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -2345,8 +2345,8 @@ int smu_v13_0_set_gfx_power_up_by_imu(struct smu_context *smu)


	index = smu_cmn_to_asic_specific_index(smu, CMN2ASIC_MAPPING_MSG,
	index = smu_cmn_to_asic_specific_index(smu, CMN2ASIC_MAPPING_MSG,
					       SMU_MSG_EnableGfxImu);
					       SMU_MSG_EnableGfxImu);

	/* Param 1 to tell PMFW to enable GFXOFF feature */
	return smu_cmn_send_msg_without_waiting(smu, index, 0);
	return smu_cmn_send_msg_without_waiting(smu, index, 1);
}
}


int smu_v13_0_od_edit_dpm_table(struct smu_context *smu,
int smu_v13_0_od_edit_dpm_table(struct smu_context *smu,