diff options
author | 2017-09-28 11:22:03 +0300 | |
---|---|---|
committer | 2017-10-10 09:06:17 +0300 | |
commit | 0ebdabe6126498f06cd1885dfbf658c46317041f (patch) | |
tree | 663447f27c1823e5a8d726945ca69c114c81c216 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/i915/bios: merge parse_device_mapping() into parse_general_definitions() (diff) | |
download | linux-dev-0ebdabe6126498f06cd1885dfbf658c46317041f.tar.xz linux-dev-0ebdabe6126498f06cd1885dfbf658c46317041f.zip |
drm/i915/bios: parse SDVO device mapping from pre-parsed child devices
We parse and store the child devices in
parse_general_definitions(). There is no need to parse the VBT block
again for SDVO device mapping. Do the same as we do in
parse_ddi_ports().
We no longer have access to child device size at this stage, but we also
don't need to worry about reading past the child device anymore. Instead
of a child device size check, do a mild optimization by limiting the
parsing to gens 3 through 7.
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/c918d4173dd38a165295f1270cb16c2c01bd8cd1.1506586821.git.jani.nikula@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions