Home
last modified time | relevance | path

Searched refs:throttling_logging_rs (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c1648 adev->throttling_logging_rs.interval / HZ + 1); in amdgpu_get_thermal_throttling_logging()
1670 raw_spin_lock_irqsave(&adev->throttling_logging_rs.lock, flags); in amdgpu_set_thermal_throttling_logging()
1675 adev->throttling_logging_rs.interval = in amdgpu_set_thermal_throttling_logging()
1677 adev->throttling_logging_rs.begin = 0; in amdgpu_set_thermal_throttling_logging()
1678 adev->throttling_logging_rs.printed = 0; in amdgpu_set_thermal_throttling_logging()
1679 adev->throttling_logging_rs.missed = 0; in amdgpu_set_thermal_throttling_logging()
1680 raw_spin_unlock_irqrestore(&adev->throttling_logging_rs.lock, flags); in amdgpu_set_thermal_throttling_logging()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu.h1044 struct ratelimit_state throttling_logging_rs; member
H A Damdgpu_device.c3614 ratelimit_state_init(&adev->throttling_logging_rs, (60 - 1) * HZ, 1); in amdgpu_device_init()
3615 ratelimit_set_flags(&adev->throttling_logging_rs, RATELIMIT_MSG_ON_RELEASE); in amdgpu_device_init()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu11/
H A Dsmu_v11_0.c1460 if (__ratelimit(&adev->throttling_logging_rs)) in smu_v11_0_irq_process()
/openbmc/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_6_ppt.c1306 if (__ratelimit(&adev->throttling_logging_rs)) { in smu_v13_0_6_irq_process()
H A Dsmu_v13_0.c1396 if (__ratelimit(&adev->throttling_logging_rs)) in smu_v13_0_irq_process()