]> www.infradead.org Git - users/dwmw2/linux.git/commit
drm/amdkfd: Enable per process SMI event
authorPhilip Yang <Philip.Yang@amd.com>
Thu, 13 Jan 2022 23:59:02 +0000 (18:59 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Jun 2022 19:30:47 +0000 (15:30 -0400)
commit163a5a58437062ce4dbef2aab6de4d784043bcf5
tree9954e2d99702a5bb7c4a6d5933ab09f1dc3dfba1
parentd7cfea332cca483ccd3970ed4de73ed892643e51
drm/amdkfd: Enable per process SMI event

Process receive event from same process by default. Add a flag to be
able to receive event from all processes, this requires super user
permission.

Event using pid 0 to send the event to all processes, to keep the
default behavior of existing SMI events.

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>
drivers/gpu/drm/amd/amdkfd/kfd_smi_events.c