[PATCH V5 0/1] Release xcp drm memory after unplug xcp device

Meng Li li.meng at amd.com
Wed Jul 9 06:03:39 UTC 2025


Fix xcp drm memory release after executing PCIe remove.
Fix xcp drm memory alloc after executing PCIe insert.

Changes from V4->V5:
- amdgpu:
- - Delete "if" check in the loop.

Changes from V3->V4:
- amdgpu:
- - Remove redundant initialization for "i".
- - Simplify checks.

Changes from V2->V3:
- amdgpu:
- - Add Gerry as a Signed-off.
- - Unified commit author.

Changes from V1->V2:
- cover-letter:
- - Revise title version number.
- amdgpu:
- - Remove // comments.
- - Add Gerry as a co-developr.

Meng Li (1):
  drm/amd/amdgpu: Release xcp drm memory after unplug

 drivers/gpu/drm/amd/amdgpu/amdgpu_xcp.c     |  1 +
 drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.c | 56 +++++++++++++++++----
 drivers/gpu/drm/amd/amdxcp/amdgpu_xcp_drv.h |  1 +
 3 files changed, 49 insertions(+), 9 deletions(-)

-- 
2.43.0



More information about the amd-gfx mailing list