[Intel-gfx] [PATCH] drm/i915: Bump VBT version for expected child dev size check

Jani Nikula jani.nikula at linux.intel.com
Mon Mar 6 17:29:50 UTC 2023


On Mon, 06 Mar 2023, Ville Syrjala <ville.syrjala at linux.intel.com> wrote:
> From: Ville Syrjälä <ville.syrjala at linux.intel.com>
>
> The most modern VBT I've observed in the wild is version 250.
> The child dev size hasn't changed since version 216, so bump
> the version number in the expected child dev size check.
>
> 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_bios.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/display/intel_bios.c b/drivers/gpu/drm/i915/display/intel_bios.c
> index f16887aed56d..e54febd34ca9 100644
> --- a/drivers/gpu/drm/i915/display/intel_bios.c
> +++ b/drivers/gpu/drm/i915/display/intel_bios.c
> @@ -2822,7 +2822,7 @@ parse_general_definitions(struct drm_i915_private *i915)
>  		expected_size = 37;
>  	} else if (i915->display.vbt.version <= 215) {
>  		expected_size = 38;
> -	} else if (i915->display.vbt.version <= 237) {
> +	} else if (i915->display.vbt.version <= 250) {
>  		expected_size = 39;
>  	} else {
>  		expected_size = sizeof(*child);

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list