diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-09-23 18:24:51 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-10-01 17:30:52 +0300 |
commit | 4c997c6e439013df942af27761edc01e1065cc27 (patch) | |
tree | eb96851e98fba2c76f5c406aeeafeda2c9d9bed8 /tools/perf/scripts/python/task-analyzer.py | |
parent | 3823683a0f170c45b84e8a32a3c282f783f9620a (diff) |
drm/i915/bios: Extract intel_spi_read16()
The SPI VBT codepath only knows how to read 4 bytes at a time.
So to read the 2 byte vbt_size it masks out the unwanted msbs.
Hide that little implementation detail inside a new intel_spi_read16()
helper. Alse rename the existing intel_spi_read() to intel_spi_read32()
to make it clear what it does.
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240923152453.11230-5-ville.syrjala@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions