linux/drivers/gpu/drm/amd
Andres Rodriguez 7b2124a5dd drm/amdgpu: avoid KIQ clashing with compute or KFD queues v2
Instead of picking an arbitrary queue for KIQ, search for one according
to policy. The queue must be unused.

Also report the KIQ as an unavailable resource to KFD.

In testing I ran into KCQ initialization issues when using pipes 2/3 of
MEC2 for the KIQ. Therefore the policy disallows grabbing one of these.

v2: fix (ring.me + 1) to (ring.me -1) in amdgpu_amdkfd_device_init

Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-05-31 16:48:58 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu drm/amdgpu: avoid KIQ clashing with compute or KFD queues v2 2017-05-31 16:48:58 -04:00
amdkfd drm/amdkfd: allow split HQD on per-queue granularity v5 2017-05-31 16:48:54 -04:00
include drm/amdkfd: allow split HQD on per-queue granularity v5 2017-05-31 16:48:54 -04:00
powerplay drm/amd/powerplay: code clean up in vega10_hwmgr.c 2017-05-31 14:16:42 -04:00
scheduler drm/amdgpu/SRIOV:implement guilty job TDR for(V2) 2017-05-24 17:40:40 -04:00