From: Jesse Barnes <jbarnes@virtuousgeek.org>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH 1/3] drm/i915: don't use stolen space on VLV
Date: Wed, 1 May 2013 16:09:20 -0700 [thread overview]
Message-ID: <1367449762-2214-1-git-send-email-jbarnes@virtuousgeek.org> (raw)
BIOS stuffs things here we can't clobber.
Signed-off-by: Jesse Barnes <jbarnes@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
next reply other threads:[~2013-05-01 23:09 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-01 23:09 Jesse Barnes [this message]
2013-05-01 23:09 ` [PATCH 2/3] drm/i915: read current freq from Punit on VLV Jesse Barnes
2013-05-02 3:14 ` Kenneth Graunke
2013-05-01 23:09 ` [PATCH 3/3] drm/i915: go back to switch for VLV mem freq detection Jesse Barnes
2013-05-02 1:26 ` Ben Widawsky
2013-05-02 1:38 ` Kenneth Graunke
2013-05-02 1:45 ` Ben Widawsky
2013-05-02 3:16 ` Kenneth Graunke
2013-05-02 1:40 ` Ben Widawsky
2013-05-02 1:00 ` [PATCH 1/3] drm/i915: don't use stolen space on VLV Ben Widawsky
-- strict thread matches above, loose matches on Subject: below --
2013-05-02 1:28 Jesse Barnes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1367449762-2214-1-git-send-email-jbarnes@virtuousgeek.org \
--to=jbarnes@virtuousgeek.org \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox