RE: [PATCH] drm/amd/pm: add abnormal fan detection for smu 13.0.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[AMD Official Use Only - General]

Reviewed-by: Evan Quan <evan.quan@xxxxxxx>

> -----Original Message-----
> From: amd-gfx <amd-gfx-bounces@xxxxxxxxxxxxxxxxxxxxx> On Behalf Of
> Kenneth Feng
> Sent: Tuesday, June 20, 2023 11:46 AM
> To: amd-gfx@xxxxxxxxxxxxxxxxxxxxx
> Cc: Feng, Kenneth <Kenneth.Feng@xxxxxxx>
> Subject: [PATCH] drm/amd/pm: add abnormal fan detection for smu 13.0.0
>
> add abnormal fan detection for smu 13.0.0
>
> Signed-off-by: Kenneth Feng <kenneth.feng@xxxxxxx>
> ---
>  drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
> b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
> index a6083957ae51..124287cbbff8 100644
> --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
> +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c
> @@ -1710,6 +1710,7 @@ static int
> smu_v13_0_0_get_thermal_temperature_range(struct smu_context *smu,
>       range->mem_emergency_max = (pptable-
> >SkuTable.TemperatureLimit[TEMP_MEM] + CTF_OFFSET_MEM)*
>               SMU_TEMPERATURE_UNITS_PER_CENTIGRADES;
>       range->software_shutdown_temp = powerplay_table-
> >software_shutdown_temp;
> +     range->software_shutdown_temp_offset = pptable-
> >SkuTable.FanAbnormalTempLimitOffset;
>
>       return 0;
>  }
> --
> 2.34.1





[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux