linux/drivers/gpu/drm/amd
Felix Kuehling b5aa3f4aef drm/amdkfd: Call kfd2kgd.set_compute_idle
User mode queue submissions don't go through KFD. Therefore we don't
know exactly when compute is idle or not idle. We use the existence
of user mode queues on a device as an approximation.

register_process is called when the first queue of a process is
created. Conversely unregister_process is called when the last queue
is destroyed. The first process that is registered takes compute
out of idle. The last process that is unregisters sets compute back
to idle.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Eric Huang <JinHuiEric.Huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
2018-07-16 19:10:37 -04:00
..
acp drm/amdgpu: Remove wrapper layer of cgs irq handling 2018-03-21 14:36:58 -05:00
amdgpu drm/amdgpu: Add kfd2kgd.set_compute_idle interface 2018-07-16 19:10:36 -04:00
amdkfd drm/amdkfd: Call kfd2kgd.set_compute_idle 2018-07-16 19:10:37 -04:00
display drm/amd/display: DC 3.1.58 2018-07-24 15:16:07 -05:00
include drm/amdgpu: Add kfd2kgd.set_compute_idle interface 2018-07-16 19:10:36 -04:00
lib drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
powerplay drm/amd/powerplay: allow slow switch only if NBPState enabled v2 2018-07-24 15:14:35 -05:00