]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc99d6ffbe8a52972a7c695655069e119014f12da
tree35cf8ad4a8a59ce9b2fbc2796a114e836044fe65
parent44c48a588c776ab0f47aefb627f44b2ae1af041c
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