mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 02:34:10 -04:00
drm/i915/bios: Define VBT block 46 (Chromaticity For Narrow Gamut Panel) contents
Define the contents of VBT block 46 (Chromaticity For Narrow Gamut Panel). One entry per panel. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240503122449.27266-29-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -178,6 +178,7 @@ enum bdb_block_id {
|
||||
BDB_LFP_BACKLIGHT = 43,
|
||||
BDB_LFP_POWER = 44,
|
||||
BDB_EDP_BFI = 45, /* 160+ */
|
||||
BDB_CHROMATICITY = 46, /* 169+ */
|
||||
BDB_MIPI_CONFIG = 52, /* 175+ */
|
||||
BDB_MIPI_SEQUENCE = 53, /* 177+ */
|
||||
BDB_COMPRESSION_PARAMETERS = 56, /* 213+ */
|
||||
@@ -1359,6 +1360,31 @@ struct bdb_edp_bfi {
|
||||
struct edp_bfi bfi[16];
|
||||
} __packed;
|
||||
|
||||
/*
|
||||
* Block 46 - Chromaticity For Narrow Gamut Panel Configuration Block
|
||||
*/
|
||||
|
||||
struct chromaticity {
|
||||
u8 chromaticity_enable:1;
|
||||
u8 chromaticity_from_edid_base_block:1;
|
||||
u8 rsvd:6;
|
||||
|
||||
u8 red_green;
|
||||
u8 blue_white;
|
||||
u8 red_x;
|
||||
u8 red_y;
|
||||
u8 green_x;
|
||||
u8 green_y;
|
||||
u8 blue_x;
|
||||
u8 blue_y;
|
||||
u8 white_x;
|
||||
u8 white_y;
|
||||
} __packed;
|
||||
|
||||
struct bdb_chromaticity {
|
||||
struct chromaticity chromaticity[16];
|
||||
} __packed;
|
||||
|
||||
/*
|
||||
* Block 52 - MIPI Configuration Block
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user