diff options
| author | Ville Syrjälä <[email protected]> | 2023-02-14 09:38:18 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2023-02-14 14:08:30 +0200 |
| commit | b17a15d6189fa86bc06cb88bb2980888d81cdd75 (patch) | |
| tree | 05ca7e5b151ed2f0b1b5abc9eee53b01f3b2739e /tools/perf/scripts/python/libxed.py | |
| parent | b5d0bea79367144cead950bad38e7c9a1ba5c087 (diff) | |
drm/i915: Iterate all child devs in intel_bios_is_port_present()
Instead of consulting vbt.ports[] lets just go through the
whole child device list to check whether a specific port
was declared by the VBT or not.
Note that this doesn't change anything wrt. detecting duplicate
child devices with the same port as vbt.ports[] would also always
contain exactly one of the duplicates.
v2: Include a is_port_valid() check to deal with some broken VBTs
Mention something about duplicate port detection (Jani)
Cc: Jani Nikula <[email protected]>
Signed-off-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Jani Nikula <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions