Commit 0eaca1ed authored by Ville Syrjälä's avatar Ville Syrjälä

drm/i915: Bump VBT version for expected child dev size check

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: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230306154419.23207-1-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 6dbbff25
...@@ -2822,7 +2822,7 @@ parse_general_definitions(struct drm_i915_private *i915) ...@@ -2822,7 +2822,7 @@ parse_general_definitions(struct drm_i915_private *i915)
expected_size = 37; expected_size = 37;
} else if (i915->display.vbt.version <= 215) { } else if (i915->display.vbt.version <= 215) {
expected_size = 38; expected_size = 38;
} else if (i915->display.vbt.version <= 237) { } else if (i915->display.vbt.version <= 250) {
expected_size = 39; expected_size = 39;
} else { } else {
expected_size = sizeof(*child); expected_size = sizeof(*child);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment