]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/i915/vbt: Child device size remains unchanged through VBT 229
authorMatt Roper <matthew.d.roper@intel.com>
Wed, 2 Oct 2019 19:22:58 +0000 (12:22 -0700)
committerMatt Roper <matthew.d.roper@intel.com>
Mon, 7 Oct 2019 17:24:31 +0000 (10:24 -0700)
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@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191002192258.1013-1-matthew.d.roper@intel.com
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/display/intel_bios.c

index 1def550c68c8b509e70a9c2f6726cb0ce43e7673..9628b485b1793c1daa3fe3f1047f2bc258fa4a18 100644 (file)
@@ -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);