Skip to contentSkip to conversation

drm/i915: Disable stolen memory when DMAR is active

PATCH In review Chris Wilson 5 participants 15 messages Feb 28, 2014 – Mar 20, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/i915: Disable stolen memory when DMAR is active

We have reports of heavy screen corruption if we try to use the stolen memory reserved by the BIOS whilst the DMA-Remapper is active. This quirk may be only specific to a few machines or BIOSes, but first lets apply the big hammer and always disable use of stolen memory when DMAR is active.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68535

---
 drivers/gpu/drm/i915/i915_gem_stolen.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
drivers/gpu/drm/i915/i915_gem_stolen.c +14 -0
index 984ada1b0084..13a849afe479 100644
@@ -325,11 +325,25 @@ void i915_gem_cleanup_stolen(struct drm_device *dev)
 	drm_mm_takedown(&dev_priv->mm.stolen);
 }
 
+static bool need_dmar_wa(struct drm_device *dev)
+{
+#ifdef CONFIG_INTEL_IOMMU
+	if (INTEL_INFO(dev)->gen >= 6 && intel_iommu_gfx_mapped)
+		return true;
+#endif
+	return false;
+}
+
 int i915_gem_init_stolen(struct drm_device *dev)
 {
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	struct resource *r;
 
+	if (need_dmar_wa(dev)) {
+		DRM_INFO("DMAR active, disabling use of stolen memory\n");
+		return 0;
+	}
+
 	if (dev_priv->gtt.stolen_size == 0)
 		return 0;
 
Signature · 1 line
1.9.0
#1 lore raw
Quoted 18 lines · Chris Wilson

We have reports of heavy screen corruption if we try to use the stolen memory reserved by the BIOS whilst the DMA-Remapper is active. This quirk may be only specific to a few machines or BIOSes, but first lets apply the big hammer and always disable use of stolen memory when DMAR is active.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68535

---
 drivers/gpu/drm/i915/i915_gem_stolen.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
drivers/gpu/drm/i915/i915_gem_stolen.c +0 -0
index 984ada1b0084..13a849afe479 100644

drivers/gpu/drm/i915/i915_gem_stolen.c void i915_gem_cleanup_stolen(struct drm_device *dev) · line 331

Quoted 7 lines
drivers/gpu/drm/i915/i915_gem_stolen.c +4 -0
@@ -325,11 +325,25 @@ void i915_gem_cleanup_stolen(struct drm_device *dev)
 	drm_mm_takedown(&dev_priv->mm.stolen);
 }
 
+static bool need_dmar_wa(struct drm_device *dev)
+{
+#ifdef CONFIG_INTEL_IOMMU
+	if (INTEL_INFO(dev)->gen >= 6 && intel_iommu_gfx_mapped)

Why the gen check in here? Without that we could just check intel_iommu_gfx_mapped and shovel the #ifdef into stolen init. No need to spread it out like that imo.
-Daniel

Quoted 21 lines
drivers/gpu/drm/i915/i915_gem_stolen.c +10 -0
+		return true;
+#endif
+	return false;
+}
+
 int i915_gem_init_stolen(struct drm_device *dev)
 {
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	struct resource *r;
 
+	if (need_dmar_wa(dev)) {
+		DRM_INFO("DMAR active, disabling use of stolen memory\n");
+		return 0;
+	}
+
 	if (dev_priv->gtt.stolen_size == 0)
 		return 0;
 
Signature · 1 line
1.9.0
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
#2 lore raw
Quoted 22 lines · Daniel Vetter
Quoted 21 lines · Chris Wilson

We have reports of heavy screen corruption if we try to use the stolen memory reserved by the BIOS whilst the DMA-Remapper is active. This quirk may be only specific to a few machines or BIOSes, but first lets apply the big hammer and always disable use of stolen memory when DMAR is active.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68535

---
 drivers/gpu/drm/i915/i915_gem_stolen.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
drivers/gpu/drm/i915/i915_gem_stolen.c +0 -0
index 984ada1b0084..13a849afe479 100644
@@ -325,11 +325,25 @@ void i915_gem_cleanup_stolen(struct drm_device *dev)
 	drm_mm_takedown(&dev_priv->mm.stolen);
 }
 
Quoted 8 lines

drivers/gpu/drm/i915/i915_gem_stolen.c void i915_gem_cleanup_stolen(struct drm_device *dev) · line 331

