From: Eric Anholt Subject: Re: [PATCH] intel: Add AUB file dump support Date: Tue, 22 Feb 2011 09:33:22 -0800 Message-ID: <87wrksug7x.fsf@pollan.anholt.net> References: <1297836461-31543-1-git-send-email-zhenyuw@linux.intel.com> <1297836461-31543-2-git-send-email-zhenyuw@linux.intel.com> <1298352046.28271.9.camel@xhh-ctg32> <20110222055132.GN22867@zhen-devel.sh.intel.com> <1298354983.28271.24.camel@xhh-ctg32> <20110222062226.GO22867@zhen-devel.sh.intel.com> <1298357493.28271.33.camel@xhh-ctg32> <20110222065536.GP22867@zhen-devel.sh.intel.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0647468024==" Return-path: In-Reply-To: <20110222065536.GP22867@zhen-devel.sh.intel.com> 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: Zhenyu Wang , "Xiang, Haihao" Cc: "intel-gfx@lists.freedesktop.org" , "Liu, Yuanhan" List-Id: intel-gfx@lists.freedesktop.org --===============0647468024== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable On Tue, 22 Feb 2011 14:55:36 +0800, Zhenyu Wang w= rote: > On 2011.02.22 14:51:33 +0800, Xiang, Haihao wrote: > > > oh, right, I see. You still need subtype as kernel. > > >=20 > > > How about 'MEDIA_PROG'? Or what's the name for your current kernel? > > 'MEDIA_PROG' is ok for me > >=20 >=20 > New libdrm patch for aub dump attached. Please help to test. While I originally hacked it up this way where libdrm intuits what kind of buffer it is from the name of the buffer, it's a bad way to design an interface. We should really have a command that marks (an area) of a buffer object as being a particular AUB type, and Mesa would use that command to mark its buffers as appropriate. Particularly since we're moving to streaming more of our state buffers into larger buffer objects. We also can't commit code to Mesa that just writes into some arbitrary file based on an environment variable -- keep in mind that our Mesa driver is loaded from the X Server which is running as root. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1j82IACgkQHUdvYGzw6vcsyACgkFQ5FUIwZF3p7aCKi0D91aiL FUIAnjFgu4ES3ASlK23nw2zrAlzT92EA =nxl7 -----END PGP SIGNATURE----- --=-=-=-- --===============0647468024== 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 --===============0647468024==--