drm/amdkfd: Increase SMI event fifo size
authorPhilip Yang <Philip.Yang@amd.com>
Mon, 29 Jul 2024 18:42:18 +0000 (14:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Oct 2024 18:09:14 +0000 (14:09 -0400)
commit623f1dd63b8af0ba1de4cafd2ebdd450fe3581e5
tree6faea6da5e43596e17babfe09c914ce017a5dcab
parent1845752b2f6a8acd17949c83e41c5aba4bd4e2bb
drm/amdkfd: Increase SMI event fifo size

SMI event fifo size 1KB was enough to report GPU vm fault or reset
event, but could drop the more frequent SVM migration events. Increase
kfifo size to 8KB to store about 100 migrate events, less chance to drop
the migrate events if lots of migration happened in the short period of
time. Add KFD prefix to the macro name.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: James Zhu <James.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c