@@ -633,13 +633,21 @@ static void gen9_sseu_info_init(struct drm_device *dev)
/*
* BXT has a single slice. BXT also has at most 6 EU per subslice,
- * and therefore only the lowest 6 bits of the 8-bit EU disable
- * fields are valid.
+ * and bit mappings vs EU # in eu_disable fuse value in one subslice
+ * is like this;
+ *
+ * Bit # 7 6 5 4 3 2 1 0
+ * EU # 11 10 9 8 3 2 1 0
+ *
+ * Since only EUs with number "0, 1, 2, 8, 9, 10" are available in
+ * each subslice in BXT, bits in eu_mask should also be set according
+ * to this mapping, therefore, eu_mask = 0x77.
*/
+
if (IS_BROXTON(dev)) {
s_max = 1;
eu_max = 6;
- eu_mask = 0x3f;
+ eu_mask = 0x77;
}
info = (struct intel_device_info *)&dev_priv->info;