diff options
author | Philip Yang <Philip.Yang@amd.com> | 2022-02-25 12:33:51 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-03-02 18:40:05 -0500 |
commit | d58b8a99cbb84c1eb3b3613d23c1a328695a9455 (patch) | |
tree | 70647117a827841885c7e795e9df7069e5426964 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | 38abd56bed580c98e4284a578380f5f70634a0fd (diff) | |
download | linux-d58b8a99cbb84c1eb3b3613d23c1a328695a9455.tar.gz linux-d58b8a99cbb84c1eb3b3613d23c1a328695a9455.tar.bz2 linux-d58b8a99cbb84c1eb3b3613d23c1a328695a9455.zip |
drm/amdkfd: Add SMI add event helper
To remove duplicate code, unify event message format and simplify new
event add in the following patches.
Use KFD_SMI_EVENT_MSG_SIZE to define msg size, the same size will be
used in user space to alloc the msg receive buffer.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions