search for: kfd

Displaying 19 results from an estimated 19 matches for "kfd".

Did you mean: fd
2019 Nov 01
1
[PATCH v2 14/15] drm/amdgpu: Use mmu_range_notifier instead of hmm_mirror
...le should be before mutex_lock, I can move > it up > yes, thanks. > Also, do you know if notifier_lock is held while calling > amdgpu_ttm_tt_get_user_pages_done()? Can we add a 'lock assert held' > to amdgpu_ttm_tt_get_user_pages_done()? > gpu side hold notifier_lock but kfd side doesn't. kfd side doesn't check amdgpu_ttm_tt_get_user_pages_done/mmu_range_read_retry return value but check mem->invalid flag which is updated from invalidate callback. It takes more time to change, I will come to another patch to fix it later. >> @@ -854,12 +853,20 @@ i...
2019 Nov 01
2
[PATCH v2 14/15] drm/amdgpu: Use mmu_range_notifier instead of hmm_mirror
On Fri, Nov 01, 2019 at 02:44:51PM +0000, Yang, Philip wrote: > > > On 2019-10-29 3:25 p.m., Jason Gunthorpe wrote: > > On Tue, Oct 29, 2019 at 07:22:37PM +0000, Yang, Philip wrote: > >> Hi Jason, > >> > >> I did quick test after merging amd-staging-drm-next with the > >> mmu_notifier branch, which includes this set changes. The test result >
2019 Nov 01
2
[PATCH v2 14/15] drm/amdgpu: Use mmu_range_notifier instead of hmm_mirror
...er_lock)) > return false; > >>> Also, do you know if notifier_lock is held while calling >>> amdgpu_ttm_tt_get_user_pages_done()? Can we add a 'lock assert held' >>> to amdgpu_ttm_tt_get_user_pages_done()? >> >> gpu side hold notifier_lock but kfd side doesn't. kfd side doesn't check >> amdgpu_ttm_tt_get_user_pages_done/mmu_range_read_retry return value but >> check mem->invalid flag which is updated from invalidate callback. It >> takes more time to change, I will come to another patch to fix it later. > &gt...
2019 Aug 06
2
[PATCH 15/15] amdgpu: remove CONFIG_DRM_AMDGPU_USERPTR
...t; drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 12 ------------ > >> 4 files changed, 2 insertions(+), 28 deletions(-) > > Felix, was this an effort to avoid the arch restriction on hmm or > > something? Also can't see why this was like this. > > This option predates KFD's support of userptrs, which in turn predates > HMM. Radeon has the same kind of option, though it doesn't affect HMM in > that case. > > Alex, Christian, can you think of a good reason to maintain userptr > support as an option in amdgpu? I suspect it was originally meant as...
2019 Nov 01
0
[PATCH v2 14/15] drm/amdgpu: Use mmu_range_notifier instead of hmm_mirror
...ylock(&adev->notifier_lock)) return false; > > Also, do you know if notifier_lock is held while calling > > amdgpu_ttm_tt_get_user_pages_done()? Can we add a 'lock assert held' > > to amdgpu_ttm_tt_get_user_pages_done()? > > gpu side hold notifier_lock but kfd side doesn't. kfd side doesn't check > amdgpu_ttm_tt_get_user_pages_done/mmu_range_read_retry return value but > check mem->invalid flag which is updated from invalidate callback. It > takes more time to change, I will come to another patch to fix it later. Ah.. confusing, O...
2019 Aug 06
2
[PATCH 15/15] amdgpu: remove CONFIG_DRM_AMDGPU_USERPTR
On Tue, Aug 06, 2019 at 07:05:53PM +0300, Christoph Hellwig wrote: > The option is just used to select HMM mirror support and has a very > confusing help text. Just pull in the HMM mirror code by default > instead. > > Signed-off-by: Christoph Hellwig <hch at lst.de> > --- > drivers/gpu/drm/Kconfig | 2 ++ > drivers/gpu/drm/amd/amdgpu/Kconfig
2019 Aug 07
1
[PATCH 15/15] amdgpu: remove CONFIG_DRM_AMDGPU_USERPTR
...amdgpu/amdgpu_ttm.h | 12 ------------ >>>>> 4 files changed, 2 insertions(+), 28 deletions(-) >>>> Felix, was this an effort to avoid the arch restriction on hmm or >>>> something? Also can't see why this was like this. >>> This option predates KFD's support of userptrs, which in turn predates >>> HMM. Radeon has the same kind of option, though it doesn't affect HMM in >>> that case. >>> >>> Alex, Christian, can you think of a good reason to maintain userptr >>> support as an option in amdg...
2019 Aug 06
0
[PATCH 15/15] amdgpu: remove CONFIG_DRM_AMDGPU_USERPTR
...ttm.c | 6 ------ >> drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.h | 12 ------------ >> 4 files changed, 2 insertions(+), 28 deletions(-) > Felix, was this an effort to avoid the arch restriction on hmm or > something? Also can't see why this was like this. This option predates KFD's support of userptrs, which in turn predates HMM. Radeon has the same kind of option, though it doesn't affect HMM in that case. Alex, Christian, can you think of a good reason to maintain userptr support as an option in amdgpu? I suspect it was originally meant as a way to allow kern...
2019 Aug 06
0
[PATCH 15/15] amdgpu: remove CONFIG_DRM_AMDGPU_USERPTR
...amdgpu/amdgpu_ttm.h | 12 ------------ > > >> 4 files changed, 2 insertions(+), 28 deletions(-) > > > Felix, was this an effort to avoid the arch restriction on hmm or > > > something? Also can't see why this was like this. > > > > This option predates KFD's support of userptrs, which in turn predates > > HMM. Radeon has the same kind of option, though it doesn't affect HMM in > > that case. > > > > Alex, Christian, can you think of a good reason to maintain userptr > > support as an option in amdgpu? I suspect i...
2020 Apr 04
0
[PATCH 1/6] amdgpu: a NULL ->mm does not mean a thread is a kthread
Use the proper API instead. Fixes: 70539bd795002 ("drm/amd: Update MEC HQD loading code for KFD") Signed-off-by: Christoph Hellwig <hch at lst.de> --- drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.h index 13feb313e9b3..4db143c19dcc...
2015 Jul 07
2
CUDA fixed VA allocations and sparse mappings
On Tue, Jul 07, 2015 at 11:29:38AM -0400, Ilia Mirkin wrote: > On Mon, Jul 6, 2015 at 8:42 PM, Andrew Chew <achew at nvidia.com> wrote: > > Hello, > > > > I am currently looking into ways to support fixed virtual address allocations > > and sparse mappings in nouveau, as a step towards supporting CUDA. > > > > CUDA requires that the GPU virtual address
2020 Apr 04
14
improve use_mm / unuse_mm
Hi all, this series improves the use_mm / unuse_mm interface by better documenting the assumptions, and my taking the set_fs manipulations spread over the callers into the core API.
2020 Apr 04
14
improve use_mm / unuse_mm
Hi all, this series improves the use_mm / unuse_mm interface by better documenting the assumptions, and my taking the set_fs manipulations spread over the callers into the core API.
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...NGINE ARCHITECTURE: Use fallthrough; KERNEL VIRTUAL MACHINE for s390 (KVM/s390): Use fallthrough; Hyper-V CORE AND DRIVERS: Use fallthrough; XEN HYPERVISOR INTERFACE: Use fallthrough; KERNEL VIRTUAL MACHINE FOR X86 (KVM/x86): Use fallthrough; X86 MCE INFRASTRUCTURE: Use fallthrough; AMD KFD: Use fallthrough; AMD DISPLAY CORE: Use fallthrough; AMD POWERPLAY: Use fallthrough; INTEL GVT-g DRIVERS (Intel GPU Virtualization): Use fallthrough; AMD XGBE DRIVER: Use fallthrough; BROADCOM BNX2X 10 GIGABIT ETHERNET DRIVER: Use fallthrough; BROADCOM BNXT_EN 50 GIGABIT ETHERNET DRIVER...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...NGINE ARCHITECTURE: Use fallthrough; KERNEL VIRTUAL MACHINE for s390 (KVM/s390): Use fallthrough; Hyper-V CORE AND DRIVERS: Use fallthrough; XEN HYPERVISOR INTERFACE: Use fallthrough; KERNEL VIRTUAL MACHINE FOR X86 (KVM/x86): Use fallthrough; X86 MCE INFRASTRUCTURE: Use fallthrough; AMD KFD: Use fallthrough; AMD DISPLAY CORE: Use fallthrough; AMD POWERPLAY: Use fallthrough; INTEL GVT-g DRIVERS (Intel GPU Virtualization): Use fallthrough; AMD XGBE DRIVER: Use fallthrough; BROADCOM BNX2X 10 GIGABIT ETHERNET DRIVER: Use fallthrough; BROADCOM BNXT_EN 50 GIGABIT ETHERNET DRIVER...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...NGINE ARCHITECTURE: Use fallthrough; KERNEL VIRTUAL MACHINE for s390 (KVM/s390): Use fallthrough; Hyper-V CORE AND DRIVERS: Use fallthrough; XEN HYPERVISOR INTERFACE: Use fallthrough; KERNEL VIRTUAL MACHINE FOR X86 (KVM/x86): Use fallthrough; X86 MCE INFRASTRUCTURE: Use fallthrough; AMD KFD: Use fallthrough; AMD DISPLAY CORE: Use fallthrough; AMD POWERPLAY: Use fallthrough; INTEL GVT-g DRIVERS (Intel GPU Virtualization): Use fallthrough; AMD XGBE DRIVER: Use fallthrough; BROADCOM BNX2X 10 GIGABIT ETHERNET DRIVER: Use fallthrough; BROADCOM BNXT_EN 50 GIGABIT ETHERNET DRIVER...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...NGINE ARCHITECTURE: Use fallthrough; KERNEL VIRTUAL MACHINE for s390 (KVM/s390): Use fallthrough; Hyper-V CORE AND DRIVERS: Use fallthrough; XEN HYPERVISOR INTERFACE: Use fallthrough; KERNEL VIRTUAL MACHINE FOR X86 (KVM/x86): Use fallthrough; X86 MCE INFRASTRUCTURE: Use fallthrough; AMD KFD: Use fallthrough; AMD DISPLAY CORE: Use fallthrough; AMD POWERPLAY: Use fallthrough; INTEL GVT-g DRIVERS (Intel GPU Virtualization): Use fallthrough; AMD XGBE DRIVER: Use fallthrough; BROADCOM BNX2X 10 GIGABIT ETHERNET DRIVER: Use fallthrough; BROADCOM BNXT_EN 50 GIGABIT ETHERNET DRIVER...
2020 Mar 11
0
[PATCH -next 000/491] treewide: use fallthrough;
...NGINE ARCHITECTURE: Use fallthrough; KERNEL VIRTUAL MACHINE for s390 (KVM/s390): Use fallthrough; Hyper-V CORE AND DRIVERS: Use fallthrough; XEN HYPERVISOR INTERFACE: Use fallthrough; KERNEL VIRTUAL MACHINE FOR X86 (KVM/x86): Use fallthrough; X86 MCE INFRASTRUCTURE: Use fallthrough; AMD KFD: Use fallthrough; AMD DISPLAY CORE: Use fallthrough; AMD POWERPLAY: Use fallthrough; INTEL GVT-g DRIVERS (Intel GPU Virtualization): Use fallthrough; AMD XGBE DRIVER: Use fallthrough; BROADCOM BNX2X 10 GIGABIT ETHERNET DRIVER: Use fallthrough; BROADCOM BNXT_EN 50 GIGABIT ETHERNET DRIVER...
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
...AuCrzJIdCx<@m&pQFTxo*~&8CPCr*vs8< zj~F7m-nwCaOmbUQY3k>GXp_2vF*n|!ZmV828Z=GjaCbM^SEAVa$pAK(_T?A1kE?X2 zdz{=71awHgQPE=c?J`)EO1Wmoj{c8y<9hZ6QAR645Ee?36zb~gs+%`&9{qY6D}=(a zkaxa@rlg^c`CCkWcMk7=@DZPFD&?E5p=APoPl!twRb&-8(5Uwm`Jg0`a&!Zsjmigy zgqu(zIN|%sblD-gl0qWqyh#4Fqc}KfDJ?bNe42!rYXD6quPs-jZlE?Ic=UIi`Jxvt zZueKcw>LKYc5ukEw0+{8)c=bVDlMz*<%qFt$%)hkSj_CpbMO36&ObshP-5X8NU5ME z)~q1{BK{e>aA>?peyy}PO7pXcHGTA;zt3SHQPy2~<>F^_emxkkZm$#c@?^cugjU{7 z==SA7R3CJsB*B>9T|a!}>putvq86+4l*%N<@9K@H-bT9r^#I`v%m)ToSXfBYrcGn~ zm}UlQ%~Z(STf<WWbXR$?V>Ewl2...