Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 25 files:
- drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c, line 201
- drivers/gpu/drm/nouveau/nvkm/engine/falcon.c, line 248
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c, line 309
- drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c, line 261
- drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c, line 1473
- drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c
- drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c
- drivers/gpu/drm/nouveau/nvkm/engine/gr/nv25.c, line 35
- drivers/gpu/drm/nouveau/nvkm/engine/gr/nv2a.c, line 35
- drivers/gpu/drm/nouveau/nvkm/engine/gr/nv30.c, line 36
- drivers/gpu/drm/nouveau/nvkm/engine/gr/nv34.c, line 35
- drivers/gpu/drm/nouveau/nvkm/engine/gr/nv35.c, line 35
- drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c, line 122
- drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c, line 324
- drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm200.c, line 171
- drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm20b.c, line 44
- drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp102.c, line 121
- drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c, line 91
- drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c, line 88
- drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c
- drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gr.c
- drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gr.c, line 118
- drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c
- drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c
- drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c, line 207
Smatch caller information:
drivers/gpu/drm/nouveau/nvkm/subdev/fault/base.c nvkm_fault_oneinit_buffer() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 0-u32max |
| PARAM_VALUE | 3 | align | 4096 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instmem_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->pri | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 65536 |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 784852273757753912 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instmem_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 0 | device->imem->subdev.device->fb->ram | 0-s64max |
| PARAM_VALUE | 0 | device->pri | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 32768 |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 784852273757753928 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv40.c nv40_instmem_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 0 | device->imem->subdev.device->fb->ram | 0-s64max |
| PARAM_VALUE | 0 | device->pri | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 131072 |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 784852273757753936 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c nv20_gr_chan_new() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 14320 |
| PARAM_VALUE | 3 | align | 16 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv20.c nv20_gr_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 128 |
| PARAM_VALUE | 3 | align | 16 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 2445551396426654128 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv30.c nv30_gr_chan_new() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 24392 |
| PARAM_VALUE | 3 | align | 16 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm20b.c gm20b_acr_wpr_alloc() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 8174001093408891232 |
| CAPPED_DATA | 2 | size | 1 |
| DATA_SOURCE | 2 | size | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/falcon.c nvkm_falcon_init() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->timer->func->read | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 3 | align | 256 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 7896146726845673408 |
| PARAM_VALUE | 5 | *pmemory | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | size | unit_byte |
| HALF_LOCKED2 | &subdev->use.mutex | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv34.c nv34_gr_chan_new() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 18140 |
| PARAM_VALUE | 3 | align | 16 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/core/gpuobj.c nvkm_gpuobj_ctor() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device->bios->bit_offset | 0-4294967295 |
| PARAM_VALUE | 0 | device->imem->subdev.device->fb->ram | 0-s64max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 3 | align | 0-s32max |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| DATA_SOURCE | 0 | device | $0 |
| DATA_SOURCE | 2 | size | $1 |
| DATA_SOURCE | 4 | zero | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &subdev->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/mmu/base.c nvkm_mmu_ptc_get() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 3 | align | 4096-u32max |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| DATA_SOURCE | 2 | size | $1 |
| DATA_SOURCE | 3 | align | $2 |
| DATA_SOURCE | 4 | zero | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mmu->ptp.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv25.c nv25_gr_chan_new() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 14116 |
| PARAM_VALUE | 3 | align | 16 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_chan_new() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 4096 |
| PARAM_VALUE | 3 | align | 256 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->pmu | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->pri | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 0 |
| PARAM_VALUE | 3 | align | 256 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 1114288273090805912 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 0 | device->pmu | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->pri | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 0 |
| PARAM_VALUE | 3 | align | 256 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 1114288273090805920 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 0 | device->pmu | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->pri | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 0 |
| PARAM_VALUE | 2 | size | 0-u32max |
| PARAM_VALUE | 3 | align | 4096 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 1114288273090805928 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c gf100_gr_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 0 | device->pmu | 0,4096-ptr_max |
| PARAM_VALUE | 0 | device->pri | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 524288 |
| PARAM_VALUE | 3 | align | 256 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 1114288273090805936 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/fifo/nv50.c nv50_runl_alloc() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 0-u32max |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| PARAM_VALUE | 5 | *pmemory | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &runl->mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c gf100_fb_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 4096-s32max |
| PARAM_VALUE | 3 | align | 4096 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 1921720137686103184,8287219106504082576 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | size | 4097-s32max |
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/fb/gf100.c gf100_fb_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 4096-s32max |
| PARAM_VALUE | 3 | align | 4096 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 1921720137686103192,8287219106504082584 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | size | 4097-s32max |
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gm200.c gm200_acr_wpr_alloc() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 0,262144-u32max |
| PARAM_VALUE | 3 | align | 262144 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 8174001093408891232 |
| BIT_INFO | 2 | size | 0x0,0xfffc0000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gr.c r535_gr_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->gsp | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 73728 |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 7992373685240045568 |
| PARAM_VALUE | 5 | *pmemory | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/gr.c r535_gr_promote_ctx() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 1 | target | 0-1 |
| PARAM_VALUE | 2 | size | 0-u32max |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| FUZZY_MAX | 1 | target | 1 |
| HARD_MAX | 1 | target | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &subdev->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/xtensa.c nvkm_xtensa_init() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev->devres_head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev->devres_head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | device->dev->devres_head.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 262144 |
| PARAM_VALUE | 3 | align | 4096 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 1028539724942152056 |
| PARAM_VALUE | 5 | *pmemory | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subdev->use.mutex | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/nouveau/nvkm/subdev/acr/base.c nvkm_acr_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 4096 |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv35.c nv35_gr_chan_new() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 22396 |
| PARAM_VALUE | 3 | align | 16 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/bar/gf100.c gf100_bar_oneinit_bar() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 4096 |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/acr/gp102.c gp102_acr_wpr_alloc() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 0,524288-4294967294 |
| PARAM_VALUE | 3 | align | 262144 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 8174001093408891232 |
| BIT_INFO | 2 | size | 0x0,0xfff80000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instmem_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 65536 |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 784852273757753912 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instmem_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 0 | device->imem->subdev.device->fb->ram | 0-s64max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 2048 |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 784852273757753936 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/instmem/nv04.c nv04_instmem_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem | 4096-ptr_max |
| PARAM_VALUE | 0 | device->imem->reserved | 0-29532158 |
| PARAM_VALUE | 0 | device->imem->subdev.device->fb->ram | 0-s64max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 512 |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 0 |
| PARAM_VALUE | 5 | pmemory | 784852273757753928 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/gr.c r570_gr_scrubber_init() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->chipset | 354,356,358 |
| PARAM_VALUE | 0 | device->fifo | 4096-ptr_max |
| PARAM_VALUE | 0 | device->gsp | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 0-u32max |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &subdev->use.mutex | ||
| HALF_LOCKED2 | flags |
drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.c gf100_grctx_generate() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->pri | 4096-ptr_max |
| PARAM_VALUE | 0 | device->timer->func->read | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 0-u32max |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 2009480220590141440 |
| PARAM_VALUE | 5 | *pmemory | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| LOCK2 | &gr->fecs.mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct gf100_gr)->fecs.mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/gr/nv2a.c nv2a_gr_chan_new() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 14000 |
| PARAM_VALUE | 3 | align | 16 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &cgrp->mutex | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &svmm->mutex | ||
| TYPE_LOCK | (struct nvkm_cgrp)->mutex |
drivers/gpu/drm/nouveau/nvkm/engine/fifo/base.c nvkm_fifo_oneinit() -> nvkm_memory_new()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | device | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bar | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bar->func | 4096-ptr_max |
| PARAM_VALUE | 0 | device->bar->func->bar1.vmm | 4096-ptr_max |
| PARAM_VALUE | 1 | target | 1 |
| PARAM_VALUE | 2 | size | 0-u32max |
| PARAM_VALUE | 3 | align | 0 |
| PARAM_VALUE | 4 | zero | 1 |
| PARAM_VALUE | 5 | pmemory | 3990358261140968096 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subdev->use.mutex | ||
| TYPE_LOCK | (struct nvkm_subdev)->use.mutex |