Quoted 4 lines
drivers/gpu/drm/i915/i915_gem_stolen.c +4 -0
+static bool need_dmar_wa(struct drm_device *dev)
+{
+#ifdef CONFIG_INTEL_IOMMU
+	if (INTEL_INFO(dev)->gen >= 6 && intel_iommu_gfx_mapped)

Why the gen check in here? Without that we could just check intel_iommu_gfx_mapped and shovel the #ifdef into stolen init. No need to spread it out like that imo.

It's almost as if it was cut'n'paste from another VTd w/a. I'm worried that this is too big a hammer. I would have expected more complaints if VTd was this broken since 3.9. Otoh, it is a severe bug. -chris

Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
#3 lore raw
Quoted 32 lines · Chris Wilson
Quoted 22 lines · Daniel Vetter
Quoted 21 lines · Chris Wilson

We have reports of heavy screen corruption if we try to use the stolen memory reserved by the BIOS whilst the DMA-Remapper is active. This quirk may be only specific to a few machines or BIOSes, but first lets apply the big hammer and always disable use of stolen memory when DMAR is active.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68535

---
 drivers/gpu/drm/i915/i915_gem_stolen.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
drivers/gpu/drm/i915/i915_gem_stolen.c +0 -0
index 984ada1b0084..13a849afe479 100644
@@ -325,11 +325,25 @@ void i915_gem_cleanup_stolen(struct drm_device *dev)
 	drm_mm_takedown(&dev_priv->mm.stolen);
 }
 
Quoted 8 lines

drivers/gpu/drm/i915/i915_gem_stolen.c void i915_gem_cleanup_stolen(struct drm_device *dev) · line 331

Quoted 4 lines
drivers/gpu/drm/i915/i915_gem_stolen.c +4 -0
+static bool need_dmar_wa(struct drm_device *dev)
+{
+#ifdef CONFIG_INTEL_IOMMU
+	if (INTEL_INFO(dev)->gen >= 6 && intel_iommu_gfx_mapped)

Why the gen check in here? Without that we could just check intel_iommu_gfx_mapped and shovel the #ifdef into stolen init. No need to spread it out like that imo.

Quoted 3 lines

It's almost as if it was cut'n'paste from another VTd w/a. I'm worried that this is too big a hammer. I would have expected more complaints if VTd was this broken since 3.9. Otoh, it is a severe bug.

We've had piles of bugs in our stolen detection, combined with very few people having vt-d capable machines (thanks to intel's differentation) and probably even fewer having it enabled I'm not so much surprised.

On top of that lots of noise on the interwebz that dmar is trouble for intel gfx on linux, so people probably just disable it and carry on ... -Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
maintainer
#4 lore raw
Quoted 37 lines · Daniel Vetter
Quoted 32 lines · Chris Wilson
Quoted 22 lines · Daniel Vetter
Quoted 21 lines · Chris Wilson

We have reports of heavy screen corruption if we try to use the stolen memory reserved by the BIOS whilst the DMA-Remapper is active. This quirk may be only specific to a few machines or BIOSes, but first lets apply the big hammer and always disable use of stolen memory when DMAR is active.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68535

---
 drivers/gpu/drm/i915/i915_gem_stolen.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
drivers/gpu/drm/i915/i915_gem_stolen.c +0 -0
index 984ada1b0084..13a849afe479 100644
@@ -325,11 +325,25 @@ void i915_gem_cleanup_stolen(struct drm_device *dev)
 	drm_mm_takedown(&dev_priv->mm.stolen);
 }
 
Quoted 8 lines

drivers/gpu/drm/i915/i915_gem_stolen.c void i915_gem_cleanup_stolen(struct drm_device *dev) · line 331

Quoted 4 lines
drivers/gpu/drm/i915/i915_gem_stolen.c +4 -0
+static bool need_dmar_wa(struct drm_device *dev)
+{
+#ifdef CONFIG_INTEL_IOMMU
+	if (INTEL_INFO(dev)->gen >= 6 && intel_iommu_gfx_mapped)

Why the gen check in here? Without that we could just check intel_iommu_gfx_mapped and shovel the #ifdef into stolen init. No need to spread it out like that imo.

Quoted 3 lines

It's almost as if it was cut'n'paste from another VTd w/a. I'm worried that this is too big a hammer. I would have expected more complaints if VTd was this broken since 3.9. Otoh, it is a severe bug.

Quoted 6 lines

We've had piles of bugs in our stolen detection, combined with very few people having vt-d capable machines (thanks to intel's differentation) and probably even fewer having it enabled I'm not so much surprised.

On top of that lots of noise on the interwebz that dmar is trouble for intel gfx on linux, so people probably just disable it and carry on ...

So what's the verdict on this one?

BR,
Jani.

Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
#5 lore raw

PATCH v2 1/1 drm/i915: Disable stolen memory when DMAR is active

In reply to Chris Wilson

From: Chris Wilson <[email protected]>

We have reports of heavy screen corruption if we try to use the stolen memory reserved by the BIOS whilst the DMA-Remapper is active. This quirk may be only specific to a few machines or BIOSes, but first lets apply the big hammer and always disable use of stolen memory when DMAR is active.

v2 by Jani: Rebase on -fixes, only look at intel_iommu_gfx_mapped.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68535

---

Daniel, is this the color you want?

---
 drivers/gpu/drm/i915/i915_gem_stolen.c |    7 +++++++
 1 file changed, 7 insertions(+)
drivers/gpu/drm/i915/i915_gem_stolen.c +7 -0
index d58b4e287e32..28d24caa49f3 100644
@@ -214,6 +214,13 @@ int i915_gem_init_stolen(struct drm_device *dev)
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	int bios_reserved = 0;
 
+#ifdef CONFIG_INTEL_IOMMU
+	if (intel_iommu_gfx_mapped) {
+		DRM_INFO("DMAR active, disabling use of stolen memory\n");
+		return 0;
+	}
+#endif
+
 	if (dev_priv->gtt.stolen_size == 0)
 		return 0;
 
Signature · 1 line
1.7.9.5
#6 lore raw
Quoted 10 lines · Jani Nikula

From: Chris Wilson <[email protected]>

We have reports of heavy screen corruption if we try to use the stolen memory reserved by the BIOS whilst the DMA-Remapper is active. This quirk may be only specific to a few machines or BIOSes, but first lets apply the big hammer and always disable use of stolen memory when DMAR is active.

v2 by Jani: Rebase on -fixes, only look at intel_iommu_gfx_mapped.

Quoted 8 lines

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68535

---

Daniel, is this the color you want?

Yeah, colour looks shiny ;-) Reviewed-by: Daniel Vetter <[email protected]>

Quoted 27 lines
---
 drivers/gpu/drm/i915/i915_gem_stolen.c |    7 +++++++
 1 file changed, 7 insertions(+)
drivers/gpu/drm/i915/i915_gem_stolen.c +7 -0
index d58b4e287e32..28d24caa49f3 100644
@@ -214,6 +214,13 @@ int i915_gem_init_stolen(struct drm_device *dev)
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	int bios_reserved = 0;
 
+#ifdef CONFIG_INTEL_IOMMU
+	if (intel_iommu_gfx_mapped) {
+		DRM_INFO("DMAR active, disabling use of stolen memory\n");
+		return 0;
+	}
+#endif
+
 	if (dev_priv->gtt.stolen_size == 0)
 		return 0;
 
Signature · 1 line
1.7.9.5
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
#7 lore raw
Quoted 16 lines · Daniel Vetter
Quoted 15 lines · Jani Nikula

From: Chris Wilson <[email protected]>

We have reports of heavy screen corruption if we try to use the stolen memory reserved by the BIOS whilst the DMA-Remapper is active. This quirk may be only specific to a few machines or BIOSes, but first lets apply the big hammer and always disable use of stolen memory when DMAR is active.

v2 by Jani: Rebase on -fixes, only look at intel_iommu_gfx_mapped.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68535

Quoted 5 lines
Quoted 3 lines

---

Daniel, is this the color you want?

Yeah, colour looks shiny ;-) Reviewed-by: Daniel Vetter <[email protected]>

Correction, cc: stable is missing.
-Daniel

Quoted 32 lines
Quoted 27 lines
---
 drivers/gpu/drm/i915/i915_gem_stolen.c |    7 +++++++
 1 file changed, 7 insertions(+)
drivers/gpu/drm/i915/i915_gem_stolen.c +7 -0
index d58b4e287e32..28d24caa49f3 100644
@@ -214,6 +214,13 @@ int i915_gem_init_stolen(struct drm_device *dev)
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	int bios_reserved = 0;
 
+#ifdef CONFIG_INTEL_IOMMU
+	if (intel_iommu_gfx_mapped) {
+		DRM_INFO("DMAR active, disabling use of stolen memory\n");
+		return 0;
+	}
+#endif
+
 	if (dev_priv->gtt.stolen_size == 0)
 		return 0;
 
Signature · 1 line
1.7.9.5
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Applied
#8 lore raw
Quoted 17 lines · Daniel Vetter
Quoted 16 lines · Daniel Vetter
Quoted 15 lines · Jani Nikula

