[PATCH 30/35] drm/i915/bios: Define VBT block 55 (RGB Palette Table) contents
Jani Nikula
jani.nikula at linux.intel.com
Mon May 6 09:40:42 UTC 2024
On Fri, 03 May 2024, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> 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 at linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula at intel.com>
> ---
> drivers/gpu/drm/i915/display/intel_vbt_defs.h | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> index 8b4f76c54829..50d0d96fca67 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 */
> @@ -1423,6 +1424,17 @@ struct bdb_mipi_sequence {
> u8 data[]; /* up to 6 variable length blocks */
> } __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
> */
--
Jani Nikula, Intel
More information about the Intel-gfx
mailing list