aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
diff options
context:
space:
mode:
authorPetr Machata <[email protected]>2023-06-12 15:31:06 +0000
committerPaolo Abeni <[email protected]>2023-06-14 11:12:20 +0000
commit571c56911b45059dbdd2fb7912152e3412b658cf (patch)
tree5a6b18bccb3f27413b7cd46f3f1bca2fbeebccd9 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c
parentmlxsw: spectrum_router: Access nhgi->rif through a helper (diff)
downloadkernel-571c56911b45059dbdd2fb7912152e3412b658cf.tar.gz
kernel-571c56911b45059dbdd2fb7912152e3412b658cf.zip
mlxsw: spectrum_router: Extract a helper to free a RIF
Right now freeing the object that mlxsw uses to keep track of a RIF is as simple as calling a kfree. But later on as CRIF abstraction is brought in, it will involve severing the link between CRIF and its RIF as well. Better to have the logic encapsulated in a helper. Since a helper is being introduced, make it a full-fledged destructor and have it validate that the objects tracked at the RIF have been released. Signed-off-by: Petr Machata <[email protected]> Reviewed-by: Amit Cohen <[email protected]> Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm_pt.c')
0 files changed, 0 insertions, 0 deletions