diff options
| author | Andres Rodriguez <[email protected]> | 2017-04-06 04:10:53 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-05-31 20:48:58 +0000 |
| commit | 7b2124a5dd99b5b794943e26dbcc8ed62aed8d01 (patch) | |
| tree | c3bb0de0e2caf21bf48526c59aa10345b674e25f /drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c | |
| parent | drm/amdgpu: remove hardcoded queue_mask in PACKET3_SET_RESOURCES (diff) | |
| download | kernel-7b2124a5dd99b5b794943e26dbcc8ed62aed8d01.tar.gz kernel-7b2124a5dd99b5b794943e26dbcc8ed62aed8d01.zip | |
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 <[email protected]>
Signed-off-by: Andres Rodriguez <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_queue_mgr.c')
0 files changed, 0 insertions, 0 deletions
