Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/35] drm/i915/bios: Define (almost) all BDB blocks
@ 2024-05-03 12:24 Ville Syrjala
  2024-05-03 12:24 ` [PATCH 01/35] drm/i915/bios: Define eDP DSC disable bit Ville Syrjala
                   ` (39 more replies)
  0 siblings, 40 replies; 61+ messages in thread
From: Ville Syrjala @ 2024-05-03 12:24 UTC (permalink / raw)
  To: intel-gfx

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

I got curious about what gems (or turds) might be hiding
inside the BDB blocks we aren't parsing. So I undertook the
effort to dig up the definition for pretty much all of them.

Unfortunately I didn't find anything really interesting, but
might as well stick the definitions into the header for
posterity. And I do have a followup to intel_vbt_decode to
parse pretty much everything.

I left out a few VBIOS only blocks, as well as the obsolete
compression parameters block.

The details were dug up from varius sources:
- some came from various copies of the spec
- some were derived from VBIOS sources
- some I just had to reverse engineer by hand

And I still have a few VBTs with a bunch of completely unknown
blocks: one VLV with blocks 60-65, and one ADL with block 212.
No clue as of now what those might be.

Ville Syrjälä (35):
  drm/i915/bios: Define eDP DSC disable bit
  drm/i915/bios: Remove version number comment from DEVICE_HANDLE_EFP4
  drm/i915/bios: Indicate which VBT structures are based on EDID
  drm/i915/bios: Get rid of "LVDS" from all LFP data stuff
  drm/i915/bios: Rename SDVO DTD blocks a bit
  drm/i915/bios: Define "TV" child device handle
  drm/i915/bios: Flag "VBIOS only" VBT data blocks
  drm/i915/bios: Add version notes for some blocks
  drm/i915/bios: Define VBT block 3 (Display Toggle Option) contents
  drm/i915/bios: Define VBT block 4 (Mode Support List) contents
  drm/i915/bios: Define VBT block 5 (Generic Mode Table)
  drm/i915/bios: Define VBT blocks 6,7,8 (register tables) contents
  drm/i915/bios: Define VBT block 10 (Mode Removal Table) contents
  drm/i915/bios: Define VBT block 12 (Driver Persistent Algorithm)
    contents
  drm/i915/bios: Define VBT block 15 (Dot Clock Override Table) contents
  drm/i915/bios: Define ALM only VBT block 9 contents
  drm/i915/bios: Define VBT block 17 (SV Test Functions) contents
  drm/i915/bios: Define VBT block 18 (Driver Rotation) contents
  drm/i915/bios: Define VBT blocks 16,29,31 (Toggle List) contents
  drm/i915/bios: Define VBT blocks 19,30,32 (Display Configuration
    Removal Table) contents
  drm/i915/bios: Define VBT block 20 (OEM Customizable Modes) contents
  drm/i915/bios: Define VBT block 21 (EFP List) contents
  drm/i915/bios: Define VBT block 24 (SDVO LVDS PnP ID) contents
  drm/i915/bios: Define VBT block 25 (SDVO LVDS PPS) contents
  drm/i915/bios: Define VBT block 26 (TV Options) contents
  drm/i915/bios: Define VBT block 28 (EFP DTD) contents
  drm/i915/bios: Define VBT block 45 (eDP BFI) contents
  drm/i915/bios: Define VBT block 46 (Chromaticity For Narrow Gamut
    Panel) contents
  drm/i915/bios: Define VBT block 51 (Fixed Set Mode Table) contents
  drm/i915/bios: Define VBT block 55 (RGB Palette Table) contents
  drm/i915/bios: Define VBT block 57 (Vswing PreEmphasis Table) contents
  drm/i915/bios: Define VBT block 50 (MIPI) contents
  drm/i915/bios: Define VBT block 55 (Compression Parameters)
  drm/i915/bios: Define VBT block 252 (int15 Hook)
  drm/i915/bios: Define VBT block 253 (PRD Table) contents

 drivers/gpu/drm/i915/display/intel_bios.c     | 229 +++---
 .../drm/i915/display/intel_display_types.h    |   2 +-
 drivers/gpu/drm/i915/display/intel_dsi_vbt.c  |   2 +-
 drivers/gpu/drm/i915/display/intel_panel.c    |   2 +-
 drivers/gpu/drm/i915/display/intel_vbt_defs.h | 714 +++++++++++++++---
 5 files changed, 742 insertions(+), 207 deletions(-)

-- 
2.43.2


^ permalink raw reply	[flat|nested] 61+ messages in thread

end of thread, other threads:[~2024-05-06 11:47 UTC | newest]

Thread overview: 61+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-03 12:24 [PATCH 00/35] drm/i915/bios: Define (almost) all BDB blocks Ville Syrjala
2024-05-03 12:24 ` [PATCH 01/35] drm/i915/bios: Define eDP DSC disable bit Ville Syrjala
2024-05-06  9:10   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 02/35] drm/i915/bios: Remove version number comment from DEVICE_HANDLE_EFP4 Ville Syrjala
2024-05-03 12:24 ` [PATCH 03/35] drm/i915/bios: Indicate which VBT structures are based on EDID Ville Syrjala
2024-05-06  9:14   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 04/35] drm/i915/bios: Get rid of "LVDS" from all LFP data stuff Ville Syrjala
2024-05-06  9:19   ` Jani Nikula
2024-05-06 11:32     ` Ville Syrjälä
2024-05-03 12:24 ` [PATCH 05/35] drm/i915/bios: Rename SDVO DTD blocks a bit Ville Syrjala
2024-05-03 12:24 ` [PATCH 06/35] drm/i915/bios: Define "TV" child device handle Ville Syrjala
2024-05-03 12:24 ` [PATCH 07/35] drm/i915/bios: Flag "VBIOS only" VBT data blocks Ville Syrjala
2024-05-03 12:24 ` [PATCH 08/35] drm/i915/bios: Add version notes for some blocks Ville Syrjala
2024-05-06  9:23   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 09/35] drm/i915/bios: Define VBT block 3 (Display Toggle Option) contents Ville Syrjala
2024-05-03 12:24 ` [PATCH 10/35] drm/i915/bios: Define VBT block 4 (Mode Support List) contents Ville Syrjala
2024-05-06  9:24   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 11/35] drm/i915/bios: Define VBT block 5 (Generic Mode Table) Ville Syrjala
2024-05-03 12:24 ` [PATCH 12/35] drm/i915/bios: Define VBT blocks 6, 7, 8 (register tables) contents Ville Syrjala
2024-05-06  9:27   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 13/35] drm/i915/bios: Define VBT block 10 (Mode Removal Table) contents Ville Syrjala
2024-05-06  9:28   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 14/35] drm/i915/bios: Define VBT block 12 (Driver Persistent Algorithm) contents Ville Syrjala
2024-05-06  9:29   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 15/35] drm/i915/bios: Define VBT block 15 (Dot Clock Override Table) contents Ville Syrjala
2024-05-03 12:24 ` [PATCH 16/35] drm/i915/bios: Define ALM only VBT block 9 contents Ville Syrjala
2024-05-03 12:24 ` [PATCH 17/35] drm/i915/bios: Define VBT block 17 (SV Test Functions) contents Ville Syrjala
2024-05-03 12:24 ` [PATCH 18/35] drm/i915/bios: Define VBT block 18 (Driver Rotation) contents Ville Syrjala
2024-05-06  9:31   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 19/35] drm/i915/bios: Define VBT blocks 16, 29, 31 (Toggle List) contents Ville Syrjala
2024-05-03 12:24 ` [PATCH 20/35] drm/i915/bios: Define VBT blocks 19, 30, 32 (Display Configuration Removal Table) contents Ville Syrjala
2024-05-03 12:24 ` [PATCH 21/35] drm/i915/bios: Define VBT block 20 (OEM Customizable Modes) contents Ville Syrjala
2024-05-06  9:35   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 22/35] drm/i915/bios: Define VBT block 21 (EFP List) contents Ville Syrjala
2024-05-03 12:24 ` [PATCH 23/35] drm/i915/bios: Define VBT block 24 (SDVO LVDS PnP ID) contents Ville Syrjala
2024-05-03 12:24 ` [PATCH 24/35] drm/i915/bios: Define VBT block 25 (SDVO LVDS PPS) contents Ville Syrjala
2024-05-03 12:24 ` [PATCH 25/35] drm/i915/bios: Define VBT block 26 (TV Options) contents Ville Syrjala
2024-05-06  9:36   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 26/35] drm/i915/bios: Define VBT block 28 (EFP DTD) contents Ville Syrjala
2024-05-06  9:37   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 27/35] drm/i915/bios: Define VBT block 45 (eDP BFI) contents Ville Syrjala
2024-05-03 12:24 ` [PATCH 28/35] drm/i915/bios: Define VBT block 46 (Chromaticity For Narrow Gamut Panel) contents Ville Syrjala
2024-05-06  9:39   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 29/35] drm/i915/bios: Define VBT block 51 (Fixed Set Mode Table) contents Ville Syrjala
2024-05-06  9:40   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 30/35] drm/i915/bios: Define VBT block 55 (RGB Palette " Ville Syrjala
2024-05-06  9:40   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 31/35] drm/i915/bios: Define VBT block 57 (Vswing PreEmphasis " Ville Syrjala
2024-05-06  9:42   ` Jani Nikula
2024-05-06 11:47     ` Ville Syrjälä
2024-05-03 12:24 ` [PATCH 32/35] drm/i915/bios: Define VBT block 50 (MIPI) contents Ville Syrjala
2024-05-06  9:44   ` Jani Nikula
2024-05-03 12:24 ` [PATCH 33/35] drm/i915/bios: Define VBT block 55 (Compression Parameters) Ville Syrjala
2024-05-03 12:24 ` [PATCH 34/35] drm/i915/bios: Define VBT block 252 (int15 Hook) Ville Syrjala
2024-05-03 12:24 ` [PATCH 35/35] drm/i915/bios: Define VBT block 253 (PRD Table) contents Ville Syrjala
2024-05-06  9:45   ` Jani Nikula
2024-05-03 13:05 ` ✗ Fi.CI.CHECKPATCH: warning for drm/i915/bios: Define (almost) all BDB blocks Patchwork
2024-05-03 13:05 ` ✗ Fi.CI.SPARSE: " Patchwork
2024-05-03 13:13 ` ✓ Fi.CI.BAT: success " Patchwork
2024-05-04  2:02 ` ✗ Fi.CI.IGT: failure " Patchwork
2024-05-06  9:47 ` [PATCH 00/35] " Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox