From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Packard Subject: Re: [PATCH 2/2] drm/i915: Disable page-faults around the fast pwrite/pread paths Date: Sun, 10 Jul 2011 13:29:02 -0700 Message-ID: References: <1310200731-18086-1-git-send-email-chris@chris-wilson.co.uk> <1310200731-18086-2-git-send-email-chris@chris-wilson.co.uk> <87ei1ydlfa.fsf@eliezer.anholt.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1990176286==" Return-path: Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id 0F9159E7C0 for ; Sun, 10 Jul 2011 13:29:06 -0700 (PDT) In-Reply-To: <87ei1ydlfa.fsf@eliezer.anholt.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Eric Anholt , Chris Wilson , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1990176286== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Sun, 10 Jul 2011 11:45:29 -0700, Eric Anholt wrote: > That means that I can't give users of GL pointers to GTT mappings for > the buffer mapping API, because then I'd have to check in userland > whether the pointer they give me for other API entrypoints is to a known > GTT mapping before doing a pread into it. And then I imagine cross-API > interactions and shudder. Yeah, it clearly has to work; it's not clear how fast it needs to be. However, if we get the prefaulting stuff fixed, we should still be able to hit the fast path most of the time. =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFOGguOQp8BWwlsTdMRAhF3AKDBzuVsKGhlPacEHK3BC1/ImJfx5gCcDAuY NFfs0Q2AOPz97iUJsG+YK6o= =NUNx -----END PGP SIGNATURE----- --=-=-=-- --===============1990176286== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx --===============1990176286==--