From: Eric Anholt <eric@anholt.net>
To: "Segovia, Benjamin" <benjamin.segovia@intel.com>,
"dri-devel@lists.freedesktop.org"
<dri-devel@lists.freedesktop.org>
Subject: Re: Flat address space with gGTT / ppGTT
Date: Tue, 07 Jun 2011 10:13:53 -0700 [thread overview]
Message-ID: <87aadt7eem.fsf@eliezer.anholt.net> (raw)
In-Reply-To: <5812F7DC54903547874AA228AE9C46AB7D895818@orsmsx504.amr.corp.intel.com>
[-- Attachment #1.1: Type: text/plain, Size: 1266 bytes --]
On Mon, 6 Jun 2011 16:23:00 -0700, "Segovia, Benjamin" <benjamin.segovia@intel.com> wrote:
> Hello all,
>
> I saw at some point that per-process GTT (ppGTT) may be (or is
> already) implemented to handle paging. Right now, I am investigating
> some flat space addressing (ab)using surface states. The idea is to
> create a surface state (raw buffer only, this is GPGPU stuff) as big
> enough to cover the entire address space such that I will only
> manipulate offsets as pointers in this surface instead of dealing with
> both offsets and surface IDs (in other words, segmented address
> space).
>
> My concern is relative to the way bo buffers are mapped. Basically, I
> must be sure that _all_ of them are either mapped using ppGTT or
> GTT. Otherwise, this will also bring another form of segmentation. If
> ppGTT is implemented or will be implemented, will there be anyway to
> know how a bo is mapped?
If an exec would be done through PPGTT, it would be something you ask
for as part of the execbuffers call. It won't change out from under
you.
However, we stopped looking into PPGTT because we've been told by hw
people that it's hopelessly broken on all hardware in undocumented ways
(and basically no other details than that).
[-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel
prev parent reply other threads:[~2011-06-07 17:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-06 23:23 Flat address space with gGTT / ppGTT Segovia, Benjamin
2011-06-07 17:13 ` Eric Anholt [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=87aadt7eem.fsf@eliezer.anholt.net \
--to=eric@anholt.net \
--cc=benjamin.segovia@intel.com \
--cc=dri-devel@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