]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amd/pm: add flood detection for wbrf events
authorEvan Quan <quanliangl@hotmail.com>
Mon, 11 Dec 2023 10:06:28 +0000 (18:06 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 13 Dec 2023 20:23:50 +0000 (15:23 -0500)
commit71f69557cb12a4674a05b4c5fb730880f13366b1
treeb9ad7e9095ce766917cf06c175fbfc1361ff8638
parentb8b39de646274366d17a3614fdaf65fa0716ab32
drm/amd/pm: add flood detection for wbrf events

To protect PMFW from being overloaded.

Signed-off-by: Evan Quan <quanliangl@hotmail.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Ma Jun <Jun.Ma2@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h