Displaying 4 results from an estimated 4 matches for "drm_mm_insert_node_in_rang".
Did you mean:
drm_mm_insert_node_in_range
2023 Mar 03
1
[PATCH] Change the meaning of the fields in the ttm_place structure from pfn to bytes
...r.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
> @@ -131,11 +131,12 @@ static int amdgpu_gtt_mgr_new(struct ttm_resource_manager *man,
> goto err_free;
> }
>
> - if (place->lpfn) {
> + if (place->res_end) {
> spin_lock(&mgr->lock);
> r = drm_mm_insert_node_in_range(&mgr->mm, &node->mm_nodes[0],
> - num_pages, tbo->page_alignment,
> - 0, place->fpfn, place->lpfn,
> + num_pages, tbo->page_alignment, 0,
> + place->res_start << PAGE_SHIFT,
> + place->res_end << PAGE_SHIFT,
>...
2018 Apr 09
0
nouveau: swiotlb buffer is full (sz: 2097152 bytes)/swiotlb: coherent allocation failed, size=2097152 spam
...w_pages+0x161/0x3c0 [ttm]
[ 6253.341574] ttm_dma_pool_get_pages+0xe0/0x1c0 [ttm]
[ 6253.341580] ttm_dma_populate+0x250/0x310 [ttm]
[ 6253.341586] ttm_tt_populate+0x28/0x70 [ttm]
[ 6253.341591] ttm_tt_bind+0x26/0x60 [ttm]
[ 6253.341596] ttm_bo_handle_move_mem+0x51a/0x580 [ttm]
[ 6253.341612] ? drm_mm_insert_node_in_range+0x42b/0x480 [drm]
[ 6253.341617] ttm_bo_validate+0xfa/0x110 [ttm]
[ 6253.341622] ? _raw_write_unlock+0x12/0x30
[ 6253.341634] ? drm_vma_offset_add+0x5c/0x70 [drm]
[ 6253.341638] ttm_bo_init_reserved+0x296/0x450 [ttm]
[ 6253.341643] ttm_bo_init+0x73/0xd0 [ttm]
[ 6253.341675] ? nv10_bo_put_til...
2023 Jan 25
4
[PATCH v3 1/4] drm/amdgpu: Use cursor start instead of ttm resource start
cleanup PAGE_SHIFT operation and replacing
ttm_resource resource->start with cursor start
using amdgpu_res_first API.
v1 -> v2: reorder patch sequence
v2 -> v3: addressing review comment v2
Signed-off-by: Somalapuram Amaranath <Amaranath.Somalapuram at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 4 +++-
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 10 +++++++---
2
2023 Jan 25
5
[PATCH v2 1/4] drm/amdgpu: Use cursor start instead of ttm resource start
cleanup PAGE_SHIFT operation and replacing
ttm_resource resource->start with cursor start
using amdgpu_res_first API.
v1 -> v2: reorder patch sequence
Signed-off-by: Somalapuram Amaranath <Amaranath.Somalapuram at amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | 11 ++++++++---
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c | 10 +++++++---
2 files changed, 15 insertions(+), 6