[PATCH 14/35] drm/i915/bios: Define VBT block 12 (Driver Persistent Algorithm) contents

Jani Nikula jani.nikula at linux.intel.com
Mon May 6 09:29:47 UTC 2024


On Fri, 03 May 2024, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> Define the contents of VBT block 12 (Driver Persistent Algorithm).
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

Baffled.

Reviewed-by: Jani Nikula <jani.nikula at intel.com>

> ---
>  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


More information about the Intel-gfx mailing list