All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Wilson <chris@chris-wilson.co.uk>
To: Daniel Vetter <daniel@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH] drm/915: Pad GTT views of exec objects up to user specified size
Date: Thu, 22 Oct 2015 09:40:04 +0100	[thread overview]
Message-ID: <20151022084004.GX2551@nuc-i3427.alporthouse.com> (raw)
In-Reply-To: <20151022080455.GO16848@phenom.ffwll.local>

On Thu, Oct 22, 2015 at 10:04:55AM +0200, Daniel Vetter wrote:
> On Wed, Oct 21, 2015 at 04:24:58PM +0100, Chris Wilson wrote:
> > Our GPUs impose certain requirements upon buffers that depend upon how
> > exactly they are used. Typically this is expressed as that they require
> > a larger surface than would be naively computed by pitch * height.
> > Normally such requirements are hidden away in the userspace driver, but
> > when we accept pointers from strangers and later impose extra conditions
> > on them, the original client allocator has no idea about the
> > monstrosities in the GPU and we require the userspace driver to inform
> > the kernel how many padding pages are required beyond the client
> > allocation.
> > 
> > v2: Long time, no see
> > 
> > Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
> > Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
> 
> Usual "needs igt + open-source userspace" broken record from maintainer,
> in case someone really wants to use this. Noises I've heard is that it's
> for opencl, but who knows.

igt sent many, many months ago. My user, once again, is in policing
DRI3 and userptr.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2015-10-22  8:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-21 15:24 [PATCH] drm/915: Pad GTT views of exec objects up to user specified size Chris Wilson
2015-10-22  8:04 ` Daniel Vetter
2015-10-22  8:40   ` Chris Wilson [this message]
2015-10-22  9:00 ` Tvrtko Ursulin
2015-10-22  9:09   ` Daniel Vetter
2015-10-22 14:15 ` Tvrtko Ursulin
2015-10-22 16:07   ` Chris Wilson
2015-10-23  9:50     ` Tvrtko Ursulin
2015-10-26 16:00       ` Tvrtko Ursulin
2015-10-26 17:05         ` Chris Wilson
2015-11-03 10:57           ` Tvrtko Ursulin

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=20151022084004.GX2551@nuc-i3427.alporthouse.com \
    --to=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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.