All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daniel Vetter <daniel@ffwll.ch>
To: Rob Clark <robdclark@gmail.com>
Cc: James Jones <jajones@nvidia.com>,
	dri-devel <dri-devel@lists.freedesktop.org>
Subject: Re: Unix Device Memory Allocation project
Date: Wed, 4 Jan 2017 15:54:52 +0100	[thread overview]
Message-ID: <20170104145452.iqqtrny2fn7vef6v@phenom.ffwll.local> (raw)
In-Reply-To: <CAF6AEGvSbZY6pNow-0_+fJzmWNT48pFT7VJU=OgonyNp9VyGqQ@mail.gmail.com>

On Wed, Jan 04, 2017 at 08:06:24AM -0500, Rob Clark wrote:
> On Wed, Jan 4, 2017 at 7:03 AM, Daniel Stone <daniel@fooishbar.org> wrote:
> >> Speaking of compression for display, especially the separate
> >> compression buffer: That should be fully contained in the main DMABUF
> >> and described by the per-BO metadata. Some other drivers want to use a
> >> separate DMABUF for the compression buffer - while that may sound good
> >> in theory, it's not economical for the reason described above.
> >
> > 'Some other drivers want to use a separate DMABUF', or 'some other
> > hardware demands the data be separate'. Same with luma/chroma plane
> > separation. Anyway, it doesn't really matter unless you're sharing
> > render-compression formats across vendors, and AFBC is the only case
> > of that I know of currently.
> 
> 
> jfwiw, UBWC on newer snapdragons too.. seems like we can share these
> not just between gpu (render to and sample from) and display, but also
> v4l2 decoder/encoder (and maybe camera?)
> 
> I *think* we probably can treat the metadata buffers as a separate
> plane.. at least we can for render target and blit src/dst, but not
> 100% sure about sampling from a UBWC buffer.. that might force us to
> have them in a single buffer.

Conceptually treating them as two planes, and everywhere requiring that
they're allocated from the same BO are orthogonal things. At least that's
our plan with intel render compression last time I understood the current
state ;-)
-Daniel
-- 
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2017-01-04 14:54 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04 23:47 Unix Device Memory Allocation project James Jones
2016-10-05  8:42 ` Benjamin Gaignard
2016-10-05 12:19   ` Rob Clark
2016-10-18 23:40 ` Marek Olšák
2016-10-19  0:08   ` James Jones
2016-10-19  6:31     ` Daniel Vetter
2016-10-19  6:23   ` Daniel Vetter
2016-10-19 12:15     ` Christian König
2016-10-19 13:15     ` Marek Olšák
2016-10-19 14:10       ` Daniel Vetter
2016-10-19 16:46         ` Marek Olšák
2016-10-20  6:31           ` Daniel Vetter
2017-01-03 23:38             ` Marek Olšák
2017-01-03 23:43               ` James Jones
2017-01-04  0:06                 ` Marek Olšák
2017-01-04  0:19                   ` James Jones
2017-01-04  8:46               ` Stéphane Marchesin
2017-01-04 12:03               ` Daniel Stone
2017-01-04 13:06                 ` Rob Clark
2017-01-04 14:54                   ` Daniel Vetter [this message]
2017-01-04 15:47                     ` Rob Clark
2017-01-04 16:02                       ` Christian König
2017-01-04 16:16                         ` Rob Clark
2017-01-04 16:26                           ` Christian König
2017-01-04 16:59                         ` Daniel Stone
2017-01-16 22:54                           ` Marek Olšák
2017-01-23  7:38                             ` Daniel Vetter
2016-10-19  6:49   ` Michel Dänzer
2016-10-19 12:33   ` Nicolai Hähnle
     [not found]     ` <CAAxE2A7ih_84H7w361msVYzRb8jb4ye8Psc1e5CO6gjJ2frO6g@mail.gmail.com>
     [not found]       ` <CAAxE2A53E_r9uA=FG_A63aBVgqaTWBuAzDZfDvRe9K+0EWmFeQ@mail.gmail.com>
2016-10-19 13:40         ` Marek Olšák

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=20170104145452.iqqtrny2fn7vef6v@phenom.ffwll.local \
    --to=daniel@ffwll.ch \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jajones@nvidia.com \
    --cc=robdclark@gmail.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 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.