Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752438AbYJSAih (ORCPT ); Sat, 18 Oct 2008 20:38:37 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751993AbYJSAi1 (ORCPT ); Sat, 18 Oct 2008 20:38:27 -0400 Received: from home.keithp.com ([63.227.221.253]:34719 "EHLO keithp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751981AbYJSAi0 (ORCPT ); Sat, 18 Oct 2008 20:38:26 -0400 Subject: Re: [git pull] drm patches for 2.6.27-rc1 From: Keith Packard To: Ingo Molnar Cc: keithp@keithp.com, Linus Torvalds , Nick Piggin , Dave Airlie , Linux Kernel Mailing List , dri-devel@lists.sf.net, Andrew Morton , Yinghai Lu In-Reply-To: <20081018223214.GA5093@elte.hu> References: <200810181237.49784.nickpiggin@yahoo.com.au> <1224357062.4384.72.camel@koto.keithp.com> <20081018203741.GA23396@elte.hu> <1224366690.4384.89.camel@koto.keithp.com> <20081018223214.GA5093@elte.hu> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-UIGKcW/wCt/q3w5mOILv" Date: Sat, 18 Oct 2008 17:38:11 -0700 Message-Id: <1224376691.4384.105.camel@koto.keithp.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1727 Lines: 54 --=-UIGKcW/wCt/q3w5mOILv Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2008-10-19 at 00:32 +0200, Ingo Molnar wrote: > the _real_ remapping in a graphics aperture happens on the GPU level=20 > anyway, you manage an in-RAM GPU pagetable that just works like an=20 > IOMMU, correct? Yes, a one-level linear MMU which uses BIOS-reserved memory. So, at least for a prototype, on 64-bit we can just use ioremap_wc and hold the mapping while the driver is open? Is there any huge benefit to using the kernel mapping? > so on 32-bit we have the INVLPG TLB overhead and preemption restrictions=20 > - but we knew that. We'd have to allow atomic_kmap() on non-highmem as=20 > well but that's fair. Yes, the non-highmem case is currently in fairly bad shape. > Mind sending patches for this? :-) I've got Venki lined up to do this work for me; once we're happy enough with the API. In particular, the non-highmem 32-bit case seems a bit tricky. Also, does anyone have a better set of names for this stuff? io_reserve_pci_mapping seems fairly ugly to me. --=20 keith.packard@intel.com --=-UIGKcW/wCt/q3w5mOILv Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQBI+oFyQp8BWwlsTdMRApa3AJ46WGzyhjDG2Df5RtJYx1/+UZmQhACgwxZB L907dvlCI7Djkaq/LQdLWMc= =hzzz -----END PGP SIGNATURE----- --=-UIGKcW/wCt/q3w5mOILv-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/