aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorLizhi Hou <[email protected]>2025-06-16 09:14:16 +0000
committerLizhi Hou <[email protected]>2025-06-17 05:29:09 +0000
commite252e3f3488a49267e08ea7d972ac5ba3f2f1763 (patch)
treed6a64543b2765ef2c19380a2acf1981fa4f06a63 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentdrm/bridge: ti-sn65dsi86: use new GPIO line value setter callbacks (diff)
downloadkernel-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_ucode.c')
0 files changed, 0 insertions, 0 deletions