From: Chris Wilson <[email protected]>

We have reports of heavy screen corruption if we try to use the stolen memory reserved by the BIOS whilst the DMA-Remapper is active. This quirk may be only specific to a few machines or BIOSes, but first lets apply the big hammer and always disable use of stolen memory when DMAR is active.

v2 by Jani: Rebase on -fixes, only look at intel_iommu_gfx_mapped.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=68535

Quoted 7 lines
Quoted 5 lines
Quoted 3 lines

---

Daniel, is this the color you want?

Yeah, colour looks shiny ;-) Reviewed-by: Daniel Vetter <[email protected]>

Correction, cc: stable is missing.

Pushed to -fixes, thanks for the patch (original by Chris) and review.

Jani.

Quoted 43 lines

-Daniel

Quoted 32 lines
Quoted 27 lines
---
 drivers/gpu/drm/i915/i915_gem_stolen.c |    7 +++++++
 1 file changed, 7 insertions(+)
drivers/gpu/drm/i915/i915_gem_stolen.c +7 -0
index d58b4e287e32..28d24caa49f3 100644
@@ -214,6 +214,13 @@ int i915_gem_init_stolen(struct drm_device *dev)
 	struct drm_i915_private *dev_priv = dev->dev_private;
 	int bios_reserved = 0;
 
+#ifdef CONFIG_INTEL_IOMMU
+	if (intel_iommu_gfx_mapped) {
+		DRM_INFO("DMAR active, disabling use of stolen memory\n");
+		return 0;
+	}
+#endif
+
 	if (dev_priv->gtt.stolen_size == 0)
 		return 0;
 
Signature · 1 line
1.7.9.5
Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
Signature · 7 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
#9 lore raw
In reply to Jani Nikula
Quoted 9 lines · Jani Nikula

From: Chris Wilson <[email protected]>

We have reports of heavy screen corruption if we try to use the stolen memory reserved by the BIOS whilst the DMA-Remapper is active. This quirk may be only specific to a few machines or BIOSes, but first lets apply the big hammer and always disable use of stolen memory when DMAR is active.

v2 by Jani: Rebase on -fixes, only look at intel_iommu_gfx_mapped.

Perhaps this (and all similar workarounds) should be predicated on i915_preliminary_hw_support? When people are using the Linux kernel for chipset validation, we sure as hell don't want to silently disable this stuff and let them think it's working when it's not.

Signature · 1 line
dwmw2

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#10 lore raw
Quoted 9 lines · David Woodhouse
Quoted 8 lines · Jani Nikula

From: Chris Wilson <[email protected]>

We have reports of heavy screen corruption if we try to use the stolen memory reserved by the BIOS whilst the DMA-Remapper is active. This quirk may be only specific to a few machines or BIOSes, but first lets apply the big hammer and always disable use of stolen memory when DMAR is active.

Quoted 6 lines
Quoted 1 line

v2 by Jani: Rebase on -fixes, only look at intel_iommu_gfx_mapped.

Perhaps this (and all similar workarounds) should be predicated on i915_preliminary_hw_support? When people are using the Linux kernel for chipset validation, we sure as hell don't want to silently disable this stuff and let them think it's working when it's not.

Or an additional knob, in case it's really not working and people want to get other things depending on prelim hw support done.

BR,
Jani.

Signature · 1 line
Jani Nikula, Intel Open Source Technology Center
#11 lore raw
Quoted 3 lines · Jani Nikula

Or an additional knob, in case it's really not working and people want to get other things depending on prelim hw support done.

Yeah. Perhaps the best answer is a 'disable_silicon_workarounds' option, to disable *all* workarounds for silicon bugs. Couple that with a printk telling the user that workarounds are disabled *and* VT-d is enabled.

That's a nice simple thing for the chipset validation folks to be looking for. Unless they see that and have no issues with either framebuffer or X, the chipset hasn't been tested.

That aside, I'm also unhappy with your patch on general principles. As a rule I'd like to see references to a *specific* published erratum, for anything we disable. Otherwise we're just admitting that life is too hard and we *never* bother to test our silicon before we ship it and we *expect* it to be broken.

If we chase broken hardware to the point where errata are published, we should hopefully ensure that the problem feeds back to the validation folks who haven't done their job properly. Every time.

