From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Packard Subject: Re: [PATCH] drm/i915: Fix unfenced alignment on pre-G33 hardware Date: Mon, 18 Jul 2011 09:17:16 -0700 Message-ID: References: <1310200285-17692-1-git-send-email-chris@chris-wilson.co.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1890061095==" Return-path: Received: from keithp.com (home.keithp.com [63.227.221.253]) by gabe.freedesktop.org (Postfix) with ESMTP id EDDD49E754 for ; Mon, 18 Jul 2011 09:17:21 -0700 (PDT) In-Reply-To: <1310200285-17692-1-git-send-email-chris@chris-wilson.co.uk> 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: Chris Wilson , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org --===============1890061095== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Sat, 9 Jul 2011 09:31:25 +0100, Chris Wilson = wrote: > uint32_t > -i915_gem_get_unfenced_gtt_alignment(struct drm_i915_gem_object *obj) > +i915_gem_get_unfenced_gtt_alignment(struct drm_i915_gem_object *obj, > + int tiling_mode) ... > + return i915_gem_get_gtt_size(obj); I think you want to pass the new tiling mode to this function rather than using the object's existing tiling mode. Seems like most of the issues could easily be explained by using the stale value when trying to change tiling modes. =2D-=20 keith.packard@intel.com --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iD8DBQFOJFyMQp8BWwlsTdMRAoEcAKDdlQsVrFpBFhx6A4m+EWbaSYHMGwCg1bWz wyug7gGZT0Zw/XG0CyNdGl4= =znvl -----END PGP SIGNATURE----- --=-=-=-- --===============1890061095== 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 --===============1890061095==--