aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorJason Gunthorpe <[email protected]>2024-09-06 15:47:52 +0000
committerWill Deacon <[email protected]>2024-09-09 14:47:14 +0000
commit47b2de35cab2b683f69d03515c2658c2d8515323 (patch)
treea2c91b2543c16b549cee8515bb1e0fbb6bbc664b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentiommu/arm-smmu-v3: Remove strtab_base/cfg (diff)
downloadkernel-47b2de35cab2b683f69d03515c2658c2d8515323.tar.gz
kernel-47b2de35cab2b683f69d03515c2658c2d8515323.zip
iommu/arm-smmu-v3: Do not use devm for the cd table allocations
The master->cd_table is entirely contained within the struct arm_smmu_master which is guaranteed to be freed by the core code under arm_smmu_release_device(). There is no reason to use devm here, arm_smmu_free_cd_tables() is reliably called to free the CD related memory. Remove it and save some memory. Tested-by: Nicolin Chen <[email protected]> Reviewed-by: Nicolin Chen <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions