[Intel-gfx] [PATCH] drm/i915/vbt: Child device size remains unchanged through VBT 229

Jani Nikula jani.nikula at linux.intel.com
Mon Oct 7 11:33:51 UTC 2019


On Wed, 02 Oct 2019, Matt Roper <matthew.d.roper at intel.com> wrote:
> The latest documented version of the VBT is 229, but no further data has
> been added to the child device definition in block 2.  Update the child
> device version test to eliminate the "Expected child device config size
> for VBT version XXX not known; assuming 39" debug messages from the
> logs.
>
> Bspec: 20124
> Bspec: 20157
> Signed-off-by: Matt Roper <matthew.d.roper at 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 1def550c68c8..9628b485b179 100644
> --- a/drivers/gpu/drm/i915/display/intel_bios.c
> +++ b/drivers/gpu/drm/i915/display/intel_bios.c
> @@ -1615,7 +1615,7 @@ parse_general_definitions(struct drm_i915_private *dev_priv,
>  		expected_size = 37;
>  	} else if (bdb->version <= 215) {
>  		expected_size = 38;
> -	} else if (bdb->version <= 216) {
> +	} else if (bdb->version <= 229) {
>  		expected_size = 39;
>  	} else {
>  		expected_size = sizeof(*child);

-- 
Jani Nikula, Intel Open Source Graphics Center


More information about the Intel-gfx mailing list