aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorRobin Murphy <[email protected]>2016-09-12 16:13:52 +0000
committerWill Deacon <[email protected]>2016-09-16 08:34:19 +0000
commitd6fc5d977671d16535de66645f83a1bd07e1317d (patch)
tree608fa34ecbda7ecac83972491c621b295e835896 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentiommu/arm-smmu: Refactor mmu-masters handling (diff)
downloadkernel-d6fc5d977671d16535de66645f83a1bd07e1317d.tar.gz
kernel-d6fc5d977671d16535de66645f83a1bd07e1317d.zip
iommu/arm-smmu: Streamline SMMU data lookups
Simplify things somewhat by stashing our arm_smmu_device instance in drvdata, so that it's readily available to our driver model callbacks. Then we can excise the private list entirely, since the driver core already has a perfectly good list of SMMU devices we can use in the one instance we actually need to. Finally, make a further modest code saving with the relatively new of_device_get_match_data() helper. Tested-by: Lorenzo Pieralisi <[email protected]> Signed-off-by: Robin Murphy <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions