mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-04 00:15:49 -04:00
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: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240503122449.27266-28-ville.syrjala@linux.intel.com Acked-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
@@ -177,6 +177,7 @@ enum bdb_block_id {
|
||||
BDB_LFP_DATA = 42,
|
||||
BDB_LFP_BACKLIGHT = 43,
|
||||
BDB_LFP_POWER = 44,
|
||||
BDB_EDP_BFI = 45, /* 160+ */
|
||||
BDB_MIPI_CONFIG = 52, /* 175+ */
|
||||
BDB_MIPI_SEQUENCE = 53, /* 177+ */
|
||||
BDB_COMPRESSION_PARAMETERS = 56, /* 213+ */
|
||||
@@ -1342,6 +1343,22 @@ struct bdb_lfp_power {
|
||||
struct aggressiveness_profile2_entry aggressiveness2[16]; /* 247+ */
|
||||
} __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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user