diff options
| author | 2015-04-01 10:55:04 +0300 | |
|---|---|---|
| committer | 2015-04-01 14:11:49 +0200 | |
| commit | 5ea6e5e36ee54a83dfef9739f006a6a91d00e7fe (patch) | |
| tree | aa78280adc83da23560f516caebcd2c597b059ad /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | drm/i915: refer to pin instead of port in the intel_i2c.c interfaces (diff) | |
drm/i915: index gmbus tables using the pin pair number
Index the gmbus tables directly using the pin instead of having a
confusing "port = i + 1" mapping. This finishes off removing the "gmbus
port" as a notion, and leaves us with just the "gmbus pin".
As pin 0 is invalid by definition and the gmbus tables will have a gap
at that index, add pin validity check to all the loops. This will be
benefitial for supporting platforms that have different numbers of pins,
or gaps.
v2: s/GMBUS_PIN_MAX/GMBUS_NUM_PINS/ (Ville, Daniel)
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
