On Tue, 22 Feb 2011 14:55:36 +0800, Zhenyu Wang <zhen...@linux.intel.com> wrote:
> On 2011.02.22 14:51:33 +0800, Xiang, Haihao wrote:
> > > oh, right, I see. You still need subtype as kernel.
> > > 
> > > How about 'MEDIA_PROG'? Or what's the name for your current kernel?
> > 'MEDIA_PROG' is ok for me
> > 
> 
> 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.

Attachment: pgp0SdKk18Iun.pgp
Description: PGP signature

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to