summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/intel/gma/opregion.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/intel/gma/opregion.c b/src/drivers/intel/gma/opregion.c
index ff77f653b0..dc99fd49e4 100644
--- a/src/drivers/intel/gma/opregion.c
+++ b/src/drivers/intel/gma/opregion.c
@@ -332,8 +332,8 @@ enum cb_err intel_gma_init_igd_opregion(void)
return CB_ERR;
}
- if (is_ext_vbt_required(opregion, vbt))
- opregion_size += vbt->hdr_vbt_size;
+ /* Add the space for the extended VBT header even if it's not used */
+ opregion_size += vbt->hdr_vbt_size;
opregion = cbmem_add(CBMEM_ID_IGD_OPREGION, opregion_size);
if (!opregion) {