]> Gentwo Git Trees - linux/.git/commit
drm/amd/amdgpu: Release xcp drm memory after unplug
authorMeng Li <li.meng@amd.com>
Fri, 9 May 2025 05:44:24 +0000 (13:44 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Aug 2025 18:35:48 +0000 (14:35 -0400)
commite6c2b0f23221ed43c4cc6f636e9ab7862954d562
tree8a44de9174c9c3133cdd7fd6a151da36e944f402
parented76936c6b10b547c6df4ca75412331e9ef6d339
drm/amd/amdgpu: Release xcp drm memory after unplug

Add a new API amdgpu_xcp_drm_dev_free().
After unplug xcp device, need to release xcp drm memory etc.

Co-developed-by: Jiang Liu <gerry@linux.alibaba.com>
Signed-off-by: Jiang Liu <gerry@linux.alibaba.com>
Signed-off-by: Meng Li <li.meng@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c
drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.c
drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.h