[PATCH] drm/amdgpu: Attach exclusive fence to prime exported bo's. (v3)
Christian König
deathsimple at vodafone.de
Tue Nov 8 10:13:31 UTC 2016
Am 07.11.2016 um 20:20 schrieb Mario Kleiner:
> On 11/07/2016 08:55 AM, Christian König wrote:
>> Am 07.11.2016 um 04:29 schrieb Michel Dänzer:
>> Also, I think we should set bo->prime_exported (prime_shared?) in
>> amdgpu_gem_prime_import_sg_table as well, so that we'll also set
>> exclusive fences on BOs imported from other GPUs.
>> Yes, really good idea.
>>
>
> Ok. I guess we don't need to wait for fences there before setting the
> flag/counter, as we can't have done anything yet with the bo just
> created from the imported sg_table?
Correct, waiting at this point shouldn't be necessary.
Regards,
Christian.
More information about the amd-gfx
mailing list