public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Damien Lespiau <damien.lespiau@intel.com>
To: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Cc: intel-gfx@lists.freedesktop.org
Subject: Re: [RFC] drm/i915: Add variable gem object size support to i915
Date: Wed, 25 Jun 2014 14:34:38 +0100	[thread overview]
Message-ID: <20140625133438.GD10084@strange.amr.corp.intel.com> (raw)
In-Reply-To: <53AACE1C.6080509@linux.intel.com>

On Wed, Jun 25, 2014 at 02:26:52PM +0100, Tvrtko Ursulin wrote:
> >That's a good question to ask a GL team. In the light of sparse
> >textures I think the region idea would be better.
> >
> >We would need to define what the coordinates mean, for instance:
> >   - 2D view of the buffer, and the kernel takes care of translating what
> >     it means for the underlying pages?
> >   - See the buffer object as an array of pages, and those numbers define
> >     a region of pages.
> 
> This would mean kernel has to know about all possible tiling
> formats? Would that be asking a bit too much (of the kernel)?

Not if we see the buffer as an (2D) array of pages.

> How (im)possible would it be to allocate backing store on demand, on
> page by page basis, on write rather than on binding into address
> space?

I think Chris would be very upset to lose the performance benefit of
pre-faulting the correct pages?

-- 
Damien

  reply	other threads:[~2014-06-25 13:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-28 15:01 [RFC] drm/i915: Add variable gem object size support to i915 arun.siluvery
2014-05-09 21:18 ` Volkin, Bradley D
2014-05-10 13:42   ` Siluvery, Arun
2014-05-12 16:32     ` Volkin, Bradley D
2014-05-12 16:19   ` Daniel Vetter
2014-05-12 17:02 ` Eric Anholt
2014-05-23 14:54   ` Siluvery, Arun
2014-06-25 10:51 ` Damien Lespiau
2014-06-25 11:14   ` Damien Lespiau
2014-06-25 11:46     ` Siluvery, Arun
2014-06-25 12:57       ` Damien Lespiau
2014-06-25 13:26         ` Tvrtko Ursulin
2014-06-25 13:34           ` Damien Lespiau [this message]
2014-07-07  8:34       ` Daniel Vetter
  -- strict thread matches above, loose matches on Subject: below --
2014-04-25 12:48 arun.siluvery

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=20140625133438.GD10084@strange.amr.corp.intel.com \
    --to=damien.lespiau@intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=tvrtko.ursulin@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