[Intel-gfx] [PATCH 1/3] drm/i915: don't use stolen space on VLV
Jesse Barnes
jbarnes at virtuousgeek.org
Thu May 2 01:09:20 CEST 2013
BIOS stuffs things here we can't clobber.
Signed-off-by: Jesse Barnes <jbarnes at virtuosugeek.org>
---
drivers/gpu/drm/i915/i915_gem_stolen.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c b/drivers/gpu/drm/i915/i915_gem_stolen.c
index 67d3510..85b3ea9 100644
--- a/drivers/gpu/drm/i915/i915_gem_stolen.c
+++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
@@ -184,6 +184,9 @@ int i915_gem_init_stolen(struct drm_device *dev)
{
struct drm_i915_private *dev_priv = dev->dev_private;
+ if (IS_VALLEYVIEW(dev))
+ return 0;
+
dev_priv->mm.stolen_base = i915_stolen_to_physical(dev);
if (dev_priv->mm.stolen_base == 0)
return 0;
--
1.7.10.4
More information about the Intel-gfx
mailing list