PRT support for amdgpu v3

Christian König deathsimple at vodafone.de
Mon Feb 13 14:13:08 UTC 2017


Hi Nicolai,

that one should be fixed by "drm/amdgpu: fix PRT cleanup order in the 
VM". Please test and/or review.

Thanks,
Christian.

Am 12.02.2017 um 12:36 schrieb Nicolai Hähnle:
> Hi,
>
> Some more testing uncovered a bug in cleanup paths. When the 
> application segfaults while PRT mappings exist, I get a WARN_ON (which 
> seems fairly straightforward) and occasionally also an RCU error 
> warning -- see the attached dmesg logs.
>
> Regular application shutdown works fine, though.
>
> Cheers,
> Nicolai
>
> On 08.02.2017 16:04, Christian König wrote:
>> Hi guys,
>>
>> ok I finally found time to write an unit test for this and hammered 
>> out the last few bugs.
>>
>> Seems to work fine on my Tonga now. Please note that this set is 
>> based on "fix race in GEM VA map IOCTL v2", without that patch you 
>> will run into a NULL pointer dereference during PRT mapping.
>>
>> Going to send out the unit test in a minute.
>>
>> Regards,
>> Christian.
>>
>> _______________________________________________
>> amd-gfx mailing list
>> amd-gfx at lists.freedesktop.org
>> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>>
>



More information about the amd-gfx mailing list