diff options
| author | Jordan Crouse <jcrouse@codeaurora.org> | 2017-02-13 10:14:17 -0700 |
|---|---|---|
| committer | Jordan Crouse <jcrouse@codeaurora.org> | 2017-02-22 09:52:10 -0700 |
| commit | 4629fd01af62bc9a57b5536ff19b397e1111ac65 (patch) | |
| tree | 8c21ce562ed71fa41b0fca9a2e2b85fabbceb98e /tools/perf/scripts/python | |
| parent | 758a96f0b825a25cabb3bd074864c9d850722f3a (diff) | |
drm/msm: Search for the SMMU device in the node sub-devices
The upstream DT model presumes that the iommu phandle is in the main
GPU device node. The downstream model defines sub-nodes for the
IOMMU devices. In order to get the right device to attach the IOMMU
domain to we need to do a bit of searching.
First, check in the top level node. If that fails, then start walking
the port list passed in the attached function - hopefully one of those
will have the right device - if found, use that to attach the domain
and breathe normally.
Change-Id: Ic0dedbad4a1852d2ff204031bd360e0b7960805a
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
