On Fri, 03 May 2024, Ville Syrjala <ville.syrjala@xxxxxxxxxxxxxxx> wrote: > From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> > > Define the contents of VBT block 12 (Driver Persistent Algorithm). > > Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> Baffled. Reviewed-by: Jani Nikula <jani.nikula@xxxxxxxxx> > --- > drivers/gpu/drm/i915/display/intel_vbt_defs.h | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > > diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h > index d78523cd4214..2075d53ca317 100644 > --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h > +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h > @@ -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 > */ -- Jani Nikula, Intel