Re: [PATCH] drm/powerplay: Ratelimit PP_ASSERT warnings

2020-02-12 Thread Alex Deucher
On Wed, Feb 12, 2020 at 9:39 AM Kent Russell wrote: > > In certain situations the message could be reported dozens-to-hundreds of > times, based on how often the function is called. > E.g. If MCLK DPM, any calls to get/set MCLK will result in a failure > message, potentially flooding dmesg.

[PATCH] drm/powerplay: Ratelimit PP_ASSERT warnings

2020-02-12 Thread Kent Russell
In certain situations the message could be reported dozens-to-hundreds of times, based on how often the function is called. E.g. If MCLK DPM, any calls to get/set MCLK will result in a failure message, potentially flooding dmesg. Ratelimit the warnings to avoid this flood. Change-Id: