|
@@ -1157,7 +1157,9 @@ parse_device_mapping(struct drm_i915_private *dev_priv,
|
|
DRM_DEBUG_KMS("No general definition block is found, no devices defined.\n");
|
|
DRM_DEBUG_KMS("No general definition block is found, no devices defined.\n");
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if (bdb->version < 109) {
|
|
|
|
|
|
+ if (bdb->version < 106) {
|
|
|
|
+ expected_size = 22;
|
|
|
|
+ } else if (bdb->version < 109) {
|
|
expected_size = 27;
|
|
expected_size = 27;
|
|
} else if (bdb->version < 195) {
|
|
} else if (bdb->version < 195) {
|
|
BUILD_BUG_ON(sizeof(struct old_child_dev_config) != 33);
|
|
BUILD_BUG_ON(sizeof(struct old_child_dev_config) != 33);
|