summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2024-07-30 15:33:23 -0400
committerAlex Deucher <alexander.deucher@amd.com>2024-10-07 14:32:23 -0400
commita3ab2d45b9887ee609cd3bea39f668236935774c (patch)
tree006db690b926d9bd51fe643685d3671064076e2c /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent012be6f22c01e25c995c30f1f178ac11820dfb65 (diff)
downloadlinux-stable-a3ab2d45b9887ee609cd3bea39f668236935774c.tar.gz
linux-stable-a3ab2d45b9887ee609cd3bea39f668236935774c.tar.bz2
linux-stable-a3ab2d45b9887ee609cd3bea39f668236935774c.zip
drm/amdkfd: SMI report dropped event count
Add new SMI event to report the dropped event count. When the event kfifo is full, drop count is not zero, or no enough space left to store the event message, increase drop count. After reading event out from kfifo, if event was dropped, drop_count is not zero, generate a dropped event record and reset drop count to zero. 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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions