Re: [PATCH 1/2] drm/amdgpu: Export function to flush TLB of specific vm hub

2019-08-14 Thread Koenig, Christian
Am 09.08.19 um 06:21 schrieb Zeng, Oak: > This is for kfd to reuse amdgpu TLB invalidation function. > On gfx10, kfd only needs to flush TLB on gfx hub but not > on mm hub. So export a function for KFD flush TLB only on > specific hub. > > Change-Id: I58ff00969f88438cfd3dc7e9deb7bff0c1bb4133 > Sign

RE: [PATCH 1/2] drm/amdgpu: Export function to flush TLB of specific vm hub

2019-08-13 Thread Zeng, Oak
/amdgpu: Export function to flush TLB of specific vm hub This is for kfd to reuse amdgpu TLB invalidation function. On gfx10, kfd only needs to flush TLB on gfx hub but not on mm hub. So export a function for KFD flush TLB only on specific hub. Change-Id: I58ff00969f88438cfd3dc7e9deb7bff0c1bb4133

[PATCH 1/2] drm/amdgpu: Export function to flush TLB of specific vm hub

2019-08-08 Thread Zeng, Oak
This is for kfd to reuse amdgpu TLB invalidation function. On gfx10, kfd only needs to flush TLB on gfx hub but not on mm hub. So export a function for KFD flush TLB only on specific hub. Change-Id: I58ff00969f88438cfd3dc7e9deb7bff0c1bb4133 Signed-off-by: Oak Zeng --- drivers/gpu/drm/amd/amdgpu/

RE: [PATCH 1/2] drm/amdgpu: Export function to flush TLB of specific vm hub

2019-08-07 Thread Zeng, Oak
tity, > AMDGPU_FENCE_OWNER_UNDEFINED, &fence); > > Regards, > Oak > > -Original Message- > From: Christian König > Sent: Monday, August 5, 2019 5:37 AM > To: Zeng, Oak ; amd-gfx@lists.freedesktop.org > Cc: Kuehling, Felix ; Zhou1, Ta

Re: [PATCH 1/2] drm/amdgpu: Export function to flush TLB of specific vm hub

2019-08-07 Thread Christian König
2019 5:37 AM To: Zeng, Oak ; amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix ; Zhou1, Tao ; Liu, Shaoyun Subject: Re: [PATCH 1/2] drm/amdgpu: Export function to flush TLB of specific vm hub Am 02.08.19 um 18:04 schrieb Zeng, Oak: This is for kfd to reuse amdgpu TLB invalidation funct

RE: [PATCH 1/2] drm/amdgpu: Export function to flush TLB of specific vm hub

2019-08-06 Thread Zeng, Oak
König Sent: Monday, August 5, 2019 5:37 AM To: Zeng, Oak ; amd-gfx@lists.freedesktop.org Cc: Kuehling, Felix ; Zhou1, Tao ; Liu, Shaoyun Subject: Re: [PATCH 1/2] drm/amdgpu: Export function to flush TLB of specific vm hub Am 02.08.19 um 18:04 schrieb Zeng, Oak: > This is for kfd to reus

Re: [PATCH 1/2] drm/amdgpu: Export function to flush TLB of specific vm hub

2019-08-05 Thread Christian König
Am 02.08.19 um 18:04 schrieb Zeng, Oak: This is for kfd to reuse amdgpu TLB invalidation function. There is already a gmc function flush_gpu_tlb to flush TLB on all vm hub. On gfx10, kfd only needs to flush TLB on gfx hub but not on mm hub. So export a function for KFD flush TLB only on gfx hub.

[PATCH 1/2] drm/amdgpu: Export function to flush TLB of specific vm hub

2019-08-02 Thread Zeng, Oak
This is for kfd to reuse amdgpu TLB invalidation function. There is already a gmc function flush_gpu_tlb to flush TLB on all vm hub. On gfx10, kfd only needs to flush TLB on gfx hub but not on mm hub. So export a function for KFD flush TLB only on gfx hub. Change-Id: I58ff00969f88438cfd3dc7e9deb7b