[RFC] Problems with SRBM select on KIQ
david1.zhou at amd.com
Tue May 9 02:45:05 UTC 2017
On 2017年05月06日 06:57, Felix Kuehling wrote:
> We ran into a similar problem when we played with priorities on KFD
> queues. You can't change an MQD of a currently mapped queue. To change a
> queue priority we need to unmap it, update the MQD, and then map it again.
I wonder if there is similar requirement when engine soft reset happens.
We encounter the issue that KIQ doesn't work any more after gfx/compute
engine soft reset.
> I wonder if a queue can change its own priority by using register write
> commands in the queue itself.
> On 17-05-05 06:40 PM, Alex Deucher wrote:
>> On Fri, May 5, 2017 at 1:10 PM, Andres Rodriguez <andresx7 at gmail.com> wrote:
>>> Hey Everyone,
>>> On one of the previous comments for this series I received feedback that
>>> the register programming should be done through the KIQ. This series has
>>> the relevant changes.
>>> However, register writes that require an srbm_select are not working
>>> correctly. The effect is as if the write never happened.
>>> Maybe I'm just doing something silly or dumb in here, but I can't really
>>> see it. Possibly the way I try to perform the srbm_select for KIQ?
>>> Any feedback on this issue is appreciated.
>> I think to make this work, you'd probably need to do is unmap the
>> queue, update the priority in the mqd, and then map it again. It's
>> probably more efficient to use runlists, but that is a lot of work.
>> amd-gfx mailing list
>> amd-gfx at lists.freedesktop.org
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
More information about the amd-gfx