diff options
author | Kent Russell <kent.russell@amd.com> | 2020-02-12 09:33:13 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-02-12 16:04:31 -0500 |
commit | 00151afc6ff94bf38bf66dbdf377b26a94aaa8e6 (patch) | |
tree | c0f1673c208b784f31690d2933208eeab1250fb8 /drivers/gpu/drm/amd/display | |
parent | 79275af61eb2bef8d5ca0fc39b4ff7dc416b21cf (diff) | |
download | linux-00151afc6ff94bf38bf66dbdf377b26a94aaa8e6.tar.gz linux-00151afc6ff94bf38bf66dbdf377b26a94aaa8e6.tar.bz2 linux-00151afc6ff94bf38bf66dbdf377b26a94aaa8e6.zip |
drm/powerplay: Ratelimit PP_ASSERT warnings
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.
Signed-off-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display')
0 files changed, 0 insertions, 0 deletions