Commit bc2dcfb6 authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915/bios: Define VBT block 45 (eDP BFI) contents

Define the contents of VBT block 45 (eDP BFI).

Note that I've not actually seen any real world VBTs with this
block.
Signed-off-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240503122449.27266-28-ville.syrjala@linux.intel.comAcked-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 9f15bc83
...@@ -177,6 +177,7 @@ enum bdb_block_id { ...@@ -177,6 +177,7 @@ enum bdb_block_id {
BDB_LFP_DATA = 42, BDB_LFP_DATA = 42,
BDB_LFP_BACKLIGHT = 43, BDB_LFP_BACKLIGHT = 43,
BDB_LFP_POWER = 44, BDB_LFP_POWER = 44,
BDB_EDP_BFI = 45, /* 160+ */
BDB_MIPI_CONFIG = 52, /* 175+ */ BDB_MIPI_CONFIG = 52, /* 175+ */
BDB_MIPI_SEQUENCE = 53, /* 177+ */ BDB_MIPI_SEQUENCE = 53, /* 177+ */
BDB_COMPRESSION_PARAMETERS = 56, /* 213+ */ BDB_COMPRESSION_PARAMETERS = 56, /* 213+ */
...@@ -1342,6 +1343,22 @@ struct bdb_lfp_power { ...@@ -1342,6 +1343,22 @@ struct bdb_lfp_power {
struct aggressiveness_profile2_entry aggressiveness2[16]; /* 247+ */ struct aggressiveness_profile2_entry aggressiveness2[16]; /* 247+ */
} __packed; } __packed;
/*
* Block 45 - eDP BFI Block
*/
struct edp_bfi {
u8 enable_bfi_in_driver:1;
u8 enable_brightness_control_in_cui:1;
u8 reserved:6;
u8 brightness_percentage_when_bfi_disabled;
} __packed;
struct bdb_edp_bfi {
u8 bfi_structure_size;
struct edp_bfi bfi[16];
} __packed;
/* /*
* Block 52 - MIPI Configuration Block * Block 52 - MIPI Configuration Block
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment