drm/amdgpu: Limit the error info print rate
authorjqdeng <Emily.Deng@amd.com>
Thu, 30 Jul 2020 06:48:40 +0000 (14:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 18 Aug 2020 22:22:10 +0000 (18:22 -0400)
commit8e1d88f948f33f2e34dbf13c3e9fc4228f1331af
tree35cf8ad4a8a59ce9b2fbc2796a114e836044fe65
parent9a1cddd6374fb1eb166f40f10d5411e3699066d4
drm/amdgpu: Limit the error info print rate

Use function printk_ratelimit to limit the print rate.

Signed-off-by: jqdeng <Emily.Deng@amd.com>
Acked-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c