search for: nvkm_vmm_ctor

Displaying 7 results from an estimated 7 matches for "nvkm_vmm_ctor".

Did you mean: nvkm_pmu_ctor
2020 Jun 22
0
[RESEND PATCH 3/3] nouveau: make nvkm_vmm_ctor() and nvkm_mmu_ptp_get() static
The functions nvkm_vmm_ctor() and nvkm_mmu_ptp_get() are not called outside of the file defining them so make them static. Signed-off-by: Ralph Campbell <rcampbell at nvidia.com> --- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c | 2 +- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 2 +- drivers/gpu/drm/nouveau/nv...
2020 Jun 22
7
[RESEND PATCH 0/3] nouveau: fixes for SVM
...you will need a kernel with patch 1 from the original series (the fix to mm/migrate.c). It is safe to apply these changes before the fix to mm/migrate.c though. Ralph Campbell (3): nouveau: fix migrate page regression nouveau: fix mixed normal and device private page migration nouveau: make nvkm_vmm_ctor() and nvkm_mmu_ptp_get() static drivers/gpu/drm/nouveau/nouveau_dmem.c | 10 +++++++++- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c | 2 +- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c | 2 +- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.h | 3 --- 4 files changed, 11 insertions(+...
2024 Jan 23
0
[PATCH 16/82] drm/nouveau/mmu: Refactor intentional wrap-around calculation
...ions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c index 9c97800fe037..6ca1a82ccbc1 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/vmm.c @@ -1149,13 +1149,15 @@ nvkm_vmm_ctor(const struct nvkm_vmm_func *func, struct nvkm_mmu *mmu, vmm->root = RB_ROOT; if (managed) { + u64 sum; + /* Address-space will be managed by the client for the most * part, except for a specified area where NVKM allocations * are allowed to be placed. */ vmm->start =...
2020 Jun 22
0
[PATCH 00/16] mm/hmm/nouveau: THP mapping and migration
...nouveau: fix migrate page regression > nouveau: fix mixed normal and device private page migration > mm/hmm: fix test timeout on slower machines > mm/hmm/test: remove redundant page table invalidate > mm/hmm: test mixed normal and device private migrations > nouveau: make nvkm_vmm_ctor() and nvkm_mmu_ptp_get() static > nouveau/hmm: fault one page at a time > mm/hmm: add output flag for compound page mapping > nouveau/hmm: support mapping large sysmem pages > hmm: add tests for HMM_PFN_COMPOUND flag > mm/hmm: optimize migrate_vma_setup() for holes Order t...
2017 Dec 03
0
nouveau: refcount_t splat on 4.15-rc1 on nv50
...u] [ 8.209245] nvkm_memory_new+0x31/0x50 [nouveau] [ 8.209278] nvkm_mmu_ptc_get.part.4+0x1ae/0x230 [nouveau] [ 8.209311] nvkm_vmm_iter.constprop.13+0x458/0x790 [nouveau] [ 8.209344] ? nvkm_vmm_map_choose+0xb0/0xb0 [nouveau] [ 8.209348] ? kvmalloc_node+0x3e/0x70 [ 8.209381] ? nvkm_vmm_ctor+0x1ce/0x250 [nouveau] [ 8.209413] nvkm_vmm_ptes_get+0x2e/0x80 [nouveau] [ 8.209446] nvkm_vmm_boot+0x3e/0x80 [nouveau] [ 8.209475] nv50_bar_oneinit+0xe8/0x310 [nouveau] [ 8.209504] nvkm_subdev_init+0x4b/0x1f0 [nouveau] [ 8.209538] nvkm_device_init+0x12c/0x260 [nouveau] [ 8.209...
2020 May 08
11
[PATCH 0/6] nouveau/hmm: add support for mapping large pages
...uot;) and the patches queued in Jason's HMM tree. There is also a patch outstanding ("nouveau/hmm: fix nouveau_dmem_chunk allocations") that is independent of the above and could be applied before or after. Ralph Campbell (6): nouveau/hmm: map pages after migration nouveau: make nvkm_vmm_ctor() and nvkm_mmu_ptp_get() static nouveau/hmm: fault one page at a time mm/hmm: add output flag for compound page mapping nouveau/hmm: support mapping large sysmem pages hmm: add tests for HMM_PFN_COMPOUND flag drivers/gpu/drm/nouveau/nouveau_dmem.c | 46 ++- drivers/gpu/drm/nouveau...
2020 Jun 19
22
[PATCH 00/16] mm/hmm/nouveau: THP mapping and migration
...c_owner and normal pages nouveau: fix migrate page regression nouveau: fix mixed normal and device private page migration mm/hmm: fix test timeout on slower machines mm/hmm/test: remove redundant page table invalidate mm/hmm: test mixed normal and device private migrations nouveau: make nvkm_vmm_ctor() and nvkm_mmu_ptp_get() static nouveau/hmm: fault one page at a time mm/hmm: add output flag for compound page mapping nouveau/hmm: support mapping large sysmem pages hmm: add tests for HMM_PFN_COMPOUND flag mm/hmm: optimize migrate_vma_setup() for holes mm: support THP migration to de...