diff options
| author | Lizhi Hou <[email protected]> | 2025-06-16 09:14:16 +0000 |
|---|---|---|
| committer | Lizhi Hou <[email protected]> | 2025-06-17 05:29:09 +0000 |
| commit | e252e3f3488a49267e08ea7d972ac5ba3f2f1763 (patch) | |
| tree | d6a64543b2765ef2c19380a2acf1981fa4f06a63 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | drm/bridge: ti-sn65dsi86: use new GPIO line value setter callbacks (diff) | |
| download | kernel-e252e3f3488a49267e08ea7d972ac5ba3f2f1763.tar.gz kernel-e252e3f3488a49267e08ea7d972ac5ba3f2f1763.zip | |
accel/amdxdna: Revise device bo creation and free
The device bo is allocated from the device heap memory. (a trunk of
memory dedicated to device)
Rename amdxdna_gem_insert_node_locked to amdxdna_gem_heap_alloc
and move related sanity checks into it.
Add amdxdna_gem_dev_obj_free and move device bo free code into it.
Calculate the kernel virtual address of device bo by the device
heap memory address and offset.
Reviewed-by: Jacek Lawrynowicz <[email protected]>
Signed-off-by: Lizhi Hou <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
