Skip to content

VBT read cleanup

Radhakrishna Sripada intel-gfx 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 4 repliesIn review
  2. v24 patches 5 repliesSuperseded
  3. v1 RFC15 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/i915: Pass size to oprom_get_vbtdrivers/gpu/drm/i915/display/intel_bios.c+6 -20 replies
2/6drm/i915: Pass size to spi_oprom_get_vbtdrivers/gpu/drm/i915/display/intel_bios.c+6 -20 replies
3/6drm/i915: Move vbt read from firmware to intel_bios.cdrivers/gpu/drm/i915/display/intel_bios.c drivers/gpu/drm/i915/display/intel_opregion.c+44 -470 replies
4/6drm/i915: Extract opregion vbt presence checkdrivers/gpu/drm/i915/display/intel_bios.c drivers/gpu/drm/i915/display/intel_opregion.c drivers/gpu/drm/i915/display/intel_opregion.h+12 -22 replies
5/6drm/i915: Duplicate opregion vbt memorydrivers/gpu/drm/i915/display/intel_bios.c drivers/gpu/drm/i915/display/intel_opregion.c+5 -30 replies
6/6drm/i915: Show bios vbt when read from firmware/spi/opromdrivers/gpu/drm/i915/display/intel_bios.c+30 -305 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJani Nikula
SeriesR-b
1/6
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/6] VBT read cleanup

This series is originally based out of [1], and built on top of [2].

The primary departure from [1] was that vbt is no longer cached. During vbt show, based on the source of vbt, it would simply be re-read reducing the read/cleanup complexity. With this series debugfs dump of vbt should work on all the platforms that support display.

v3 of the series extracts opregion firmware check and harmonizes the memory handling of different variants viz. opregion/oprom/spi/fimrware

1. https://patchwork.freedesktop.org/series/128341/
2. https://patchwork.freedesktop.org/series/128683/

Radhakrishna Sripada (6):
drm/i915: Pass size to oprom_get_vbt
drm/i915: Pass size to spi_oprom_get_vbt drm/i915: Move vbt read from firmware to intel_bios.c drm/i915: Extract opregion vbt presence check drm/i915: Duplicate opregion vbt memory drm/i915: Show bios vbt when read from firmware/spi/oprom

 drivers/gpu/drm/i915/display/intel_bios.c     | 108 +++++++++++++-----
 drivers/gpu/drm/i915/display/intel_opregion.c |  58 ++--------
 drivers/gpu/drm/i915/display/intel_opregion.h |   1 +
 3 files changed, 92 insertions(+), 75 deletions(-)
Signature · 1 line
2.34.1