[Intel-gfx] [PATCH 10/12] drm/i915: Rename some VBT bits

Jani Nikula jani.nikula at linux.intel.com
Fri Sep 2 14:15:00 UTC 2022


On Fri, 15 Jul 2022, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> The allow vs. block display switch bits are named rather
> inconsistently. Fix it up.

WTF on the names. :D

> 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 | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> index f56c869e106f..62183c6bdc10 100644
> --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> @@ -553,8 +553,8 @@ struct bdb_psr {
>  struct bdb_driver_features {
>  	/* Driver bits */
>  	u8 boot_dev_algorithm:1;
> -	u8 block_display_switch:1;
> -	u8 allow_display_switch:1;
> +	u8 allow_display_switch_dvd:1;
> +	u8 allow_display_switch_dos:1;
>  	u8 hotplug_dvo:1;
>  	u8 dual_view_zoom:1;
>  	u8 int15h_hook:1;

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list