Lockdep spalt on killing a processes

Christian König ckoenig.leichtzumerken at gmail.com
Wed Oct 27 14:34:59 UTC 2021


Am 27.10.21 um 16:27 schrieb Andrey Grodzovsky:
> [SNIP]
>>
>>> Let me please know if I am still missing some point of yours.
>>
>> Well, I mean we need to be able to handle this for all drivers.
>
>
> For sure, but as i said above in my opinion we need to change only for 
> those drivers that don't use the _locked version.

And that absolutely won't work.

See the dma_fence is a contract between drivers, so you need the same 
calling convention between all drivers.

Either we always call the callback with the lock held or we always call 
it without the lock, but sometimes like that and sometimes otherwise 
won't work.

Christian.

>
> Andrey



More information about the amd-gfx mailing list