From: Keith Packard Subject: Re: [PATCH] drm/i915: Fix recursive calls to unmap Date: Sat, 29 Oct 2011 19:51:26 -0700 Message-ID: References: <1319940443-5312-1-git-send-email-ben@bwidawsk.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1720964275==" Return-path: Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id 4DB229ED8A for ; Sat, 29 Oct 2011 19:51:31 -0700 (PDT) In-Reply-To: <1319940443-5312-1-git-send-email-ben@bwidawsk.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: intel-gfx@lists.freedesktop.org Cc: Ben Widawsky List-Id: intel-gfx@lists.freedesktop.org --===============1720964275== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Sat, 29 Oct 2011 19:07:23 -0700, Ben Widawsky wrote: > + /** > + * Flag if GTT ptes shouldn't be modified. > + * > + * This is set when graphics virtual address space > + * should not be changed. It's currently only useful for > + * a workaround which requires that we serialize unmaps. > + */ > + bool freeze_ptes; > + Yucky. yucky. yucky. What I expected was to see an extra argument passed down through the call chain instead of a global variable here. =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIVAwUBTqy7rjYtFsjWk68qAQhNbw//X5/baLqMYWqh9nBDOfuf/8AcfR0+Z7lk 5WCagvU14QGFulMZksbWW0IXvwOOngMI8INsKkRxJNOiEI9l0ypOuapuawcDyDC9 MumVqZEw4QOuYWOHT5EAntRmYPmQ+o+/ZJQX5vRXfS66gWDzShenDxQ9trd9c2Dv qJA3Llh/Tw+Wn2NFLfINupcYsAVSk5JFaQ0whDCGiBhLrS38rW3NvMDJdM2qcQqK wfa4ganS7htN9vw2/kks2qU8PEJYafvPmYOUR2SNwAn77RntSgKzkbP48WIBKsoe t6TgC5Mc6WEDXvRavLNAoLwnsPlA92J7LNYoPVHX7Nen8PHEV2SVnWvgKY3StKXq 9EGOK/YPmR9QXBJt/sTRtxptdtQys7rf7Ly5DAK5lL16aTZZbEE5phecIU4T5oan tZjVJdlL2zV7YKVkk0LMCHGaWrOIHUcKqiGoU9+2szVr0nE1ai8Y7cSD2+RuZje+ ynrlQLYxcnETUYPIWiPsMQ6i+32oDA9tvfaUz09sxgC6DwREKUWGbsPB9qDHnlpe WjcpuW7Mhlnsh9ML8OcKYDdoVSGZuDUFI7QoEaN6erpOW9otiZCvv/UCZSzE8f2q FaftmyT5E4cShL8QGW86wnOHoveZveg5j9gyZx+4rr6PzI/m6epzYEOhhA9Hwm9v /2Htz9rSrDI= =YxV4 -----END PGP SIGNATURE----- --=-=-=-- --===============1720964275== 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 --===============1720964275==--