Skip to content

Commit da552bd

Browse files
Kenneth Fengalexdeucher
authored andcommitted
drm/amd/pm: always allow ih interrupt from fw
always allow ih interrupt from fw on smu v14 based on the interface requirement Signed-off-by: Kenneth Feng <kenneth.feng@amd.com> Reviewed-by: Yang Wang <kevinyang.wang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> (cherry picked from commit a3199eb) Cc: stable@vger.kernel.org # 6.12.x
1 parent 29ffeb7 commit da552bd

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,16 +1895,6 @@ static int smu_v14_0_allow_ih_interrupt(struct smu_context *smu)
18951895
NULL);
18961896
}
18971897

1898-
static int smu_v14_0_process_pending_interrupt(struct smu_context *smu)
1899-
{
1900-
int ret = 0;
1901-
1902-
if (smu_cmn_feature_is_enabled(smu, SMU_FEATURE_ACDC_BIT))
1903-
ret = smu_v14_0_allow_ih_interrupt(smu);
1904-
1905-
return ret;
1906-
}
1907-
19081898
int smu_v14_0_enable_thermal_alert(struct smu_context *smu)
19091899
{
19101900
int ret = 0;
@@ -1916,7 +1906,7 @@ int smu_v14_0_enable_thermal_alert(struct smu_context *smu)
19161906
if (ret)
19171907
return ret;
19181908

1919-
return smu_v14_0_process_pending_interrupt(smu);
1909+
return smu_v14_0_allow_ih_interrupt(smu);
19201910
}
19211911

19221912
int smu_v14_0_disable_thermal_alert(struct smu_context *smu)

0 commit comments

Comments
 (0)