diff options
author | Rob Clark <robdclark@chromium.org> | 2020-07-15 12:07:30 -0700 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2020-07-31 06:45:56 -0700 |
commit | 520c651f3b209b667a8a9cec43348868d6c24b4d (patch) | |
tree | 79325caa598a4802006c9fdffa4d1928e14b7c37 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7b149f2bbf8cded435a182fa308066d077926470 (diff) |
drm/msm/adreno: fix gpu probe if no interconnect-names
If there is no interconnect-names, but there is an interconnects
property, then of_icc_get(dev, "gfx-mem"); would return an error
rather than NULL.
Also, if there is no interconnect-names property, there will never
be a ocmem path. But of_icc_get(dev, "ocmem") would return -EINVAL
instead of -ENODATA. Just don't bother trying in this case.
v2: explicity check for interconnect-names property
Fixes: 08af4769c7d2 ("drm/msm: handle for EPROBE_DEFER for of_icc_get")
Fixes: 00bb9243d346 ("drm/msm/gpu: add support for ocmem interconnect path")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions