drm/amd/powerplay: Ratelimit all "was not implemented" messages
authorJoerg Roedel <jroedel@suse.de>
Thu, 15 Nov 2018 13:40:29 +0000 (14:40 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Nov 2018 20:27:44 +0000 (15:27 -0500)
commit527aa2a0ac241d3ecc02c628db50b16d87e646e0
tree74ad4e3d4ecc0f81ce75d42c852409b545df5e57
parentd7203171177aa8063e8a80cbc7988386e5c0ceda
drm/amd/powerplay: Ratelimit all "was not implemented" messages

Running kfdtest on an AMD Carizzo flooded the kernel log
with thousands of these "was not implemented" messages,
making it impossible to see other messages there.

Ratelimit the messages to prevent user-space from flooding
the kernel log.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amd_powerplay.c