[Intel-gfx] [PATCH] drm/i915/vbt: Rename BDB_LVDS_POWER to BDB_LFP_POWER

Jani Nikula jani.nikula at intel.com
Mon Jan 13 09:57:34 UTC 2020


On Fri, 10 Jan 2020, José Roberto de Souza <jose.souza at intel.com> wrote:
> Renaming to match the BSpec and struct name.
>
> BSpec: 20150
> Cc: Jani Nikula <jani.nikula at intel.com>
> Signed-off-by: José Roberto de Souza <jose.souza at intel.com>

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

> ---
>  drivers/gpu/drm/i915/display/intel_bios.c     | 2 +-
>  drivers/gpu/drm/i915/display/intel_vbt_defs.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c
> index 8beac06e3f10..9a891ef72118 100644
> --- a/drivers/gpu/drm/i915/display/intel_bios.c
> +++ b/drivers/gpu/drm/i915/display/intel_bios.c
> @@ -686,7 +686,7 @@ parse_power_conservation_features(struct drm_i915_private *dev_priv,
>  	if (bdb->version < 228)
>  		return;
>  
> -	power = find_section(bdb, BDB_LVDS_POWER);
> +	power = find_section(bdb, BDB_LFP_POWER);
>  	if (!power)
>  		return;
>  
> diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> index 4d0c23b29248..05c7cbe32eb4 100644
> --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h
> @@ -111,7 +111,7 @@ enum bdb_block_id {
>  	BDB_LVDS_LFP_DATA_PTRS		= 41,
>  	BDB_LVDS_LFP_DATA		= 42,
>  	BDB_LVDS_BACKLIGHT		= 43,
> -	BDB_LVDS_POWER			= 44,
> +	BDB_LFP_POWER			= 44,
>  	BDB_MIPI_CONFIG			= 52,
>  	BDB_MIPI_SEQUENCE		= 53,
>  	BDB_COMPRESSION_PARAMETERS	= 56,

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list