(Pondered making this an internal email, but hey — *you're* the one who said "our hardware is always broken and we don't even bother to track individual brokenness". I'm just translating it into English from what's in your patch :)

Signature · 1 line
dwmw2

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#12 lore raw
Quoted 19 lines · David Woodhouse
Quoted 3 lines · Jani Nikula

Or an additional knob, in case it's really not working and people want to get other things depending on prelim hw support done.

Yeah. Perhaps the best answer is a 'disable_silicon_workarounds' option, to disable *all* workarounds for silicon bugs. Couple that with a printk telling the user that workarounds are disabled *and* VT-d is enabled.

That's a nice simple thing for the chipset validation folks to be looking for. Unless they see that and have no issues with either framebuffer or X, the chipset hasn't been tested.

That aside, I'm also unhappy with your patch on general principles. As a rule I'd like to see references to a *specific* published erratum, for anything we disable. Otherwise we're just admitting that life is too hard and we *never* bother to test our silicon before we ship it and we *expect* it to be broken.

Quoted 8 lines

If we chase broken hardware to the point where errata are published, we should hopefully ensure that the problem feeds back to the validation folks who haven't done their job properly. Every time.

(Pondered making this an internal email, but hey — *you're* the one who said "our hardware is always broken and we don't even bother to track individual brokenness". I'm just translating it into English from what's in your patch :)

I'll have to dodge this particular discussion, just because it was really Chris' patch which I merely repainted with colours requested by our resident interior designer Daniel. ;)

BR,
Jani.

Quoted 8 lines
Signature · 7 lines
-- 
dwmw2

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 5 lines
Jani Nikula, Intel Open Source Technology Center
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#13 lore raw
In reply to David Woodhouse
Quoted 19 lines · David Woodhouse
Quoted 3 lines · Jani Nikula

Or an additional knob, in case it's really not working and people want to get other things depending on prelim hw support done.

Yeah. Perhaps the best answer is a 'disable_silicon_workarounds' option, to disable *all* workarounds for silicon bugs. Couple that with a printk telling the user that workarounds are disabled *and* VT-d is enabled.

That's a nice simple thing for the chipset validation folks to be looking for. Unless they see that and have no issues with either framebuffer or X, the chipset hasn't been tested.

That aside, I'm also unhappy with your patch on general principles. As a rule I'd like to see references to a *specific* published erratum, for anything we disable. Otherwise we're just admitting that life is too hard and we *never* bother to test our silicon before we ship it and we *expect* it to be broken.

Quoted 8 lines

If we chase broken hardware to the point where errata are published, we should hopefully ensure that the problem feeds back to the validation folks who haven't done their job properly. Every time.

(Pondered making this an internal email, but hey -- *you're* the one who said "our hardware is always broken and we don't even bother to track individual brokenness". I'm just translating it into English from what's in your patch :)

I'd agree that this would be nice, but my maintainer time is not endless and when I have users screaming "regression" I do have to do something. And yeah with the track record set of some of the earliest vtd+gfx chips I'm fairly aggressive with just disabling features, especially when the original bug report is against a recent platform like ivb (so presumably issues on olders exist, too).

Now this very likely is some fumble in our code, after all the bios managed to set things up. But until I have managers screaming at me and throwing people ("resources") at the problem, my only concern is keeping the regressions out the door without disabling other stuff my managers actually do scream around about.
-Daniel

Signature · 3 lines
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
#14 lore raw
Quoted 4 lines · Daniel Vetter

I'd agree that this would be nice, but my maintainer time is not endless and when I have users screaming "regression" I do have to do something. And yeah with the track record set of some of the earliest vtd+gfx chips I'm fairly aggressive with just disabling features,

It's not just the earlier vtd+gfx chips. To my knowledge we've *never* shipped a chip without egregious hardware bugs with VT-d.

Quoted 2 lines

especially when the original bug report is against a recent platform like ivb (so presumably issues on olders exist, too).

Yes, by all means disable it for current and old chipsets. But please not newer ones. I want it to show up when the validation folks use Linux to test the hardware. And if we *do* have to subsequently bump the check to include the next revision of the hardware, I want someone's head on a plate.

As I commented in private, this is the first time we've used intel_iommu_gfx_mapped to disable a feature without a check for specific hardware revisions. Please don't do that.

Quoted 2 lines

Now this very likely is some fumble in our code, after all the bios managed to set things up.

Maybe not; sometimes it's just that Linux does a little bit more with the hardware and happens to tickle the bug. The superpage screwup I've recently been chasing, for example, is blatantly a hardware issue but didn't show up with the BIOS framebuffer. And *does* with the Linux framebuffer in stolen memory.

Signature · 1 line
dwmw2

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx