diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-05-03 15:24:44 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2024-05-08 16:45:31 +0300 |
commit | a7566ba47ba6c97df369fe7acf820d07ff3a9191 (patch) | |
tree | 4d808b8be24c838f8a0e4a65f25d207c043999db /drivers/gpu/drm | |
parent | 4baedbe2c38f05d2e7121e0f78fc3469011b0dfd (diff) |
drm/i915/bios: Define VBT block 55 (RGB Palette Table) contents
Define the contents of VBT block 55 (RGB Palette Table).
Note that I've not actually seen any real world VBTs with this
block.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240503122449.27266-31-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_vbt_defs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h index 11c4b5bb2151..089c3d2276db 100644 --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h @@ -182,6 +182,7 @@ enum bdb_block_id { BDB_FIXED_SET_MODE = 51, /* 172+ */ BDB_MIPI_CONFIG = 52, /* 175+ */ BDB_MIPI_SEQUENCE = 53, /* 177+ */ + BDB_RGB_PALETTE = 54, /* 180+ */ BDB_COMPRESSION_PARAMETERS = 56, /* 213+ */ BDB_GENERIC_DTD = 58, /* 229+ */ BDB_SKIP = 254, /* VBIOS only */ @@ -1419,6 +1420,17 @@ struct bdb_mipi_sequence { } __packed; /* + * Block 55 - RGB Palette Table + */ + +struct bdb_rgb_palette { + u8 is_enabled; + u8 red[256]; + u8 blue[256]; + u8 green[256]; +} __packed; + +/* * Block 56 - Compression Parameters */ |