[AMD Official Use Only - AMD Internal Distribution Only]
I might have worded that poorly, I meant that it seems like TLB flush is out of sync with the SDMA update, which leads to a page fault reliably. I don't feel it has anything to do with the implicit sync in itself. When TLB fence is created it's added to the
dma_resv of the vm's root buffer object with BOOKKEEP usage specified, in order to make sure no PD/PT is freed before the flush. But I don't think it's being added as a job dependency within the amdgpu_vm_sdma_update, we're adding all the fences found within
the dma_resv object with KERNEL usage specified. I may be missing something so I'd love to hear what you think.
Best regards,
Dejan
From: Koenig, Christian <Christian.Koenig@xxxxxxx>
Sent: Thursday, September 5, 2024 2:40 PM To: Andjelkovic, Dejan <Dejan.Andjelkovic@xxxxxxx>; amd-gfx@xxxxxxxxxxxxxxxxxxxxx <amd-gfx@xxxxxxxxxxxxxxxxxxxxx> Cc: Prica, Nikola <Nikola.Prica@xxxxxxx>; Kuehling, Felix <Felix.Kuehling@xxxxxxx>; Deng, Emily <Emily.Deng@xxxxxxx> Subject: Re: [PATCH] drm/amdgpu: Raise dma resv usage for created TLB fence Well that explanation doesn't seem to make much sense either.
What do you mean with TLB flush is occurring prematurely? Regards, Christian. Am 05.09.24 um 14:38 schrieb Andjelkovic, Dejan:
|