Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: "Ville Syrjälä" <ville.syrjala@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915: HSW always use GGTT selector for secure batches
Date: Wed, 10 Sep 2014 14:16:32 +0200	[thread overview]
Message-ID: <20140910121632.GR15520@phenom.ffwll.local> (raw)
In-Reply-To: <20140910120003.GR4193@intel.com>

On Wed, Sep 10, 2014 at 03:00:03PM +0300, Ville Syrjälä wrote:
> On Wed, Sep 10, 2014 at 12:21:43PM +0100, Chris Wilson wrote:
> > On Wed, Sep 10, 2014 at 12:18:27PM +0100, Chris Wilson wrote:
> > > gen6 and earlier conflate address space selection (ppgtt vs ggtt) with
> > > the security bit (i.e. only privileged batches were allowed to run from
> > > ggtt). From Haswell onwards, you are able to select the security bit
> > 
> > ggtt). For Haswell only, you are able to select the security bit

Rectified.

> > > separate from the address space - and we always requested to use ppgtt.
> > > This breaks the golden render state batch execution with full-ppgtt as
> > > that is only present in the global GTT and more generally any secure
> > > batch that is not colocated in the ppgtt and ggtt. So we need to
> > > disable the use of the ppgtt selector bit for secure batches, or else we
> > > hang immediately upon boot and thence after every GPU reset...
> > > 
> > > v2: Only HSW differentiates between secure dispatch and ggtt, so simply
> > > ignore the differentiation and always use secure==ggtt.
> > > 
> > > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > > Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Queued for -next, thanks for the patch.
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch

      reply	other threads:[~2014-09-10 12:16 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-10  9:26 [PATCH] drm/i915: Use GGTT batchbuffer selector Chris Wilson
2014-09-10  9:46 ` Chris Wilson
2014-09-10 10:30 ` Ville Syrjälä
2014-09-10 10:50   ` Chris Wilson
2014-09-10 11:18   ` [PATCH] drm/i915: HSW always use GGTT selector for secure batches Chris Wilson
2014-09-10 11:21     ` Chris Wilson
2014-09-10 12:00       ` Ville Syrjälä
2014-09-10 12:16         ` Daniel Vetter [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=20140910121632.GR15520@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=ville.syrjala@linux.intel.com \
    /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