[PATCH 18/35] drm/i915/bios: Define VBT block 18 (Driver Rotation) contents

Jani Nikula jani.nikula at linux.intel.com
Mon May 6 09:31:56 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 block 18 (Driver Rotation).
>
> Signed-off-by: Ville Syrjälä <ville.syrjala at linux.intel.com>

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

> ---
>  drivers/gpu/drm/i915/display/intel_vbt_defs.h | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> index c97bca5d12d1..2792da3c916e 100644
> --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> @@ -845,6 +845,18 @@ struct bdb_sv_test_functions {
>  	u8 sv_bits[8];
>  } __packed;
>  
> +/*
> + * Block 18 - Driver Rotation
> + */
> +
> +struct bdb_driver_rotation {
> +	u8 rotation_enable;
> +	u8 rotation_flags_1;
> +	u16 rotation_flags_2;
> +	u32 rotation_flags_3;
> +	u32 rotation_flags_4;
> +} __packed;
> +
>  /*
>   * Block 22 - SDVO LVDS General Options
>   */

-- 
Jani Nikula, Intel


More information about the Intel-gfx mailing list