Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Kenneth Feng and committed by
Alex Deucher
a3199eba 6ef5ccaa

+1 -11
+1 -11
drivers/gpu/drm/amd/pm/swsmu/smu14/smu_v14_0.c
··· 1949 1949 NULL); 1950 1950 } 1951 1951 1952 - static int smu_v14_0_process_pending_interrupt(struct smu_context *smu) 1953 - { 1954 - int ret = 0; 1955 - 1956 - if (smu_cmn_feature_is_enabled(smu, SMU_FEATURE_ACDC_BIT)) 1957 - ret = smu_v14_0_allow_ih_interrupt(smu); 1958 - 1959 - return ret; 1960 - } 1961 - 1962 1952 int smu_v14_0_enable_thermal_alert(struct smu_context *smu) 1963 1953 { 1964 1954 int ret = 0; ··· 1960 1970 if (ret) 1961 1971 return ret; 1962 1972 1963 - return smu_v14_0_process_pending_interrupt(smu); 1973 + return smu_v14_0_allow_ih_interrupt(smu); 1964 1974 } 1965 1975 1966 1976 int smu_v14_0_disable_thermal_alert(struct smu_context *smu)