From: Ben Widawsky <ben@bwidawsk.net>
To: Chris Wilson <chris@chris-wilson.co.uk>,
Daniel Vetter <daniel@ffwll.ch>,
intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: Do not access stolen memory directly by the CPU, even for error capture
Date: Sun, 20 Jul 2014 11:59:31 -0700 [thread overview]
Message-ID: <20140720185931.GA10173@bwidawsk.net> (raw)
In-Reply-To: <20140720082955.GA15008@nuc-i3427.alporthouse.com>
On Sun, Jul 20, 2014 at 09:29:55AM +0100, Chris Wilson wrote:
> On Tue, Jul 15, 2014 at 08:30:33PM -0700, Ben Widawsky wrote:
> > On Tue, Jul 15, 2014 at 04:15:08PM +0200, Daniel Vetter wrote:
> > > On Thu, Apr 24, 2014 at 02:47:48PM -0700, Ben Widawsky wrote:
> > > > On Wed, Feb 12, 2014 at 07:18:40PM +0000, Chris Wilson wrote:
> > > > > For stolen pages, since it is verboten to access them directly on many
> > > > > architectures, we have to read them through the GTT aperture. If they
> > > > > are not accessible through the aperture, then we have to abort.
> > > > >
> > > > > This was complicated by
> > > > >
> > > > > commit 8b6124a633d8095b0c8364f585edff9c59568a96
> > > > > Author: Chris Wilson <chris@chris-wilson.co.uk>
> > > > > Date: Thu Jan 30 14:38:16 2014 +0000
> > > > >
> > > > > drm/i915: Don't access snooped pages through the GTT (even for error capture)
> > > > >
> > > > > and the desire to use stolen memory for ringbuffers, contexts and
> > > > > batches in the future.
> > > >
> > > > I am somewhat unclear as to whether we want to prefer the aperture for
> > > > reading back objects which may be mapped in multiple address spaces.
> >
> > Can we just ioremap the physical address (at least for error capture)?
>
> Do you want to hard hang the machine?
> -Chris
>
What's the latest GEN you can hang the machine with? This is
ioremap_nocache we're talking about, right? I will try it on BDW
tomorrow.
I can't imagine anything but snoop cycles hanging the machine...
--
Ben Widawsky, Intel Open Source Technology Center
prev parent reply other threads:[~2014-07-20 18:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-12 19:18 [PATCH] drm/i915: Do not access stolen memory directly by the CPU, even for error capture Chris Wilson
2014-02-18 19:18 ` Ben Widawsky
2014-03-04 14:45 ` Daniel Vetter
2014-03-04 21:27 ` Ben Widawsky
2014-03-04 22:01 ` Chris Wilson
2014-03-05 9:18 ` Chris Wilson
2014-04-24 21:47 ` Ben Widawsky
2014-07-15 14:15 ` Daniel Vetter
2014-07-16 3:30 ` Ben Widawsky
2014-07-20 8:29 ` Chris Wilson
2014-07-20 18:59 ` Ben Widawsky [this message]
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=20140720185931.GA10173@bwidawsk.net \
--to=ben@bwidawsk.net \
--cc=chris@chris-wilson.co.uk \
--cc=daniel@ffwll.ch \
--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