drm/i915/bios: Define VBT block 12 (Driver Persistent Algorithm) contents

Define the contents of VBT block 12 (Driver Persistent Algorithm).

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240503122449.27266-15-ville.syrjala@linux.intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
Ville Syrjälä
2024-05-03 15:24:28 +03:00
parent 98fe6aed8a
commit 2f1aa210fe

View File

@@ -778,6 +778,25 @@ struct bdb_driver_features {
u16 pc_feature_valid:1; /* 159+ */
} __packed;
/*
* Block 13 - Driver Persistent Algorithm
*/
struct bdb_driver_persistence {
u16 hotkey_persistent_algorithm:1;
u16 lid_switch_persistent_algorithm:1;
u16 power_management_persistent_algorithm:1;
u16 hotkey_persistent_on_mds_twin:1;
u16 hotkey_persistent_on_refresh_rate:1;
u16 hotkey_persistent_on_restore_pipe:1;
u16 hotkey_persistent_on_mode:1;
u16 edid_persistent_on_mode:1;
u16 dvo_hotplug_persistent_on_mode:1;
u16 docking_persistent_algorithm:1;
u16 rsvd:6;
u8 persistent_max_config;
} __packed;
/*
* Block 22 - SDVO LVDS General Options
*/