Re: [PATCH 15/26] drm/amdgpu: avoid KIQ clashing with compute or KFD queues

2017-04-11 Thread Felix Kuehling
See comment inline [FK]. On 17-04-06 02:21 AM, Andres Rodriguez wrote: > 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

[PATCH 15/26] drm/amdgpu: avoid KIQ clashing with compute or KFD queues

2017-04-06 Thread Andres Rodriguez
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