[Intel-gfx] [PATCH] intel: Add AUB file dump support

Xiang, Haihao haihao.xiang at intel.com
Tue Feb 22 07:09:43 CET 2011


On Tue, 2011-02-22 at 13:51 +0800, Zhenyu Wang wrote:
> On 2011.02.22 13:20:46 +0800, Xiang, Haihao wrote:
> > Could you add a entry for media kernel for name_to_type_mapping or just
> > use a common name for all tracked kernels?
> > 
> 
> You mean media kernel requires special trace type?
No. 

> 
> For mesa, kernel names depend on which cache it is from, and
> as far as I know aub has no special requirement for kernel name.
> AubList could decode kernel source with offset specified in pipe
> states.
> 
But I have to use a name specified in name_to_type_mapping when
allocating a GEM BO for a media kernel, or aub doesn't know the trace
type of this BO. Of course, I can also use
'VS_PROG'/'GS_PROG'/'CLIP_PROG'... for a media kernel :(. 






More information about the Intel-gfx mailing list